CVE-2015-1336
High · 7.8CVSS
7.8
EPSS
1.0%
Published
Sep 28, 2017
CISA due date
—
Cloudanix analysis
A routine system task that updates manual pages can let someone with limited access take over the entire computer.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The daily mandb cleanup job performs chown operations without proper validation or sanitization of target paths, allowing a local user with access to the man account to influence file ownership and escalate privileges on the system.
Why it matters to the business
Compromise of the low-privileged man account can lead to full root-level control of affected Linux systems, enabling attackers to install persistent malware, access sensitive data, or disrupt operations across Ubuntu and Debian environments.
How an attack unfolds
An attacker first obtains access to the man account, then creates or modifies files and directories in locations processed by the mandb cleanup job; when the job executes it performs an insecure chown that transfers ownership of attacker-controlled content to root or another privileged user, completing the escalation.
How to fix it
Upgrade man-db to a patched release that eliminates the insecure chown usage in the cleanup job; restrict the man account to the minimum required permissions and review any custom cron jobs that invoke mandb.
How to confirm the fix worked
Confirm the installed man-db package version is newer than the vulnerable release, inspect the cleanup script for safe path handling before chown, and run the job under a non-privileged test account to verify no unintended ownership changes occur.
Typical attack path
- Obtain local access to the man account via credential theft, misconfiguration, or prior foothold
- Prepare symbolic links or directories that point to sensitive system paths
- Wait for or trigger execution of the daily mandb cleanup cron job
- Leverage resulting ownership changes to execute code or access files as root
How to detect it
Review system logs for mandb or cron job executions that coincide with unexpected chown or ownership events on man-related directories; inspect process creation logs for the man user spawning privileged operations.
- mandb.*chown
- /var/cache/man
- cron.*man-db
What your security team should do
- Prioritize patching man-db across all Ubuntu and Debian systems
- Audit and harden access to the man account and related cron jobs
- Monitor for unexpected file ownership changes on man page cache directories
- Implement least-privilege controls so the man account cannot influence arbitrary paths
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | man-db | 0 | 2.7.6-1 |
| Debian:12 | man-db | 0 | 2.7.6-1 |
| Debian:13 | man-db | 0 | 2.7.6-1 |
| Ubuntu:14.04:LTS | man-db | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | man-db | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | man-db | 0 | 2.7.5-1ubuntu0.1~esm1 |
Related vulnerabilities
- CVE-2026-114574 A security vulnerability has been detected in massCodeIO massCode 5.10. CWE-284
- CVE-2026-83395 Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise… CWE-284
- CVE-2026-112091 A flaw has been found in Dav-ee dairy-management-system… CWE-284
- CVE-2026-106580 ImageMagick is free and open-source software used for editing and manipulating digital… CWE-284
- CVE-2026-61700 MariaDB Connector/J is used to connect applications developed in Java to MariaDB and… CWE-284
- CVE-2026-86812 The WPCafe WordPress plugin before 3.0.18 does not correctly restrict access to a set of… CWE-284
- CVE-2026-85545 There is an Vulnerability in some HikCentral Access Control versions. CWE-284
- CVE-2026-78084 Joomla Extension - joomshaper.com - Missing Access Control in Gallery Image Management in… CWE-284