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 directo...
HighCVSS 7.0
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/sarg(Debian:12) | < 2.4.0-1 | 2.4.0-1 |
| debian/sarg(Debian:13) | < 2.4.0-1 | 2.4.0-1 |
| debian/sarg(Debian:14) | < 2.4.0-1 | 2.4.0-1 |
| squid analysis report generator project squid analysis report generator | <= 2.3.11 | No fix listed |
| openSUSE backports sle | = 15.0-sp1 | No fix listed |
| openSUSE leap | = 15.1 | No fix listed |
References
- Debian Security Tracker CVE-2019-18932 vendor-advisory
- openSUSE-SU-2020:0117 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2020:0140 mailing-list third-party-advisory vendor-advisory
- [oss-security] 20200120 CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector 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 third-party-advisory
- bugzilla.suse.com issue-tracking third-party-advisory
- [oss-security] CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector mailing-list third-party-advisory
- GLSA-202007-32 third-party-advisory vendor-advisory
- sourceforge.net third-party-advisory
- bugs.debian.org issue-tracking