ID:2224 - Exploit for Improper Check for Dropped Privileges in zsh - CVE-2019-20044

 
Main Vulnerability Database Exploits ID:2224 - Exploit for Improper Check for Dropped Privileges in zsh - CVE-2019-20044

ID:2224 - Exploit for Improper Check for Dropped Privileges in zsh - CVE-2019-20044

Published: March 19, 2020


Vulnerability identifier: #VU26210
Vulnerability risk: Low
CVE-ID: CVE-2019-20044
CWE-ID: CWE-273
Exploitation vector: Local access
Vulnerable software:
zsh

Link to public exploit:


Vulnerability 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.