OpenSUSE Linux update for sudo



Published: 2017-06-27
Risk Low
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2017-1000368
CVE-2017-1000367
CWE-ID CWE-20
CWE-77
Exploitation vector Local
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
Sudo
Client/Desktop applications / Software for system administration

Vendor Sudo

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Privilege escalation

EUVDB-ID: #VU7193

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2017-1000368

CWE-ID: CWE-20 - Improper Input Validation

Exploit availability: No

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists due to improper input validation in the get_process_ttyname() function when parsing tty information from the process status file in the proc files by sudo. A local attacker can supply a specially crafted file to obtain potentially sensitive information or execute arbitrary command with root privileges.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation

Update the affected packages.

Vulnerable software versions

Sudo: 1.7.4 - 1.8.20p1


CPE2.3 External links

http://lists.opensuse.org/opensuse-security-announce/2017-06/msg00034.html

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) Command injection

EUVDB-ID: #VU6846

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2017-1000367

CWE-ID: CWE-77 - Improper Neutralization of Special Elements used in a Command ('Command Injection')

Exploit availability: Yes

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists due to command validation flaw in the get_process_ttyname() function. A local attacker can issue a specially crafted sudo command, cause the system to recognize the user's tty as an arbitrary file and overwrite arbitrary files. Exploitation of the bug is possible in case a malicious user has sudo privileges, the system contains SELinux and sudo has been built on SELinux support.

Successful exploitation of the vulnerability results in root access to the system.

Mitigation

Update the affected packages.

Vulnerable software versions

Sudo: 1.8.6p6 - 1.8.20


CPE2.3 External links

http://lists.opensuse.org/opensuse-security-announce/2017-06/msg00034.html

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###