Vulnerability Name:

CVE-2008-5374 (CCN-47248)

Assigned:2008-08-13
Published:2008-08-13
Updated:2013-04-19
Summary:bash-doc 3.2 allows local users to overwrite arbitrary files via a symlink attack on a /tmp/cb#####.? temporary file, related to the (1) aliasconv.sh, (2) aliasconv.bash, and (3) cshtobash scripts.
CVSS v3 Severity:5.1 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.9 Medium (CVSS v2 Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C)
5.7 Medium (Temporal CVSS v2 Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:UR)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
3.3 Low (CCN CVSS v2 Vector: AV:L/AC:M/Au:N/C:N/I:P/A:P)
2.7 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:M/Au:N/C:N/I:P/A:P/E:H/RL:OF/RC:UR)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): Partial
1.2 Low (REDHAT CVSS v2 Vector: AV:L/AC:H/Au:N/C:N/I:P/A:N)
1.0 Low (REDHAT Temporal CVSS v2 Vector: AV:L/AC:H/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:UR)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-59
Vulnerability Consequences:File Manipulation
References:Source: MITRE
Type: CNA
CVE-2008-5374

Source: CCN
Type: debian-devel Mailing List, Wed, 13 Aug 2008 22:21:55 +0400
Re: Possible mass bug filing: The possibility of attack with the help of symlinks in some Debian packages

Source: MLIST
Type: UNKNOWN
[debian-devel] 20080813 Re: Possible mass bug filing: The possibility of attack with the help of symlinks in some Debian packages

Source: CCN
Type: bash-doc Web page
Documentation and examples for the The GNU Bourne Again SHell

Source: CCN
Type: RHSA-2011-0261
Low: bash security and bug fix update

Source: CCN
Type: RHSA-2011-1073
Low: bash security, bug fix, and enhancement update

Source: SECUNIA
Type: UNKNOWN
43365

Source: SECUNIA
Type: UNKNOWN
51086

Source: GENTOO
Type: UNKNOWN
GLSA-201210-05

Source: MISC
Type: UNKNOWN
http://uvw.ru/report.sid.txt

Source: MANDRIVA
Type: UNKNOWN
MDVSA-2010:004

Source: CCN
Type: OSVDB ID: 51690
bash-doc Multiple Script Temporary File Symlink Arbitrary File Overwrite

Source: REDHAT
Type: UNKNOWN
RHSA-2011:0261

Source: REDHAT
Type: UNKNOWN
RHSA-2011:1073

Source: BID
Type: UNKNOWN
32733

Source: CCN
Type: BID-32733
bash-doc Insecure Temporary File Creation Vulnerabilities

Source: VUPEN
Type: UNKNOWN
ADV-2011-0414

Source: XF
Type: UNKNOWN
bashdoc-multiple-symlink(47248)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:matthias_klose:bash-doc:3.2:*:*:*:*:*:*:*

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

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:4::as:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:4::desktop:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:4::es:*:*:*:*:*

  • Configuration RedHat 5:
  • cpe:/o:redhat:enterprise_linux:4::ws:*:*:*:*:*

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

  • Configuration RedHat 7:
  • cpe:/o:redhat:enterprise_linux:5::client:*:*:*:*:*

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

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.mitre.oval:def:23045
    P
    ELSA-2011:1073: bash security, bug fix, and enhancement update (Low)
    2014-05-26
    oval:org.mitre.oval:def:21954
    P
    RHSA-2011:1073: bash security, bug fix, and enhancement update (Low)
    2014-02-24
    oval:com.redhat.rhsa:def:20111073
    P
    RHSA-2011:1073: bash security, bug fix, and enhancement update (Low)
    2011-07-21
    oval:com.redhat.rhsa:def:20110261
    P
    RHSA-2011:0261: bash security and bug fix update (Low)
    2011-02-16
    oval:com.ubuntu.precise:def:20085374000
    V
    CVE-2008-5374 on Ubuntu 12.04 LTS (precise) - low.
    2008-12-08
    BACK
    matthias_klose bash-doc 3.2