CVE-2019-18276
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.
Risk Information
Base Score
7.8
MODERATE
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
49.613
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| (RHSA-2021:1679) bash security and bug fix update bash-4.4.19-14.el8.x86_64.rpm | Linux |
| (RHSA-2021:1679) bash security and bug fix update bash-debugsource-4.4.19-14.el8.x86_64.rpm | Linux |
| (RHSA-2021:1679) bash security and bug fix update bash-doc-4.4.19-14.el8.x86_64.rpm | Linux |
| (RHSA-2021:1679)Low: security and bug fix update bash-debuginfo-4.4.19-14.el8.x86_64.rpm | Linux |
| GNU Bourne Again SHell (USN-5380-1) bash_5.0-6ubuntu1.2_i386.deb | Linux |
| GNU Bourne Again SHell (USN-5380-1) bash_5.0-6ubuntu1.2_amd64.deb | Linux |
| GNU Bourne Again SHell (USN-5380-1) bash_4.4.18-2ubuntu1.3_i386.deb | Linux |
| GNU Bourne Again SHell (USN-5380-1) bash_4.4.18-2ubuntu1.3_amd64.deb | Linux |
| Bash update (ELSA-2021-1679) bash-4.4.19-14.el8.x86_64.rpm | Linux |
| Bash-doc update (ELSA-2021-1679) bash-doc-4.4.19-14.el8.x86_64.rpm | Linux |
| Improper Check for Dropped Privileges Vulnerability (CVE-2019-18276) | NCM |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234