Skip to content
XXE Advisory Intermediate CVE-2021-21701

Jenkins Performance XML External Entity Processing Information Disclosure Vulnerability

The Jenkins Performance plugin's TaurusParser class improperly restricts XML external entity references, allowing an authenticated attacker to submit a crafted document that causes the parser to fetch a URI and embed its contents into the XML output. This lets the attacker disclose sensitive information in the context of the service account.

Adith Sudhakar Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Jenkins Performance. Authentication is required to exploit this vulnerability.

Adith Sudhakar, on the Zero Day Initiative

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

Impact

An authenticated attacker could disclose sensitive information in the context of the service account.

What the attacker needed

Authentication to Jenkins; Ability to submit XML to the Performance plugin

The fix

Jenkins issued an update to correct this 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.

XML documents can include special instructions called external entities that tell the parser to fetch content from a web address or file. If a program processes XML without disabling these instructions, an attacker can make it read local files or internal services and show the results. Here, a logged-in user could send such a document to the Jenkins Performance plugin and see sensitive data from the server.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More by Adith Sudhakar

View all

2 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.