SB2017071734 - Privilege escalation in sudo (Alpine package)
Published: July 17, 2017
Security Bulletin ID
SB2017071734
CSH Severity
Low
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Local access
Highest impact
Code execution
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Privilege escalation (CVE-ID: CVE-2017-1000368)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
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.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=65742d1686905358cb3f4a84098986fee39b760c
- https://git.alpinelinux.org/aports/commit/?id=4eb0cde945abbbc4072723fa88a36001fa50aef8
- https://git.alpinelinux.org/aports/commit/?id=3646eb84251dca32277b87ee540ad7062a909687
- https://git.alpinelinux.org/aports/commit/?id=ccdd2ee2ceb71d10697d939d5c79e49b2d0fbdd5
- https://git.alpinelinux.org/aports/commit/?id=87cda3c142a7ab418e7a25d79f226a7470ec3867
- https://git.alpinelinux.org/aports/commit/?id=e222fa626374a6093899fabfe269fcdb91199ad4