Vulnerabilities > CVE-2015-1336 - Improper Access Control vulnerability in Man-Db Project Man-Db
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
The daily mandb cleanup job in Man-db before 2.7.6.1-1 as packaged in Ubuntu and Debian allows local users with access to the man account to gain privileges via vectors involving insecure chown use.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Embedding Scripts within Scripts An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
- Signature Spoofing by Key Theft An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
Exploit-Db
description | Man-db 2.6.7.1 - Privilege Escalation (PoC). CVE-2015-1336. Local exploit for Linux platform |
id | EDB-ID:41158 |
last seen | 2017-01-26 |
modified | 2015-12-02 |
published | 2015-12-02 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/41158/ |
title | Man-db 2.6.7.1 - Privilege Escalation (PoC) |
Nessus
NASL family | Gentoo Local Security Checks |
NASL id | GENTOO_GLSA-201707-12.NASL |
description | The remote host is affected by the vulnerability described in GLSA-201707-12 (MAN DB: Privilege escalation) The /var/cache/man directory as part of the MAN DB package has group permissions set to root. Impact : A local user who does not belong to the root group, but has the ability to modify the /var/cache/man directory can escalate privileges to the group root. Workaround : There is no known workaround at this time. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 101343 |
published | 2017-07-10 |
reporter | This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/101343 |
title | GLSA-201707-12 : MAN DB: Privilege escalation |
Packetstorm
data source | https://packetstormsecurity.com/files/download/140759/mandb-escalate.txt |
id | PACKETSTORM:140759 |
last seen | 2017-01-27 |
published | 2017-01-27 |
reporter | halfdog |
source | https://packetstormsecurity.com/files/140759/Man-db-2.6.7.1-Privilege-Escalation.html |
title | Man-db 2.6.7.1 Privilege Escalation |
References
- https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/1482786
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840357
- http://www.openwall.com/lists/oss-security/2015/12/14/11
- http://www.halfdog.net/Security/2015/MandbSymlinkLocalRootPrivilegeEscalation/
- http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-1336.html
- http://packetstormsecurity.com/files/140759/Man-db-2.6.7.1-Privilege-Escalation.html
- https://security.gentoo.org/glsa/201707-12
- http://www.securityfocus.com/bid/79723