Skip to content
OpenAdvisories
Unscored Public exploit CVE-2015-3245 EUVD-2015-3300GHSA-q4h8-6f3r-mvww

Incomplete blacklist vulnerability in the chfn function in libuser before 0.56.13-8 and 0.60 before 0.60-7, as used in the userhelper progr…

Published Aug 11, 2015 · Updated Aug 6, 2024 · Assigned by redhat

Description

Incomplete blacklist vulnerability in the chfn function in libuser before 0.56.13-8 and 0.60 before 0.60-7, as used in the userhelper program in the usermode package, allows local users to cause a denial of service (/etc/passwd corruption) via a newline character in the GECOS field.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libuser 1:0.62~dfsg-0.1 —
Debian 13 libuser 1:0.62~dfsg-0.1 —
Debian 12 libuser 1:0.62~dfsg-0.1 —
Debian 7 libuser 1:0.56.9.dfsg.1-1.2+deb7u1 DLA-468-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 libuser No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libuser 1:0.60~dfsg-1.2ubuntu0.1~esm1 USN-8987-1
Ubuntu Pro 14.04 LTS libuser 1:0.56.9.dfsg.1-1.2ubuntu2+esm1 —
ReleasePackageFixed inAdvisory
RHEL 7 libuser +2 0.60-7.ael7b_1 RHSA-2015:1483
RHEL 6 libuser +2 0.56.13-8.el6_7 RHSA-2015:1482

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 libuser +2 0.60-7.el7_1 ELSA-2015-1483

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 5

References