www.darkreading.com Open in urlscan Pro
2606:4700::6812:6f2f  Public Scan

URL: https://www.darkreading.com/vulnerabilities-threats/poc-exploits-heighten-risks-around-critical-new-jenkins-vuln
Submission: On January 31 via api from TR — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Dark Reading is part of the Informa Tech Division of Informa PLC
Informa PLC|ABOUT US|INVESTOR RELATIONS|TALENT
This site is operated by a business or businesses owned by Informa PLC and all
copyright resides with them. Informa PLC's registered office is 5 Howick Place,
London SW1P 1WG. Registered in England and Wales and Scotlan. Number 8860726.

Black Hat NewsOmdia Cybersecurity

Newsletter Sign-Up

Newsletter Sign-Up

Cybersecurity Topics

RELATED TOPICS

 * Application Security
 * Cybersecurity Careers
 * Cloud Security
 * Cyber Risk
 * Cyberattacks & Data Breaches
 * Cybersecurity Analytics
 * Cybersecurity Operations
 * Data Privacy
 * Endpoint Security
 * ICS/OT Security

 * Identity & Access Mgmt Security
 * Insider Threats
 * IoT
 * Mobile Security
 * Perimeter
 * Physical Security
 * Remote Workforce
 * Threat Intelligence
 * Vulnerabilities & Threats


World

RELATED TOPICS

 * DR Global

 * Middle East & Africa

See All
The Edge
DR Technology
Events

RELATED TOPICS

 * Upcoming Events

 * Webinars

SEE ALL
Resources

RELATED TOPICS

 * Library
 * Newsletters
 * Reports
 * Videos
 * Webinars
 * Whitepapers

 * 
 * 
 * 
 * 
 * Partner Perspectives:
 * > Microsoft

SEE ALL


Sponsored By

 * Vulnerabilities & Threats
 * Cyberattacks & Data Breaches
 * Threat Intelligence


POC EXPLOITS HEIGHTEN RISKS AROUND CRITICAL NEW JENKINS VULNPOC EXPLOITS
HEIGHTEN RISKS AROUND CRITICAL NEW JENKINS VULN

The arbitrary file-read flaw can lead to remote code execution.

Jai Vijayan, Contributing Writer

January 29, 2024

4 Min Read
Source: TippaPatt via Shutterstock


Some 45,000 Internet-exposed Jenkins servers remain unpatched against a
critical, recently disclosed arbitrary file-read vulnerability for which
proof-of-exploit code is now publicly available.

CVE-2024-23897 affects the built-in Jenkins command line interface (CLI) and can
lead to remote code execution on affected systems. The Jenkins infrastructure
team disclosed the vulnerability, and released updated version software, on Jan.
24.


PROOF-OF-CONCEPT EXPLOITS

Since then, proof-of-concept (PoC) exploit code has become available for the
flaw and there are some reports of attackers actively attempting to exploit it.
On Jan. 29, the nonprofit ShadowServer organization, which monitors the Internet
for malicious activity, reported observing around 45,000 Internet-exposed
instances of Jenkins that are vulnerable to CVE-2024-23897. Nearly 12,000 of the
vulnerable instances are located in the US; China has almost as many vulnerable
systems, according to ShadowServer data.



Many enterprise software development teams use Jenkins to build, test, and
deploy applications. Jenkins allows organizations to automate repetitive tasks
during software development — such as testing, code quality checks, security
scanning, and deployment — during the software development process. Jenkins is
also often used in continuous integration and continuous deployment
environments.



Developers use the Jenkins CLI to access and manage Jenkins from a script or a
shell environment. CVE-2024-23897 is present in a CLI command parser feature
that is enabled by default on Jenkins versions 2.441 and earlier and Jenkins LTS
2.426.2 and earlier.



"This allows attackers to read arbitrary files on the Jenkins controller file
system using the default character encoding of the Jenkins controller process,"
the Jenkins team said in the Jan. 24 advisory. The flaw allows an attacker with
Overall/Read permission — something that most Jenkins users would require — to
read entire files. An attacker without that permission would still be able to
read the first few lines of files, the Jenkins team said in the advisory.


MULTIPLE VECTORS FOR RCE

The vulnerability also puts at risk binary files containing cryptographic keys
used for various Jenkins features, such as credential storage, artifact signing,
encryption and decryption, and secure communications. In situations where an
attacker might exploit the vulnerability to obtain cryptographic keys from
binary files, multiple attacks are possible, the Jenkins advisory warned. These
include remote code execution (RCE) attacks when the Resource Root URL function
is enabled; RCE via the "Remember me" cookie; RCE through cross-site scripting
attacks; and remote code attacks that bypass cross-site request forgery
protections, the advisory said.



When attackers can access cryptographic keys in binary files via CVE-2024-23897
they can also decrypt secrets stored in Jenkins, delete data, or download a Java
heap dump, the Jenkins team said.

Researchers from SonarSource who discovered the vulnerability and reported it to
the Jenkins team described the vulnerability as allowing even unauthenticated
users to have at least read permission on Jenkins under certain conditions. This
can include having legacy mode authorization enabled, or if the server is
configured to allow anonymous read access, or when the sign-up feature is
enabled.

Yaniv Nizry, the security researcher at Sonar who discovered the vulnerability,
confirms that other researchers have been able to reproduce the flaw and have a
working PoC.



"Since it's possible to exploit the vulnerability unauthenticated, to a certain
extent, it is very easy to discover vulnerable systems," Nizry notes. "Regarding
exploitation, if an attacker is interested in elevating the arbitrary file read
to code execution, it would require some deeper understanding of Jenkins and the
specific instance. The complexity of escalation is dependent on the context."

The new Jenkins versions 2.442 and LTS version 2.426.3 address the
vulnerability. Organizations that cannot immediately upgrade should disable CLI
access to prevent exploitation, the advisory said. "Doing so is strongly
recommended to administrators unable to immediately update to Jenkins 2.442, LTS
2.426.3. Applying this workaround does not require a Jenkins restart."


PATCH NOW

Sarah Jones, cyber-threat intelligence research analyst at Critical Start, says
organizations using Jenkins would do well not to ignore the vulnerability. "The
risks include data theft, system compromise, disrupted pipelines, and the
potential for compromised software releases," Jones says.

One reason for the concern is the fact that DevOps tools such as Jenkins can
often contain critical and sensitive data that developers might bring in from
production environments when building or developing new applications. A case in
point occurred last year when a security researcher found a document containing
1.5 million individuals on the TSA's no-fly list sitting unprotected on a
Jenkins server, belonging to Ohio-based CommuteAir.

"Immediate patching is crucial; upgrading to Jenkins versions 2.442 or later
(non-LTS) or 2.427 or later (LTS) addresses CVE-2024-23897," Jones says. As a
general practice she recommends that development organizations implement a
least-privilege model for limiting access, and also do vulnerability scanning
and continuous monitoring for suspicious activities. Jones adds: "Additionally,
promoting security awareness among developers and administrators strengthens the
overall security posture."





ABOUT THE AUTHOR(S)

Jai Vijayan, Contributing Writer



Jai Vijayan is a seasoned technology reporter with over 20 years of experience
in IT trade journalism. He was most recently a Senior Editor at Computerworld,
where he covered information security and data privacy issues for the
publication. Over the course of his 20-year career at Computerworld, Jai also
covered a variety of other technology topics, including big data, Hadoop,
Internet of Things, e-voting, and data analytics. Prior to Computerworld, Jai
covered technology issues for The Economic Times in Bangalore, India. Jai has a
Master's degree in Statistics and lives in Naperville, Ill.

See more from Jai Vijayan, Contributing Writer
Keep up with the latest cybersecurity threats, newly discovered vulnerabilities,
data breach information, and emerging trends. Delivered daily or weekly right to
your email inbox.

Subscribe

You May Also Like

--------------------------------------------------------------------------------

Vulnerabilities & Threats

AlphaLock' Hacker Organization Launches Pen-Testing Training Group
Vulnerabilities & Threats

Virtual Alarm: VMware Issues Major Security Advisory
Vulnerabilities & Threats

Researchers Develop Exploit Code for Critical Fortinet VPN Bug
Vulnerabilities & Threats

Generative AI Projects Pose Major Cybersecurity Risk to Enterprises
More Insights
Webinars

 * Tips for Managing Cloud Security in a Hybrid Environment
   
   Feb 01, 2024

 * Top Cloud Security Threats Targeting Enterprises
   
   Feb 08, 2024

 * DevSecOps: The Smart Way to Shift Left
   
   Feb 14, 2024

 * Making Sense of Security Operations Data
   
   Feb 21, 2024

 * Your Everywhere Security Guide: 4 Steps to Stop Cyberattacks
   
   Feb 27, 2024

More Webinars
Events

 * Cybersecurity's Hottest New Technologies - Dark Reading March 21 Event
   
   Mar 21, 2024

 * Black Hat Asia - April 16-19 - Learn More
   
   Apr 16, 2024

 * Black Hat Spring Trainings - March 12-15 - Learn More
   
   Mar 12, 2024

 * Cyber Resiliency 2023: How to Keep IT Operations Running, No Matter What
   
   Aug 24, 2023

More Events



EDITOR'S CHOICE

The word CISO against a stylized computer backdrop
Cybersecurity Operations
CISO Corner: Deep Dive Into SecOps, Insurance, & CISOs' Evolving RoleCISO
Corner: Deep Dive Into SecOps, Insurance, & CISOs' Evolving Role
byTara Seals, Managing Editor, News, Dark Reading
Jan 26, 2024
6 Min Read

Microsoft Office 365 on PC screen
Cyberattacks & Data Breaches
Microsoft Shares New Guidance in Wake of 'Midnight Blizzard'
CyberattackMicrosoft Shares New Guidance in Wake of 'Midnight Blizzard'
Cyberattack
byJai Vijayan, Contributing Writer
Jan 26, 2024
4 Min Read
Hand on blue background pressing AI button
Cyber Risk
Researchers Map AI Threat Landscape, RisksResearchers Map AI Threat Landscape,
Risks
byRobert Lemos, Contributing Writer
Jan 24, 2024
5 Min Read

An empty classroom
Vulnerabilities & Threats
New Jersey School District Shut Down by CyberattackNew Jersey School District
Shut Down by Cyberattack
byKristina Beek, Associate Editor, Dark Reading
Jan 29, 2024
1 Min Read
Reports

 * Passwords Are Passe: Next Gen Authentication Addresses Today's Threats

 * The State of Supply Chain Threats

 * How to Deploy Zero Trust for Remote Workforce Security

 * What Ransomware Groups Look for in Enterprise Victims

 * 2021 Digital Transformation Report

More Reports
White Papers

 * Pixelle's OT Security Triumph with Security Inspection

 * IT Zero Trust vs. OT Zero Trust: It's all about Availability

 * The OT Zero Trust Handbook: Implementing the 4 Cornerstones of OT Security

 * Buyer's Guide: Choosing a True DevSecOps Solution for Your Apps on AWS

 * 2023 Software Supply Chain Attack Report

More Whitepapers
Events

 * Cybersecurity's Hottest New Technologies - Dark Reading March 21 Event
   
   Mar 21, 2024

 * Black Hat Asia - April 16-19 - Learn More
   
   Apr 16, 2024

 * Black Hat Spring Trainings - March 12-15 - Learn More
   
   Mar 12, 2024

 * Cyber Resiliency 2023: How to Keep IT Operations Running, No Matter What
   
   Aug 24, 2023

More Events





DISCOVER MORE WITH INFORMA TECH

Black HatOmdia

WORKING WITH US

About UsAdvertiseReprints

JOIN US


Newsletter Sign-Up

FOLLOW US



Copyright © 2024 Informa PLC Informa UK Limited is a company registered in
England and Wales with company number 1072954 whose registered office is 5
Howick Place, London, SW1P 1WG.

Home|Cookie Policy|Privacy|Terms of Use

Cookies Button


ABOUT COOKIES ON THIS SITE

We and our partners use cookies to enhance your website experience, learn how
our site is used, offer personalised features, measure the effectiveness of our
services, and tailor content and ads to your interests while you navigate on the
web or interact with us across devices. You can choose to accept all of these
cookies or only essential cookies. To learn more or manage your preferences,
click “Settings”. For further information about the data we collect from you,
please see our Privacy Policy

Accept All
Settings



COOKIE PREFERENCE CENTER

When you visit any website, it may store or retrieve information on your
browser, mostly in the form of cookies. This information might be about you,
your preferences or your device and is mostly used to make the site work as you
expect it to. The information does not usually directly identify you, but it can
give you a more personalized web experience. Because we respect your right to
privacy, you can choose not to allow some types of cookies. Click on the
different category headings to find out more and change our default settings.
However, blocking some types of cookies may impact your experience of the site
and the services we are able to offer.
More information
Allow All


MANAGE CONSENT PREFERENCES

STRICTLY NECESSARY COOKIES

Always Active

These cookies are necessary for the website to function and cannot be switched
off in our systems. They are usually only set in response to actions made by you
which amount to a request for services, such as setting your privacy
preferences, logging in or filling in forms.    You can set your browser to
block or alert you about these cookies, but some parts of the site will not then
work. These cookies do not store any personally identifiable information.

Cookies Details‎

PERFORMANCE COOKIES

Performance Cookies

These cookies allow us to count visits and traffic sources so we can measure and
improve the performance of our site. They help us to know which pages are the
most and least popular and see how visitors move around the site.    All
information these cookies collect is aggregated and therefore anonymous. If you
do not allow these cookies we will not know when you have visited our site, and
will not be able to monitor its performance.

Cookies Details‎

FUNCTIONAL COOKIES

Functional Cookies

These cookies enable the website to provide enhanced functionality and
personalisation. They may be set by us or by third party providers whose
services we have added to our pages.    If you do not allow these cookies then
some or all of these services may not function properly.

Cookies Details‎

TARGETING COOKIES

Targeting Cookies

These cookies may be set through our site by our advertising partners. They may
be used by those companies to build a profile of your interests and show you
relevant adverts on other sites.    They do not store directly personal
information, but are based on uniquely identifying your browser and internet
device. If you do not allow these cookies, you will experience less targeted
advertising.

Cookies Details‎
Back Button


BACK



Search Icon
Filter Icon

Clear
checkbox label label
Apply Cancel
Consent Leg.Interest
checkbox label label
checkbox label label
checkbox label label

 * 
   
   View Cookies
   
    * Name
      cookie name

Confirm My Choices