Bug 1233052 (CVE-2015-3246)
Summary: | CVE-2015-3246 libuser: Security flaw in handling /etc/passwd file | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Huzaifa S. Sidhpurwala <huzaifas> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | dgross, dsulliva, fweimer, huzaifas, knoha, ksrot, mitr, security-response-team, szidek, tmraz |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
A flaw was found in the way the libuser library handled the /etc/passwd file. A local attacker could use an application compiled against libuser (for example, userhelper) to manipulate the /etc/passwd file, which could result in a denial of service or possibly allow the attacker to escalate their privileges to root.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-29 07:17:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1235517, 1235518, 1235519, 1235520, 1246225 | ||
Bug Blocks: | 1233055, 1238777 |
Description
Huzaifa S. Sidhpurwala
2015-06-18 07:03:50 UTC
External References: https://access.redhat.com/articles/1537873 This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2015:1482 https://rhn.redhat.com/errata/RHSA-2015-1482.html Created libuser tracking bugs for this issue: Affects: fedora-all [bug 1246225] This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2015:1483 https://rhn.redhat.com/errata/RHSA-2015-1483.html Statement: This issue affects the versions of libuser as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This vulnerability has been rated as having Important security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/. libuser-0.62-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. libuser-0.62-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. Mitigation: Add pam_warn and pam_deny rules to /etc/pam.d/chfn and /etc/pam.d/chsh to prevent non-root users from using this functionality. With these edits, the files should contain: auth sufficient pam_rootok.so auth required pam_warn.so auth required pam_deny.so auth include system-auth account include system-auth password include system-auth session include system-auth After these changes, attempts by unprivileged users to use chfn and chsh (and the respective functionality in the userhelper program) will fail, and will be logged (by default in /var/log/secure). |