CVE-2019-12522

An issue was discovered in Squid through 4.7. When Squid is run as root, it spawns its child processes as a lesser user, by default the user nobody. This is done via the leave_suid call. leave_suid leaves the Saved UID as 0. This makes it trivial for an attacker who has compromised the child process to escalate their privileges back to root.
Configurations

Configuration 1 (hide)

cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:23

Type Values Removed Values Added
References () https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt - Third Party Advisory () https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt - Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20210205-0006/ - Third Party Advisory () https://security.netapp.com/advisory/ntap-20210205-0006/ - Third Party Advisory

Information

Published : 2020-04-15 19:15

Updated : 2024-11-21 04:23


NVD link : CVE-2019-12522

Mitre link : CVE-2019-12522

CVE.ORG link : CVE-2019-12522


JSON object : View

Products Affected

squid-cache

  • squid
CWE
CWE-269

Improper Privilege Management