Bug 1339250 (CVE-2016-4446)
Summary: | CVE-2016-4446 setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Tomas Hoger <thoger> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | lvrabec, mgrepl, mmalik, plautrba, security-response-team |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | setroubleshoot-plugins 3.2.27.1, setroubleshoot-plugins 3.3.9.1 | Doc Type: | If docs needed, set a value |
Doc Text: |
A shell command injection flaw was found in the way the setroubleshoot allow_execstack plugin executed external commands. A local attacker able to trigger an execstack SELinux denial could use this flaw to execute arbitrary code with root privileges.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-23 10:55:45 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: | 1332411, 1339369, 1339370, 1339372, 1348527 | ||
Bug Blocks: | 1332645 |
Description
Tomas Hoger
2016-05-24 13:17:49 UTC
Acknowledgments: Name: Milos Malik (Red Hat) This issue does not affect the default SELinux configuration, as the execstack is allowed by default for unconfined_t domain. SELinux booleans allow_execstack (on Red Hat Enterprise Linux 6) or selinuxuser_execstack (on Red Hat Enterprise Linux 7) can be set to off to disallow execstack, and hence make it possible to generate execstack AVC, which triggers this bug. The impact of this issue on Red Hat Enterprise Linux 7.2 and later is reduced, as setroubleshootd does not run with root privileges, but with privileges of a dedicated non-root user setroubleshoot. Lifting embargo. Created setroubleshoot-plugins tracking bugs for this issue: Affects: fedora-all [bug 1348527] Upstream commit: https://github.com/fedora-selinux/setroubleshoot/commit/eaccf4c0d20a27d3df5ff6de8c9dcc80f6f40718 This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2016:1267 https://access.redhat.com/errata/RHSA-2016:1267 This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2016:1293 https://access.redhat.com/errata/RHSA-2016:1293 setroubleshoot-plugins-3.3.5.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. setroubleshoot-3.3.9.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. setroubleshoot-3.2.27.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. setroubleshoot-3.3.9.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. setroubleshoot-plugins-3.3.5.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |