SB2020050723 - Multiple vulnerabilities in Jenkins Amazon EC2 plugin
Published: May 7, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) Improper Authorization (CVE-ID: CVE-2020-2188)
CWE-ID: CWE-285 - Improper Authorization
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to bypass authorization checks.
The vulnerability exists due to the affected plugin performs improper permission checks when providing a list of applicable credentials IDs to allow users configuring the plugin to select the one to use. A remote authenticated attacker with Overall/Read permission can get a list of valid credentials IDs.
2) Man-in-the-Middle (MitM) attack (CVE-ID: CVE-2020-2187)
CWE-ID: CWE-300 - Channel Accessible by Non-Endpoint ('Man-in-the-Middle')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a man-in-the-middle (MitM) attack.
The vulnerability exists due to the affected plugin unconditionally accepts self-signed HTTPS certificates and does not perform hostname validation when connecting to Windows agents. A remote attacker can perform a man-in-the-middle attack and intercept these connections to build agents.
3) Cross-site request forgery (CVE-ID: CVE-2020-2186)
CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote attacker to perform cross-site request forgery attacks.
The vulnerability exists due to insufficient validation of the HTTP request origin. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.
4) Man-in-the-Middle (MitM) attack (CVE-ID: CVE-2020-2185)
CWE-ID: CWE-300 - Channel Accessible by Non-Endpoint ('Man-in-the-Middle')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a man-in-the-middle (MitM) attack.
The vulnerability exists due to the affected plugin does not use SSH host key validation when connecting to agents. A remote attacker can perform a man-in-the-middle attack and intercept these connections to build agents.
Remediation
Install update from vendor's website.
References
- http://www.openwall.com/lists/oss-security/2020/05/06/3
- https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1844
- https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1528
- https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1408
- https://jenkins.io/security/advisory/2020-05-06/#SECURITY-381