Bug 820677 - (CVE-2012-2337) CVE-2012-2337 sudo: Multiple netmask values used in Host / Host_List configuration cause any host to be allowed access
CVE-2012-2337 sudo: Multiple netmask values used in Host / Host_List configur...
Status: CLOSED ERRATA
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=20120516,repor...
: Security
Depends On: 740884 822175 829756 829757 829766
Blocks: 820682
  Show dependency treegraph
 
Reported: 2012-05-10 12:32 EDT by Jan Lieskovsky
Modified: 2012-07-16 12:26 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-07-16 12:26:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Proposed sudo-v1.7.x patch from Todd C.Miller (943 bytes, patch)
2012-05-12 08:57 EDT, Jan Lieskovsky
no flags Details | Diff
Proposed sudo-v1.8.x patch from Todd C.Miller (1.06 KB, patch)
2012-05-12 08:58 EDT, Jan Lieskovsky
no flags Details | Diff

  None (edit)
Description Jan Lieskovsky 2012-05-10 12:32:11 EDT
A security flaw was found in the way sudo granted access for particular host, when multiple netmask values have been used in sudo's Host / Host_List configuration. Such configuration allowed unprivileged users, who were authorized by the sudoers file to run their sudo commands, to run these commands from any host regardless of the Host_List configuration (even from hosts, which were intended according to the Host_List netmask configuration not to allow execution of such commands according to the netmask).
Comment 2 Jan Lieskovsky 2012-05-10 12:35:59 EDT
This issue affects the versions of the sudo package, as shipped with Red Hat Enterprise Linux 5 and 6.

--

This issue affects the versions of the sudo package, as shipped with Fedora release of 15 and 16.
Comment 4 Jan Lieskovsky 2012-05-12 08:57:04 EDT
Created attachment 583996 [details]
Proposed sudo-v1.7.x patch from Todd C.Miller
Comment 5 Jan Lieskovsky 2012-05-12 08:58:34 EDT
Created attachment 583997 [details]
Proposed sudo-v1.8.x patch from Todd C.Miller
Comment 6 Jan Lieskovsky 2012-05-14 12:33:46 EDT
The preliminary embargo date for this issue has been set to Wednesday, 2012-05-16.
Comment 7 Jan Lieskovsky 2012-05-16 10:45:31 EDT
Upstream advisory:
[1] http://www.sudo.ws/sudo/alerts/netmask.html
Comment 8 Jan Lieskovsky 2012-05-16 10:47:23 EDT
Created sudo tracking bugs for this issue

Affects: fedora-all [bug 822175]
Comment 9 Fedora Update System 2012-05-29 06:24:11 EDT
sudo-1.8.3p1-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 22 Fedora Update System 2012-07-12 14:55:52 EDT
sudo-1.8.3p1-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 23 errata-xmlrpc 2012-07-16 11:56:12 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 6

Via RHSA-2012:1081 https://rhn.redhat.com/errata/RHSA-2012-1081.html

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