Vulnerability Name:

CVE-2019-18932 (CCN-174812)

Assigned:2019-11-13
Published:2020-01-20
Updated:2022-04-26
Summary: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.
CVSS v3 Severity:7.0 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.2 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.9 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.4 Medium (CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-362
CWE-59
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2019-18932

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2020:0117

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2020:0140

Source: MISC
Type: Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/01/20/6

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20200127 Re: CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1150554

Source: XF
Type: UNKNOWN
sarg-cve201918932-priv-esc(174812)

Source: CCN
Type: oss-sec Mailing List, Mon, 20 Jan 2020 15:51:48 +0100
CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector

Source: GENTOO
Type: Third Party Advisory
GLSA-202007-32

Source: CCN
Type: SourceForge Sarg Project Web site
Sarg

Source: MISC
Type: Third Party Advisory
https://sourceforge.net/projects/sarg/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:squid_analysis_report_generator_project:squid_analysis_report_generator:*:*:*:*:*:*:*:* (Version <= 2.3.11)

  • Configuration 2:
  • cpe:/a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*
  • OR cpe:/o:opensuse:leap:15.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:201918932
    V
    CVE-2019-18932
    2021-10-24
    oval:org.opensuse.security:def:63420
    P
    djvulibre-3.5.27-9.28 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:62801
    P
    libndp-devel-1.6-1.26 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:64469
    P
    Security update for opensc (Moderate)
    2021-04-13
    oval:org.opensuse.security:def:62600
    P
    python3-bottle-0.12.13-1.26 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:63080
    P
    java-1_8_0-ibm-1.8.0_sr6.5-3.33.2 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62601
    P
    python3-cupshelpers-1.5.7-6.27 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:63282
    P
    libspice-server-devel-0.14.2-1.58 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62624
    P
    fetchmailconf-6.3.26-3.27 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:64213
    P
    augeas on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:74409
    P
    Security update for putty (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:63646
    P
    Security update for ghostscript (Important)
    2020-12-01
    oval:org.opensuse.security:def:64315
    P
    libXxf86vm-devel on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:74535
    P
    Security update for sarg (Important)
    2020-12-01
    oval:org.opensuse.security:def:63973
    P
    Security update for ntp (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:64357
    P
    libnm0 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:64107
    P
    Security update for mariadb (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:100227
    P
    (Important)
    2020-09-16
    oval:org.opensuse.security:def:93514
    P
    Security update for sarg (Important)
    2020-01-29
    oval:org.opensuse.security:def:110159
    P
    Security update for sarg (Important)
    2020-01-28
    oval:com.ubuntu.disco:def:2019189320000000
    V
    CVE-2019-18932 on Ubuntu 19.04 (disco) - medium.
    2020-01-21
    oval:com.ubuntu.bionic:def:2019189320000000
    V
    CVE-2019-18932 on Ubuntu 18.04 LTS (bionic) - medium.
    2020-01-21
    oval:com.ubuntu.xenial:def:2019189320000000
    V
    CVE-2019-18932 on Ubuntu 16.04 LTS (xenial) - medium.
    2020-01-21
    BACK
    squid_analysis_report_generator_project squid analysis report generator *
    opensuse backports sle 15.0 sp1
    opensuse leap 15.1