CVE-2011-1011
The seunshare_mount function in sandbox/seunshare.c in seunshare in certain Red Hat packages of policycoreutils 2.0.83 and earlier in Red Hat Enterprise Linux (RHEL) 6 and earlier, and Fedora 14 and earlier, mounts a new directory on top of /tmp without assigning root ownership and the sticky bit to this new directory, which allows local users to replace or delete arbitrary /tmp files, and consequently cause a denial of service or possibly gain privileges, by running a setuid application that relies on /tmp, as demonstrated by the ksu application.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | policycoreutils | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | policycoreutils | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | policycoreutils | Fix pending | ||
| Red Hat Enterprise Linux 6 | policycoreutils | Fixed | 0:2.0.83-19.8.el6_0 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | policycoreutils-gui | Fixed | 0:2.0.83-19.8.el6_0 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | policycoreutils-newrole | Fixed | 0:2.0.83-19.8.el6_0 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | policycoreutils-python | Fixed | 0:2.0.83-19.8.el6_0 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | policycoreutils-sandbox | Fixed | 0:2.0.83-19.8.el6_0 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | selinux-policy | Fixed | 0:3.7.19-54.el6_0.5 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | selinux-policy-doc | Fixed | 0:3.7.19-54.el6_0.5 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | selinux-policy-minimum | Fixed | 0:3.7.19-54.el6_0.5 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | selinux-policy-mls | Fixed | 0:3.7.19-54.el6_0.5 | RHSA-2011:0414 |
| Red Hat Enterprise Linux 6 | selinux-policy-targeted | Fixed | 0:3.7.19-54.el6_0.5 | RHSA-2011:0414 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056227.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2011-0414.html (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=633544
- http://secunia.com/advisories/44034
- http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0585.html
- http://www.securitytracker.com/id?1025291
- http://pkgs.fedoraproject.org/gitweb/?p=policycoreutils.git%3Ba=blob%3Bf=policycoreutils-rhat.patch%3Bh=d4db5bc06027de23d12a4b3f18fa6f9b1517df27%3Bhb=HEAD#l2197
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65641
- http://secunia.com/advisories/43844
- http://www.vupen.com/english/advisories/2011/0701
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056227.html
- http://www.redhat.com/support/errata/RHSA-2011-0414.html
- http://www.vupen.com/english/advisories/2011/0864
- http://www.securityfocus.com/bid/46510
- http://openwall.com/lists/oss-security/2011/02/23/1
- http://secunia.com/advisories/43415
- http://openwall.com/lists/oss-security/2011/02/23/2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.