CVE-2023-40572: XWiki Platform - Cross Site Request Forgery
- Cve: CVE-2023-40572
- Name: XWiki Platform - Cross Site Request Forgery
- Description: XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The create action is vulnerable to a CSRF attack, allowing script and thus remote code execution when targeting a user with script/programming right, thus compromising the confidentiality, integrity and availability of the whole XWiki installation. When a user with script right views this image and a log message `ERROR foo - Script executed!` appears in the log, the XWiki installation is vulnerable. This has been patched in XWiki 14.10.9 and 15.4RC1 by requiring a CSRF token for the actual page creation.
- Impact: Attackers can execute scripts, potentially leading to remote code execution and full system compromise.
- Remediation: Update to version 14.10.9 or 15.4RC1, which require a CSRF token for page creation.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: client_script_exec, information_disclosure, data_tampering, denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs a user with script rights to view a malicious image
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00619
- Epss percentile: 0.50389
- Assignee: [email protected]
- Published at: 2023-08-24T02:15:09Z
- Age in days: 1188
- Modified at: 2026-06-17T06:18:31Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-40572
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://jira.xwiki.org/browse/XWIKI-20849 | nvd | 2023-08-24 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7 | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m | Patch, Vendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-20849 | Exploit, Issue Tracking, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xwiki:xwiki | = 15.3, = 15.3 rc1, = 15.2, = 15.2 rc1, = 15.1, = 15.1 rc1, = 15.0, = 15.0 rc1, < 14.10.9 | no | nvd | /v1/products/xwiki/xwiki |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| xwiki/xwiki-platform | commit, fix, package, security_advisory | yes | /v1/repositories/xwiki/xwiki-platform |
Index
- Repositories: 10
- Repositories high signal: 10
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-08-24
- Remote: yes
- Authentication required: yes
- Exposed hosts: 142594
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports