#VU24690 Improper Check for Dropped Privileges in Bash - CVE-2019-18276

 

#VU24690 Improper Check for Dropped Privileges in Bash - CVE-2019-18276

Published: January 28, 2020 / Updated: June 17, 2021


Vulnerability identifier: #VU24690
Vulnerability risk: Low
CVSSv4.0: 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:P/U:Clear
CVE-ID: CVE-2019-18276
CWE-ID: CWE-273
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vulnerable software:
Bash
Software vendor:
GNU

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists in "disable_priv_mode()" function in shell.c due to the affected software attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded. A local user with command execution in the shell can use "enable -f" for runtime loading of a new builtin, which can be a shared object that calls setuid() and therefore regains privileges.


Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

External links