CVE-2025-55749
Java vulnerability analysis and mitigation

Overview

CVE-2025-55749 is an improper access control vulnerability in the XWiki Jetty package (XJetty) that allows unauthenticated remote attackers to read any file within the webapp/ directory, including sensitive configuration files containing credentials. It affects XWiki Platform versions 16.7.0 through 16.10.10, 17.0.0 through 17.4.3, and 17.5.0 through 17.6.x. The vulnerability was disclosed on December 1, 2025, and was reported by Joseph Huber. It carries a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 8.7 (High) (GitHub Advisory).

Technical details

The root cause is a misconfiguration in the start_xwiki.sh startup script for the XJetty package, classified as CWE-284 (Improper Access Control). When JETTY_BASE was set to a relative path (.), Jetty exposed a static file-serving context that allowed direct URL-based access to any file under the webapp/ directory, bypassing intended access restrictions. This means an unauthenticated attacker can craft a simple HTTP GET request to retrieve sensitive files such as WEB-INF/xwiki.cfg, WEB-INF/xwiki.properties, or WEB-INF/hibernate.cfg.xml — files that typically contain database credentials and other secrets. No authentication, user interaction, or special preconditions are required beyond network access to the XWiki instance (GitHub Advisory, Patch Commit).

Impact

Successful exploitation results in a high confidentiality impact, exposing sensitive configuration files that may contain database credentials (via hibernate.cfg.xml), application secrets, and internal system configuration details (via xwiki.cfg and xwiki.properties). An attacker who obtains database credentials could pivot to the backend database, potentially enabling data exfiltration, privilege escalation within the XWiki application, or lateral movement to other systems. There is no direct integrity or availability impact from this vulnerability itself, but credential exposure significantly elevates the risk of further compromise (GitHub Advisory).

Exploitability

No public proof-of-concept exploit code has been observed, and there is no evidence of in-the-wild exploitation at this time (GitHub Advisory). The vulnerability is trivially exploitable — it requires only a crafted HTTP GET request with no authentication — making it highly accessible to low-skilled attackers once the affected version is identified. The EPSS score is approximately 0.04%, indicating currently low predicted exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Notably, Nuclei templates for automated detection of this vulnerability have been added to the ProjectDiscovery nuclei-templates repository, increasing the likelihood of opportunistic scanning.

Exploitation steps

  1. Reconnaissance: Identify internet-facing XWiki instances using the XJetty (XWiki Jetty) package via Shodan, Censys, or similar tools. Confirm the version falls within the affected range (16.7.0–16.10.10, 17.0.0–17.4.3, or 17.5.0–17.6.x).
  2. Probe for file access: Send an unauthenticated HTTP GET request directly to the target host for a known sensitive file path, e.g.:
    GET /webapps/xwiki/WEB-INF/xwiki.cfg HTTP/1.1
    Host: <target>
  3. Retrieve credential files: If the instance is vulnerable, the server returns the file contents. Repeat for additional targets such as:
    • /webapps/xwiki/WEB-INF/xwiki.properties
    • /webapps/xwiki/WEB-INF/hibernate.cfg.xml
  4. Extract credentials: Parse the returned configuration files for database connection strings, usernames, passwords, and other secrets contained within.
  5. Leverage credentials: Use extracted database credentials to connect directly to the backend database, or use application credentials to authenticate to the XWiki instance with elevated privileges for further access (GitHub Advisory).

Indicators of compromise

  • Network: Unusual HTTP GET requests to paths matching /webapps/xwiki/WEB-INF/*.cfg or /webapps/xwiki/WEB-INF/*.xml from external or unexpected IP addresses; automated scanning patterns with rapid sequential requests to multiple WEB-INF file paths.
  • Logs: Web server access logs showing 200 OK responses to requests for WEB-INF/xwiki.cfg, WEB-INF/xwiki.properties, or WEB-INF/hibernate.cfg.xml; repeated access attempts to configuration files from a single source IP.
  • File System: No direct file system artifacts from exploitation (read-only access), but review for signs of subsequent unauthorized database access or new admin accounts created in XWiki following credential exposure.

Mitigation and workarounds

XWiki has released patched versions 16.10.11, 17.4.4, and 17.7.0 that resolve this vulnerability by correcting the JETTY_BASE path resolution in start_xwiki.sh to use an absolute path instead of a relative one (GitHub Advisory). For organizations unable to upgrade immediately, the official workaround is to manually modify the start_xwiki.sh script following the changes in commits 42fb063 and 99a04a0. Additionally, organizations should implement network-level controls to restrict external access to the XWiki instance, audit and rotate any credentials that may have been exposed in xwiki.cfg, xwiki.properties, and hibernate.cfg.xml, and consider deploying a WAF rule to block requests targeting WEB-INF paths.

Community reactions

The vulnerability was reported by security researcher Joseph Huber and disclosed by XWiki maintainer tmortagne via GitHub Security Advisories on December 1, 2025 (GitHub Advisory). Community interest was reflected by the addition of Nuclei detection templates to the ProjectDiscovery nuclei-templates repository, indicating active interest from the security scanning community. Social media activity on Bluesky noted the vulnerability, though overall community reaction has been moderate given the absence of public exploits.

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-53752HIGH7.5
  • Java logoJava
  • org.docx4j:docx4j-core
NoYesSep 14, 2026
CVE-2026-53659HIGH7.5
  • Java logoJava
  • org.http4k:http4k-core
NoYesSep 14, 2026
CVE-2026-73494HIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_2.13
NoYesSep 14, 2026
CVE-2026-55846MEDIUM6.2
  • Java logoJava
  • io.qameta.allure:allure-commandline
NoYesSep 14, 2026
CVE-2026-55847MEDIUM6.1
  • Java logoJava
  • io.qameta.allure:allure-generator
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management