CVE-2015-1336

HIGH

Man-db <2.7.6.1-1 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2015-1336. PoCs published by halfdog.

AI-analyzed exploit summary This exploit leverages a setgid directory privilege escalation vulnerability (CVE-2015-1336) to escalate from 'man:man' to 'man:root' and then to 'root:root'. It involves creating a setgid binary in /var/cache/man and manipulating file ownership via symlinks during a cronjob execution.

Description

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by halfdog · locallinux
https://www.exploit-db.com/exploits/41158

This exploit leverages a setgid directory privilege escalation vulnerability (CVE-2015-1336) to escalate from 'man:man' to 'man:root' and then to 'root:root'. It involves creating a setgid binary in /var/cache/man and manipulating file ownership via symlinks during a cronjob execution.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (specific versions with vulnerable setgid handling)
Auth required
Prerequisites: Access to a user with 'man' group membership · Cronjob execution of mandb · Presence of writable files owned by root
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840357
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/1482786
Exploit, Third Party Advisory, VDB Entry x_refsource_misc
http://packetstormsecurity.com/files/140759/Man-db-2.6.7.1-Privilege-Escalation.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/79723
Issue Tracking, Third Party Advisory, VDB Entry vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201707-12
Mailing List, Third Party Advisory, VDB Entry mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2015/12/14/11

Scores

CVSS v3 7.8
EPSS 0.0105
EPSS Percentile 59.7%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-284
Status published
Products (1)
man-db_project/man-db < 2.7.6.1
Published Sep 28, 2017
Tracked Since Feb 18, 2026