CVE-2016-4446
published 2017-04-11CVE-2016-4446: The allow_execstack plugin for setroubleshoot allows local users to execute arbitrary commands by triggering an execstack SELinux denial with a crafted…
PriorityP335high7CVSS 3.0
AVLACHPRLUINSUCHIHAH
EPSS
0.47%
37.8th percentile
The allow_execstack plugin for setroubleshoot allows local users to execute arbitrary commands by triggering an execstack SELinux denial with a crafted filename, related to the commands.getoutput function.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_hpc_node | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
| setroubleshoot_project | setroubleshoot | <= - | — |
CVSS provenance
nvdv3.07.0HIGHCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.9MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
vendor_redhat7.0HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin
vendor_redhat·2016-06-21·CVSS 7.0
CVE-2016-4446 [HIGH] CWE-77 setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin
setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin
The allow_execstack plugin for setroubleshoot allows local users to execute arbitrary commands by triggering an execstack SELinux denial with a crafted filename, related to the commands.getoutput function.
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.
Package: setroubleshoot-plugins (Red Hat Enterprise Linux 5) - Not affected
GHSA
GHSA-chj8-3w35-5698: The allow_execstack plugin for setroubleshoot allows local users to execute arbitrary commands by triggering an execstack SELinux denial with a crafte
ghsa_unreviewed·2022-05-17
CVE-2016-4446 [HIGH] CWE-77 GHSA-chj8-3w35-5698: The allow_execstack plugin for setroubleshoot allows local users to execute arbitrary commands by triggering an execstack SELinux denial with a crafte
The allow_execstack plugin for setroubleshoot allows local users to execute arbitrary commands by triggering an execstack SELinux denial with a crafted filename, related to the commands.getoutput function.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-4446 setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin [fedora-all]
bugzilla·2016-06-21·CVSS 7.0
CVE-2016-4446 [HIGH] CVE-2016-4446 setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin [fedora-all]
CVE-2016-4446 setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affe
Bugzilla
CVE-2016-4446 setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin
bugzilla·2016-05-24·CVSS 7.0
CVE-2016-4446 [HIGH] CVE-2016-4446 setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin
CVE-2016-4446 setroubleshoot-plugins: insecure commands.getoutput use in the allow_execstack plugin
It was discovered that the allow_execstack setroubleshoot plugin executes external commands using the commands.getoutput() without properly sanitizing untrusted inputs used as command arguments. These inputs originated from SELinux AVC messages. A local user could use this flaw to execute arbitrary code as root if they could trigger an SELinux execstack denial using a file with a specially crafted name.
The similar problem was reported for allow_execmod plugin too, related to the use of commands.getstatusoutput(), see bug 1339183.
Discussion:
Acknowledgments:
Name: Milos Malik (Red Hat)
---
This issue does not affect the default SELinux configuration, as the execstack is allowed by de
http://seclists.org/oss-sec/2016/q2/575http://www.securityfocus.com/bid/91427http://www.securitytracker.com/id/1036144https://access.redhat.com/errata/RHSA-2016:1293https://bugzilla.redhat.com/show_bug.cgi?id=1339250https://github.com/fedora-selinux/setroubleshoot/commit/eaccf4c0d20a27d3df5ff6de8c9dcc80f6f40718https://rhn.redhat.com/errata/RHSA-2016-1267.htmlhttp://seclists.org/oss-sec/2016/q2/575http://www.securityfocus.com/bid/91427http://www.securitytracker.com/id/1036144https://access.redhat.com/errata/RHSA-2016:1293https://bugzilla.redhat.com/show_bug.cgi?id=1339250https://github.com/fedora-selinux/setroubleshoot/commit/eaccf4c0d20a27d3df5ff6de8c9dcc80f6f40718https://rhn.redhat.com/errata/RHSA-2016-1267.html
2017-04-11
Published