mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-29 01:31:01 +00:00
20 lines
845 B
Markdown
20 lines
845 B
Markdown
### [CVE-2019-20044](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20044)
|
|

|
|

|
|

|
|
|
|
### Description
|
|
|
|
In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- http://seclists.org/fulldisclosure/2020/May/53
|
|
- http://seclists.org/fulldisclosure/2020/May/55
|
|
- http://seclists.org/fulldisclosure/2020/May/59
|
|
|
|
#### Github
|
|
- https://github.com/MRXXII/zsh
|
|
|