CVE-2018-1999007
jenkins: HTTP 404 error pages do not escape URLs when Stapler framework used in debug mode, allowing for XSS
Overview
Description
A cross-site scripting vulnerability exists in Jenkins 2.132 and earlier, 2.121.1 and earlier in the Stapler web framework's org/kohsuke/stapler/Stapler.java that allows attackers with the ability to control the existence of some URLs in Jenkins to define JavaScript that would be executed in another user's browser when that other user views HTTP 404 error pages while Stapler debug mode is enabled.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | <2.121.2>=2.122, <2.132 | 2.121.22.132 |
| Maven | org.kohsuke.stapler:stapler-parent | <1.250.1 | 1.250.1 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-1999007
- github.com https://github.com/jenkinsci/jenkins
- github.com https://github.com/jenkinsci/stapler/commit/03e221a81e8424709d1fbdf72ab814309dd8e13f
- jenkins.io https://jenkins.io/security/advisory/2018-07-18/#SECURITY-390
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-1999007
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-1999007
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.