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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:squid_analysis_report_generator_project:squid_analysis_report_generator:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*

History

26 Apr 2022, 20:05

Type Values Removed Values Added
CPE cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*
CWE CWE-269 CWE-59
CWE-362
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.html - Third Party Advisory (SUSE) http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.html - Mailing List, Third Party Advisory
References (GENTOO) https://security.gentoo.org/glsa/202007-32 - (GENTOO) https://security.gentoo.org/glsa/202007-32 - Third Party Advisory

Information

Published : 2020-01-21 18:15

Updated : 2024-02-04 20:39


NVD link : CVE-2019-18932

Mitre link : CVE-2019-18932

CVE.ORG link : CVE-2019-18932


JSON object : View

Products Affected

opensuse

  • backports_sle
  • leap

squid_analysis_report_generator_project

  • squid_analysis_report_generator
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CWE-59

Improper Link Resolution Before File Access ('Link Following')