CVE-2018-1999002 in jenkins
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
A arbitrary file read 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 to send crafted HTTP requests returning the contents of any file on the Jenkins master file system that the Jenkins master has access to.
Affected software: jenkins, oracle communications cloud native core automated test suite
Scores
- CVSS: 7.5 (high)
- EPSS: 86.58% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2018-07-23
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update Jenkins to 2.133 or LTS 2.121.2 or later (plugin resource file read)
Patch or upgrade. Jenkins 2.132 and earlier and LTS 2.121.1 and earlier build plugin resource paths from the Accept-Language header, so anyone can read files on the controller. 2.133 and 2.121.2 fix it.
Applies to: Jenkins weekly 2.132 and earlier, LTS 2.121.1 and earlier.
- Check the Jenkins version in the page footer or Manage Jenkins > About.
- Update Jenkins to a current weekly or LTS release (at least 2.133 or 2.121.2).
- Rotate secrets in JENKINS_HOME (credentials, secret.key) if the controller was reachable from untrusted networks.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.