#VU26210 Improper Check for Dropped Privileges in zsh - CVE-2019-20044

 

#VU26210 Improper Check for Dropped Privileges in zsh - CVE-2019-20044

Published: March 19, 2020


Vulnerability identifier: #VU26210
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-20044
CWE-ID: CWE-273
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vulnerable software:
zsh
Software vendor:
SourceForge

Description

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

The vulnerability exists due to Zsh fails to overwrite the saved uid, so the original privileges, dropped by the --no-PRIVILEGED option, can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid(). A local user can execute arbitrary commands on the system with elevated privileges.


Remediation

Install updates from vendor's website.

External links