CVE DatabaseCVE-2015-3246
한국어 권고문 →
CVE-2015-32467.4/HIGHCISA KEVCWE-264CWE-367

Red Hat and Linux libuser /etc/passwd Direct Modification Vulnerability (CVE-2015-3246) Advisory

Affected Vendors
redhat, fedoraproject, opensuse
Affected Components
libuser, usermode
Published Date
2015-08-11

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Linux systems utilizing libuser versions before 0.56.13-8 and 0.60 before 0.60-7, specifically via the userhelper utility in the usermode package

Impact

Local attackers can cause a Denial of Service (DoS) by corrupting the /etc/passwd file, or combine this with CVE-2015-3245 to achieve full root privilege escalation

Mitigation

Immediately update the libuser and usermode packages to the latest patched versions using your system package manager

Affected Products & Version Scope

libuser versions prior to 0.56.13-8 and 0.60 prior to 0.60-7 (commonly found in Red Hat Enterprise Linux 6/7, CentOS, Fedora, and openSUSE)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Package Upgrade (Recommended)

Update the libuser and usermode packages to the latest secured versions via your package manager.

For RHEL / CentOS systems:

bash
sudo yum update libuser usermode

For Debian / Ubuntu systems (if applicable):

bash
sudo apt-get update && sudo apt-get install --only-upgrade libuser

2. Temporary Mitigation (If patching is delayed)

If immediate patching is not feasible, mitigate the risk by removing the Setuid bit from the userhelper binary to prevent unprivileged execution. (Note: This may impact some GUI-based user configuration tools.)

bash
# Remove Setuid permission from userhelper
sudo chmod u-s /usr/sbin/userhelper
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
This is a high-severity vulnerability actively exploited in the wild; immediately update libuser to mitigate local privilege escalation risks.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

This vulnerability (CVE-2015-3246) exists in the libuser library, which is used for implementing user and group account administration tasks. The root cause lies in the library directly modifying the /etc/passwd file instead of performing atomic file operations (such as writing to a temporary file and renaming it).

If a local attacker triggers an error or interruption during this direct write operation, the /etc/passwd file can be left in an inconsistent or corrupted state, leading to a system-wide Denial of Service (DoS) where users can no longer log in.

Because the userhelper program in the usermode package runs with Setuid root privileges and utilizes libuser, local unprivileged users can exploit this behavior. When chained with CVE-2015-3245 (an out-of-bounds/validation issue in userhelper), this vulnerability allows local attackers to escalate their privileges to root. Due to its high impact and inclusion in the CISA KEV catalog, immediate remediation is highly recommended.

Official Vendor Advisories & References

SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed: