Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2018-1999002 EUVD-2022-4954GHSA-qf38-f2fr-q4x9

Improper Input Validation in Jenkins

Published Jul 23, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.main:jenkins-core < 2.121.2 2.121.2 GHSA-qf38-f2fr-q4x9
Maven org.jenkins-ci.main:jenkins-core >= 2.122, < 2.132 2.132 GHSA-qf38-f2fr-q4x9

References