CVE-2023-40572

Source
https://cve.org/CVERecord?id=CVE-2023-40572
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40572.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-40572
Aliases
Published
2023-08-24T01:15:33.272Z
Modified
2026-07-15T02:09:11.486677238Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
XWiki Platform vulnerable to CSRF privilege escalation/RCE via the create action
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40572.json",
    "cwe_ids": [
        "CWE-352"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/xwiki/xwiki-commons

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-commons
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "14.10.9"
        },
        {
            "introduced": "15.0-NA"
        },
        {
            "last_affected": "15.0-NA"
        },
        {
            "introduced": "15.1-NA"
        },
        {
            "last_affected": "15.1-NA"
        },
        {
            "introduced": "15.2-NA"
        },
        {
            "last_affected": "15.2-NA"
        },
        {
            "introduced": "15.3-NA"
        },
        {
            "last_affected": "15.3-NA"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ],
    "cpe": [
        "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:15.2:-:*:*:*:*:*:*",
        "cpe:2.3:a:xwiki:xwiki:15.3:-:*:*:*:*:*:*"
    ]
}
Type
GIT
Repo
https://github.com/xwiki/xwiki-platform
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "3.2-milestone-3"
        },
        {
            "fixed": "14.10.9"
        },
        {
            "introduced": "15.0-rc-1"
        },
        {
            "fixed": "15.4-rc-1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

15.*
15.0-NA
15.1-NA
15.2-NA
15.3-NA
xwiki-commons-14.*
xwiki-commons-14.10
xwiki-commons-14.10.1
xwiki-commons-14.10.2
xwiki-commons-14.10.3
xwiki-commons-14.10.4
xwiki-commons-14.10.5
xwiki-commons-14.10.6
xwiki-commons-14.10.7
xwiki-commons-14.10.8
xwiki-commons-15.*
xwiki-commons-15.3
xwiki-commons-15.3-rc-1
xwiki-commons-8.*
xwiki-commons-8.0-milestone-1
xwiki-commons-8.0-milestone-2
xwiki-commons-8.1-milestone-1
xwiki-commons-8.1-milestone-2
xwiki-commons-8.2-milestone-1
xwiki-commons-8.2-milestone-2
xwiki-commons-8.3-milestone-1
xwiki-commons-8.3-milestone-2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40572.json"