Jenkins pom2config XML External Entity Processing Information Disclosure Vulnerability
The Pom2Config class in Jenkins did not properly restrict XML External Entity references, so a crafted document containing a URI caused the XML parser to fetch that URI and embed its contents back into the document. An authenticated attacker could use this to disclose sensitive information in the context of the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Jenkins pom2config. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The XML parser in the Pom2Config class was configured to resolve external entities instead of disabling them.
Impact
An authenticated attacker could disclose sensitive information readable by the service account; the text does not say whether any defence limited the exploit.
What the attacker needed
Authentication to Jenkins
The fix
Jenkins issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Some programs read XML, a text format that can include references to outside files or web addresses. If the program follows those references without checking them, an attacker can make it read a file or address it should not, and the contents end up in the output the attacker sees. Here that let a logged-in user read sensitive data that the Jenkins service account could reach.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.