Risk | Low |
Patch available | YES |
Number of vulnerabilities | 1 |
CVE-ID | CVE-2019-14287 |
CWE-ID | CWE-264 |
Exploitation vector | Local |
Public exploit | Public exploit code for vulnerability #1 is available. |
Vulnerable software |
sudo (Alpine package) Operating systems & Components / Operating system package or component |
Vendor | Alpine Linux Development Team |
Security Bulletin
This security bulletin contains one low risk vulnerability.
EUVDB-ID: #VU21782
Risk: Low
CVSSv4.0: 6.4 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear]
CVE-ID: CVE-2019-14287
CWE-ID:
CWE-264 - Permissions, Privileges, and Access Controls
Exploit availability: Yes
DescriptionThe vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists in the implementation of the "sudo" application when processing commands that are configured to run with ALL keyword. A local user with privileges to use sudo for specific applications on the system can escalate privileges and run the application as root (even if precisely restricted), if user id "-1" or "4294967295" is used.
Example:
The following entry instructs sudo to allow user bob to run "/usr/bin/id" command as any user on the system but root:
myhost bob = (ALL, !root) /usr/bin/id
The following command will allow bob execute the "/usr/bin/id" command as root:
sudo -u#-1 id -uMitigation
Install update from vendor's website.
Vulnerable software versionssudo (Alpine package): 1.8.1p1-r0 - 1.8.27-r2
sudo (Alpine package):
CPE2.3https://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=691af4d751b10236efa6cce5e2866dabfc5047dd
https://git.alpinelinux.org/aports/commit/?id=35cc1de5b1dd6af591cc931b96b045edab5d8525
https://git.alpinelinux.org/aports/commit/?id=87cda3c142a7ab418e7a25d79f226a7470ec3867
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. However, proof of concept for this vulnerability is available.