Vulnerability in Squid Analysis Report Generator Project
CVE-2019-18932
log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation. By default, it uses a fixed temporary directory /tmp/sarg. As the root user, sarg creates this directory or reuses an existing one in an insecure manner. An attacker can pre-create the directory, and place symlinks in it (after winning a /tmp/sarg/denied.int_unsort race condition). The outcome will be corrupted or newly created files in privileged file system locations.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 16.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Squid Analysis Report Generator Project
- openSUSE Backports Sle — versions 15.0
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
References
- bugzilla.suse.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- sourceforge.net/projects/sarg/ (Third Party Advisory)
- [oss-security] 20200120 CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20200127 Re: CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector (mailing-list, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:0117 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:0140 (vendor-advisory, Mailing List, Third Party Advisory)
- GLSA-202007-32 (vendor-advisory, Third Party Advisory)