Bug 1468427 - (CVE-2017-1000082) CVE-2017-1000082 systemd: fails to parse usernames that start with digits
CVE-2017-1000082 systemd: fails to parse usernames that start with digits
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170707,repor...
: Security
Depends On: 1468430
Blocks: 1467225
  Show dependency treegraph
 
Reported: 2017-07-07 00:30 EDT by Doran Moppert
Modified: 2017-07-11 06:13 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-07 00:53:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Doran Moppert 2017-07-07 00:30:28 EDT
Systemd version 323 rejects usernames starting with a digit (eg "0day"),
running the service with root privileges even though a corresponding user
exists.

Upstream bug:

https://github.com/systemd/systemd/issues/6237

oss-sec discussion:

http://www.openwall.com/lists/oss-security/2017/07/02/1
Comment 1 Doran Moppert 2017-07-07 00:40:47 EDT
This issue seems to have been introduced since systemd-229.  Neither EL7 nor Fedora 24 is affected - not sure about 231/233.

For an attacker to exploit this they would need to influence the creation of a user and associated unit file on the system.
Comment 2 Doran Moppert 2017-07-07 00:52:25 EDT
Created systemd tracking bugs for this issue:

Affects: fedora-all [bug 1468430]
Comment 3 Doran Moppert 2017-07-10 02:45:23 EDT
Statement:

For more information on the impact of numeric usernames in Red Hat Enterprise Linux, please see https://access.redhat.com/solutions/3103631

Note You need to log in before you can comment on or make changes to this bug.