Ubuntu update for Sudo



| Updated: 2024-02-27
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 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Permissions, Privileges, and Access Controls

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

Description

The 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 -u

Mitigation

Update the affected packages.

Ubuntu 19.04
sudo - 1.8.27-1ubuntu1.1
sudo-ldap - 1.8.27-1ubuntu1.1
Ubuntu 18.04 LTS
sudo - 1.8.21p2-3ubuntu1.1
sudo-ldap - 1.8.21p2-3ubuntu1.1
Ubuntu 16.04 LTS
sudo - 1.8.16-0ubuntu1.8
sudo-ldap - 1.8.16-0ubuntu1.8
Ubuntu 14.04 ESM
sudo - 1.8.9p5-1ubuntu1.5+esm2
sudo-ldap - 1.8.9p5-1ubuntu1.5+esm2
Ubuntu 12.04 ESM
sudo - 1.8.3p1-1ubuntu3.8
sudo-ldap - 1.8.3p1-1ubuntu3.8

Vulnerable software versions

sudo (Ubuntu package): 1.8.16-0ubuntu1.1 - 1.8.27-1

CPE2.3 External links

https://usn.ubuntu.com/4154-1/


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.



###SIDEBAR###