CVE-2019-18932
published 2020-01-21CVE-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…
PriorityP431high7CVSS 3.1
AVLACHPRLUINSUCHIHAH
EPSS
0.25%
16.3th percentile
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
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sarg | < sarg 2.4.0-1 (bookworm) | sarg 2.4.0-1 (bookworm) |
| opensuse | backports_sle | — | — |
| opensuse | leap | — | — |
| pedro_lineu_orso | sarg | >= 0 < 2.4.0-1 | 2.4.0-1 |
| pedro_lineu_orso | sarg | >= 0 < 2.4.0-1 | 2.4.0-1 |
| pedro_lineu_orso | sarg | >= 0 < 2.4.0-1 | 2.4.0-1 |
| squid_analysis_report_generator_project | squid_analysis_report_generator | <= 2.3.11 | — |
CVSS provenance
nvdv3.17.0HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.4MEDIUMAV:L/AC:M/Au:N/C:P/I:P/A:P
osv7.0HIGH
vendor_debian7.0LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2019-18932: sarg - log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local priv...
vendor_debian·2019·CVSS 7.0
CVE-2019-18932 [HIGH] CVE-2019-18932: sarg - log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local priv...
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.
Scope: local
bookworm: resolved (fixed in 2.4.0-1)
forky: resolved (fixed in 2.4.0-1)
sid: resolved (fixed in 2.4.0-1)
trixie: resolved (fixed in 2.4.0-1)
GHSA
GHSA-jcx8-j739-fp6q: log
ghsa_unreviewed·2022-05-24
CVE-2019-18932 [HIGH] CWE-269 GHSA-jcx8-j739-fp6q: log
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.
OSV
CVE-2019-18932: log
osv·2020-01-21·CVSS 7.0
CVE-2019-18932 [HIGH] CVE-2019-18932: log
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.htmlhttp://www.openwall.com/lists/oss-security/2020/01/20/6http://www.openwall.com/lists/oss-security/2020/01/20/6http://www.openwall.com/lists/oss-security/2020/01/27/1https://bugzilla.suse.com/show_bug.cgi?id=1150554https://seclists.org/oss-sec/2020/q1/23https://security.gentoo.org/glsa/202007-32https://sourceforge.net/projects/sarg/http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.htmlhttp://www.openwall.com/lists/oss-security/2020/01/20/6http://www.openwall.com/lists/oss-security/2020/01/20/6http://www.openwall.com/lists/oss-security/2020/01/27/1https://bugzilla.suse.com/show_bug.cgi?id=1150554https://seclists.org/oss-sec/2020/q1/23https://security.gentoo.org/glsa/202007-32https://sourceforge.net/projects/sarg/
2020-01-21
Published