Vulnerability Name:

CVE-2008-4865 (CCN-46372)

Assigned:2008-10-27
Published:2008-10-27
Updated:2009-03-30
Summary:Untrusted search path vulnerability in valgrind before 3.4.0 allows local users to execute arbitrary programs via a Trojan horse .valgrindrc file in the current working directory, as demonstrated using a malicious --db-command options.
Note: the severity of this issue has been disputed, but CVE is including this issue because execution of a program from an untrusted directory is a common scenario.
CVSS v3 Severity:4.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
5.0 Medium (Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C/E:U/RL:OF/RC:UR)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
3.7 Low (CCN CVSS v2 Vector: AV:L/AC:H/Au:N/C:P/I:P/A:P)
2.6 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:H/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:UR)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
3.7 Low (REDHAT CVSS v2 Vector: AV:L/AC:H/Au:N/C:P/I:P/A:P)
2.6 Low (REDHAT Temporal CVSS v2 Vector: AV:L/AC:H/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:UR)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2008-4865

Source: SUSE
Type: UNKNOWN
SUSE-SR:2009:002

Source: CCN
Type: Lynx Web page
Lynx

Source: SECUNIA
Type: Vendor Advisory
33568

Source: GENTOO
Type: UNKNOWN
GLSA-200902-03

Source: MLIST
Type: UNKNOWN
[valgrind-announce] 20090103 Valgrind-3.4.0 is available

Source: CCN
Type: GLSA-200902-03
Valgrind: Untrusted search path

Source: CCN
Type: oss-security Mailing List, Mon, 27 Oct 2008 18:38:19 +0000
Re: CVE request: lynx (old) .mailcap handling flaw

Source: MLIST
Type: UNKNOWN
[oss-security] 20081027 Re: CVE request: lynx (old) .mailcap handling flaw

Source: CCN
Type: oss-security Mailing List, Tue, 28 Oct 2008 10:38:43 +0100
Re: CVE request: lynx (old) .mailcap handling flaw

Source: MLIST
Type: UNKNOWN
[oss-security] 20081028 Re: CVE request: lynx (old) .mailcap handling flaw

Source: CCN
Type: oss-security Mailing List, Wed, 29 Oct 2008 12:45:57 +0000
Re: CVE request: lynx (old) .mailcap handling flaw

Source: MLIST
Type: UNKNOWN
[oss-security] 20081029 Re: CVE request: lynx (old) .mailcap handling flaw

Source: CCN
Type: oss-security Mailing List, Wed, 29 Oct 2008 17:22:26 +0100
Re: CVE request: lynx (old) .mailcap handling flaw

Source: MLIST
Type: UNKNOWN
[oss-security] 20081029 Re: CVE request: lynx (old) .mailcap handling flaw

Source: CCN
Type: OSVDB ID: 50262
valgrind .valgrindrc File Option Handling Search Path Subversion Arbitrary Local Program Execution

Source: XF
Type: UNKNOWN
valgrind-valgrindrc-command-execution(46372)

Source: SUSE
Type: SUSE-SR:2009:002
SUSE Security Summary Report

Vulnerable Configuration:Configuration 1:
  • cpe:/a:valgrind:valgrind:1.9.6:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:2.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:2.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:2.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:2.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:2.4.1:*:powerpc:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.3.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.3.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.3.0:rc3:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:3.3.1:rc1:*:*:*:*:*:*
  • OR cpe:/a:valgrind:valgrind:*:rc1:*:*:*:*:*:* (Version <= 3.4.0)

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:5:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:5::client_workstation:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:5::server:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:valgrind:valgrind:1.9.6:*:*:*:*:*:*:*
  • AND
  • cpe:/o:gentoo:linux:*:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:2008.0::x86-64:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:2008.0:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:2008.1:x86_64:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:2008.1:*:*:*:*:*:*:*
  • OR cpe:/o:mandriva:linux:2009.0:*:*:*:*:*:*:*
  • OR cpe:/o:mandriva:linux:2009.0:-:x86_64:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20084865
    V
    CVE-2008-4865
    2022-06-30
    oval:org.opensuse.security:def:113559
    P
    valgrind-3.17.0-2.3 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:26139
    P
    Security update for libvirt (Moderate)
    2021-10-04
    oval:org.opensuse.security:def:106950
    P
    valgrind-3.17.0-2.3 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:26127
    P
    Security update for postgresql12 (Moderate)
    2021-09-16
    oval:org.opensuse.security:def:26128
    P
    Security update for postgresql13 (Moderate)
    2021-09-16
    oval:org.opensuse.security:def:36578
    P
    valgrind-3.8.1-0.5.1 on GA media (Moderate)
    2021-06-08
    oval:org.opensuse.security:def:26203
    P
    Security update for openldap2 (Important)
    2021-03-03
    oval:org.opensuse.security:def:26859
    P
    acpid on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26412
    P
    Security update for tor (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26757
    P
    libopensc2 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26903
    P
    ghostscript-fonts-other on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26469
    P
    Security update for phpMyAdmin (Important)
    2020-12-01
    oval:org.opensuse.security:def:26806
    P
    perl-libwww-perl on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27541
    P
    pwlib on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26553
    P
    gd on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26845
    P
    xorg-x11-libs-32bit on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26331
    P
    Security update for Chromium (Important)
    2020-12-01
    oval:org.opensuse.security:def:27576
    P
    valgrind on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26704
    P
    g3utils on GA media (Moderate)
    2020-12-01
    oval:com.redhat.rhea:def:20100272
    P
    RHEA-2010:0272: valgrind bug fix and enhancement update (Low)
    2010-03-30
    BACK
    valgrind valgrind 1.9.6
    valgrind valgrind 2.0.0
    valgrind valgrind 2.1.0
    valgrind valgrind 2.1.1
    valgrind valgrind 2.2.0
    valgrind valgrind 2.4.1
    valgrind valgrind 2.4.1
    valgrind valgrind 3.0.0
    valgrind valgrind 3.0.1
    valgrind valgrind 3.1.0
    valgrind valgrind 3.1.1
    valgrind valgrind 3.2.0
    valgrind valgrind 3.2.1
    valgrind valgrind 3.2.2
    valgrind valgrind 3.2.3
    valgrind valgrind 3.3.0
    valgrind valgrind 3.3.0 rc1
    valgrind valgrind 3.3.0 rc2
    valgrind valgrind 3.3.0 rc3
    valgrind valgrind 3.3.1
    valgrind valgrind 3.3.1 rc1
    valgrind valgrind * rc1
    valgrind valgrind 1.9.6
    gentoo linux *
    mandrakesoft mandrake linux 2008.0
    mandrakesoft mandrake linux 2008.0
    mandrakesoft mandrake linux 2008.1 x86_64
    mandrakesoft mandrake linux 2008.1
    mandriva linux 2009.0
    mandriva linux 2009.0 -