CVE-2019-10337 Improper Restriction of XML External Entity Reference Jenkins Token Macro Plugin
Attackers can exploit an XML External Entity vulnerability in the Jenkins Token Macro Plugin to extract secrets, cause SSRF, or trigger denial-of-service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-10337?
CVE-2019-10337 is a high-severity vulnerability in Jenkins Token Macro Plugin, published on 11 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An XML external entities (XXE) vulnerability in Jenkins Token Macro Plugin 2.7 and earlier allowed attackers able to control a the content of the input file for the "XML" macro to have Jenkins resolve external entities, resulting in the extraction of secrets from the Jenkins agent, server-side request forgery, or denial-of-service attacks.
Weakness: CWE-611
Which versions are affected by CVE-2019-10337?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:token-macro. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:token-macro Maven | All versions | 2.8 |
org.jenkins-ci.plugins:token-macro Maven | All versions | 2.8 |
Products include Jenkins Token Macro.
How do I fix CVE-2019-10337?
Upgrade org.jenkins-ci.plugins:token-macro to 2.8 or later.
Is CVE-2019-10337 being exploited?
There is no known exploitation of CVE-2019-10337 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Token Macro Plugin
Sources
Also known as GHSA-g6h2-4x64-c59x.