id: CVE-2023-1719 info: name: Bitrix Component - Cross-Site Scripting author: DhiyaneshDk severity: critical description: | Global variable extraction in bitrix/modules/main/tools.php in Bitrix24 22.0.300 allows unauthenticated remote attackers to (1) enumerate attachments on the server and (2) execute arbitrary JavaScript code in the victim’s browser, and possibly execute arbitrary PHP code on the server if the victim has administrator privilege, via overwriting uninitialised variables. reference: - https://starlabs.sg/advisories/23/23-1719/ - https://nvd.nist.gov/vuln/detail/CVE-2023-1719 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2023-1719 cwe-id: CWE-665 epss-score: 0.02807 epss-percentile: 0.89587 cpe: cpe:2.3:a:bitrix24:bitrix24:22.0.300:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: bitrix24 product: bitrix24 shodan-query: html:"/bitrix/" tags: cve2023,cve,bitrix,xss,bitrix24 http: - method: GET path: - "{{BaseURL}}/bitrix/components/bitrix/socialnetwork.events_dyn/get_message_2.php?log_cnt=" matchers-condition: and matchers: - type: word part: body words: - "'LOG_CNT':" - "" condition: and - type: word part: header words: - text/html - type: status status: - 200 # digest: 4a0a00473045022018dcc8bec6d27c60fd722a56d8310ee01380c42efde6680eba35b5dfca48aae2022100e10f49c69f6c593d4b4f33a6945c7f89ec821577f7842e716a4bceebf216cc8b:922c64590222798bb761d5b6d8e72950