CVE-2013-0158: Low severity jenkins vulnerability

Published Jan 7, 2013
·
Updated

It was reported [1] that Jenkins suffers from a vulnerability that allows an attacker with HTTP access to the server to retrieve the master cryptographic keys used by Jenkins to encrypt sensitive data in configuration files under $JENKINSHOME, in HTML forms, the authenticate REST API access from users, and authenticating slaves connecting to the master. An attacker with this key could execute arbitrary code on the Jenkins master or impersonate arbitrary users via REST API calls.

This can be somewhat mitigated, depending on certain installations:

- this is only applicable on Jenkins instances that have slaves attached to them, and allow anonymous read access - regenerated API tokens, with a user can regenerate, cannot be impersonated by the attacker

This is fixed upstream in version 1.498 and the LTS 1.480.2 version.

In git, the fix seems to be spread across a few commits

[1] https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2013-01-04

In git, the fix seems to be spread across a few commits (those prefixed with [SECURITY-49]):

https://github.com/jenkinsci/jenkins/commit/a9aff088f327278a8873aef47fa8f80d3c5932fd https://github.com/jenkinsci/jenkins/commit/4895eaafca468b7f0f1a3166b2fca7414f0d5da5 https://github.com/jenkinsci/jenkins/commit/c3d8e05a1b3d58b6c4dcff97394cb3a79608b4b2 https://github.com/jenkinsci/jenkins/commit/3dc13b957b14cec649036e8dd517f0f9cb21fb04 https://github.com/jenkinsci/jenkins/commit/94a8789b699132dd706021a6be1b78bc47f19602

Other sources

Unspecified vulnerability in Jenkins before 1.498, Jenkins LTS before 1.480.2, and Jenkins Enterprise 1.447.x before 1.447.6.1 and 1.466.x before 1.466.12.1, when a slave is attached and anonymous read access is enabled, allows remote attackers to obtain the master cryptographic key via unknown vectors.

GitHub

Affected Software

62 affected componentsFixes available
maven/org.jenkins-ci.main:jenkins-core<1.480.2
1.480.2
maven/org.jenkins-ci.main:jenkins-core>=1.481<1.498
1.498
cloudbees Jenkins<=1.480.3.1
Jenkins Jenkins=1.400
Jenkins Jenkins=1.401
Jenkins Jenkins=1.402
Jenkins Jenkins=1.403
Jenkins Jenkins=1.404
Jenkins Jenkins=1.405
Jenkins Jenkins=1.406
Jenkins Jenkins=1.407
Jenkins Jenkins=1.408
Jenkins Jenkins=1.409
Jenkins Jenkins=1.410
Jenkins Jenkins=1.411
Jenkins Jenkins=1.412
Jenkins Jenkins=1.413
Jenkins Jenkins=1.414
Jenkins Jenkins=1.415
Jenkins Jenkins=1.416
Jenkins Jenkins=1.417
Jenkins Jenkins=1.418
Jenkins Jenkins=1.419
Jenkins Jenkins=1.420
Jenkins Jenkins=1.421
Jenkins Jenkins=1.422
Jenkins Jenkins=1.423
Jenkins Jenkins=1.424
Jenkins Jenkins=1.425
Jenkins Jenkins=1.426
Jenkins Jenkins=1.427
Jenkins Jenkins=1.428
Jenkins Jenkins=1.429
Jenkins Jenkins=1.430
Jenkins Jenkins=1.431
Jenkins Jenkins=1.432
Jenkins Jenkins=1.433
Jenkins Jenkins=1.434
Jenkins Jenkins=1.435
Jenkins Jenkins=1.436
Jenkins Jenkins=1.437
cloudbees Jenkins=1.466.1.2
cloudbees Jenkins=1.466.2.1
cloudbees Jenkins=1.400
cloudbees Jenkins=1.424
cloudbees Jenkins=1.447
Jenkins Jenkins<=1.466.2
Jenkins Jenkins=1.409.1
Jenkins Jenkins=1.409.2
Jenkins Jenkins=1.409.3
Jenkins Jenkins=1.424.1
Jenkins Jenkins=1.424.2
Jenkins Jenkins=1.424.3
Jenkins Jenkins=1.424.4
Jenkins Jenkins=1.424.5
Jenkins Jenkins=1.424.6
Jenkins Jenkins=1.447.1
Jenkins Jenkins=1.447.2
Jenkins Jenkins=1.466.1
cloudbees Jenkins=1.447.1.1
cloudbees Jenkins=1.447.2.2
cloudbees Jenkins=1.447.3.1

Event History

Jan 7, 2013
Data Sourced
via Red Hat·09:23 PM
DescriptionSeverityAffected Software
Feb 24, 2013
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
May 5, 2022
Advisory Published
via GitHub·02:48 AM

Frequently Asked Questions

1

What is the severity of CVE-2013-0158?

CVE-2013-0158 has a severity rating that can vary but is generally considered a high-risk vulnerability due to the exposure of master cryptographic keys.

2

How do I fix CVE-2013-0158?

To fix CVE-2013-0158, upgrade Jenkins to version 1.480.2 or later, or to version 1.498 if you have version 1.481 or newer.

3

What types of systems are affected by CVE-2013-0158?

CVE-2013-0158 affects multiple versions of Jenkins and Cloudbees Jenkins, specifically versions prior to 1.480.2.

4

How can an attacker exploit CVE-2013-0158?

An attacker can exploit CVE-2013-0158 by gaining HTTP access to the Jenkins server, allowing them to retrieve sensitive master cryptographic keys.

5

What data is compromised in CVE-2013-0158?

CVE-2013-0158 compromises the master cryptographic keys used by Jenkins to encrypt sensitive data in configuration files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203