HIGH · 7.8

CVE-2019-18276

An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by settin...

Vulnerability Description

An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and other systems that support "saved UID" functionality, the saved UID is not dropped. An attacker 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. However, binaries running with an effective UID of 0 are unaffected.

CVSS Score

7.8

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
GnuBash<= 5.0
NetappHci Management Node-
NetappOncommand Unified Manager>= 9.5
NetappSolidfire-
OracleCommunications Cloud Native Core Policy1.14.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2019-18276?

CVE-2019-18276 is a vulnerability with a CVSS score of 7.8 (HIGH). An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by settin...

How severe is CVE-2019-18276?

CVE-2019-18276 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2019-18276?

Check the references section above for vendor advisories and patch information. Affected products include: Gnu Bash, Netapp Hci Management Node, Netapp Oncommand Unified Manager, Netapp Solidfire, Oracle Communications Cloud Native Core Policy.