SB2012100501 - Multiple vulnerabilities in Monkey
Published: October 5, 2012 Updated: August 11, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2012-4442)
CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
Monkey HTTP Daemon 0.9.3 retains the supplementary group IDs of the root account during operations with a non-root effective UID, which might allow local users to bypass intended file-read restrictions by leveraging a race condition in a file-permission check.
2) Link following (CVE-ID: CVE-2012-5303)
CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
Monkey HTTP Daemon 0.9.3 might allow local users to overwrite arbitrary files via a symlink attack on a PID file, as demonstrated by a pathname different from the default /var/run/monkey.pid pathname.
3) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2012-4443)
CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
Monkey HTTP Daemon 0.9.3 uses a real UID of root and a real GID of root during execution of CGI scripts, which might allow local users to gain privileges by leveraging cgi-bin write access.
Remediation
Install update from vendor's website.
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688007
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688879
- http://www.openwall.com/lists/oss-security/2012/09/21/3
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672425
- http://www.securityfocus.com/bid/55905
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688008
- http://www.openwall.com/lists/oss-security/2012/09/21/10