SB2021011418 - Multiple vulnerabilities in Jenkins and Jenkins LTS
Published: January 14, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 10 secuirty vulnerabilities.
1) Stored cross-site scripting (CVE-ID: CVE-2021-21608)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in button labels. A remote authenticated attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
2) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2021-21609)
The vulnerability allows a remote attacker to gain access to sensitive information on the system.
The vulnerability exists due to a missing permission check for paths with specific prefix. A remote attacker can access plugin-provided URLs.
3) Buffer overflow (CVE-ID: CVE-2021-21607)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to the affected software does not limit the graph size provided as query parameters. A remote authenticated attacker can trigger memory corruption and cause a denial of service condition on the target system.
4) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2021-21606)
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to arbitrary file existence check in file fingerprints. A remote authenticated attacker can check for the existence of XML files on the controller file system where the relative path can be constructed as 32 characters.
5) Path traversal (CVE-ID: CVE-2021-21605)
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in agent names. A remote authenticated attacker can choose agent names that cause Jenkins to override unrelated "config.xml" files.
6) Information disclosure (CVE-ID: CVE-2021-21602)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to excessive data output by the application in workspace browsers. A remote authenticated attacker can create symbolic links that allow them to access files outside workspaces using the workspace browser.
7) XML injection (CVE-ID: CVE-2021-21604)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper handling of REST API XML deserialization errors. A remote authenticated attacker can pass specially crafted XML data to the application and perform arbitrary actions on the system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
8) Stored cross-site scripting (CVE-ID: CVE-2021-21611)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data on new item page. A remote authenticated attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
9) Cross-site scripting (CVE-ID: CVE-2021-21610)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in markup formatter preview. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
10) Cross-site scripting (CVE-ID: CVE-2021-21603)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in notification bar. A remote authenticated attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Remediation
Install update from vendor's website.
References
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2035
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2047
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2025
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2023
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2021
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-1452
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-1923
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2171
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2153
- https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-1889