CVE-2019-18932

high

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.

References

https://sourceforge.net/projects/sarg/

https://security.gentoo.org/glsa/202007-32

https://seclists.org/oss-sec/2020/q1/23

https://bugzilla.suse.com/show_bug.cgi?id=1150554

http://www.openwall.com/lists/oss-security/2020/01/27/1

http://www.openwall.com/lists/oss-security/2020/01/20/6

http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.html

http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.html

Details

Source: Mitre, NVD

Published: 2020-01-21

Updated: 2022-04-26

Risk Information

CVSS v2

Base Score: 4.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High