Permissions, Privileges, and Access Controls in Sudo



Published: 2012-05-18 | Updated: 2020-07-28
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-2337
CWE-ID CWE-264
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
Sudo
Client/Desktop applications / Software for system administration

Vendor Sudo

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU32797

Risk: Low

CVSSv3.1: 7.3 [CVSS:3.1/CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2012-2337

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a local non-authenticated attacker to execute arbitrary code.

sudo 1.6.x and 1.7.x before 1.7.9p1, and 1.8.x before 1.8.4p5, does not properly support configurations that use a netmask syntax, which allows local users to bypass intended command restrictions in opportunistic circumstances by executing a command on a host that has an IPv4 address.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Sudo: 1.7.0 - 1.8.4p4

External links

http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081432.html
http://secunia.com/advisories/49219
http://secunia.com/advisories/49244
http://secunia.com/advisories/49291
http://secunia.com/advisories/49948
http://www.debian.org/security/2012/dsa-2478
http://www.mandriva.com/security/advisories?name=MDVSA-2012:079
http://www.securitytracker.com/id?1027077
http://www.sudo.ws/sudo/alerts/netmask.html
http://bugzilla.redhat.com/show_bug.cgi?id=820677
http://www.suse.com/security/cve/CVE-2012-2337/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###