ID CVE-2008-5374
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), (2) aliasconv.bash, and (3) cshtobash scripts.
Vulnerable Configurations
  • cpe:2.3:a:matthias_klose:bash-doc:3.2:*:*:*:*:*:*:*
Base: 6.9 (as of 19-04-2013 - 02:42)
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
cvss-vector via4 AV:L/AC:M/Au:N/C:C/I:C/A:C
redhat via4
  • bugzilla
    id 521134
    title Bash doesn't wait for backgrounded process if its PID is recycled
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 4 is installed
        oval oval:com.redhat.rhba:tst:20070304025
      • comment bash is earlier than 0:3.0-27.el4
        oval oval:com.redhat.rhsa:tst:20110261001
      • comment bash is signed with Red Hat master key
        oval oval:com.redhat.rhsa:tst:20110261002
    id RHSA-2011:0261
    released 2011-02-16
    severity Low
    title RHSA-2011:0261: bash security and bug fix update (Low)
  • bugzilla
    id 663656
    title Unusable loadables in /doc
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 5 is installed
        oval oval:com.redhat.rhba:tst:20070331005
      • comment bash is earlier than 0:3.2-32.el5
        oval oval:com.redhat.rhsa:tst:20111073001
      • comment bash is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20111073002
    id RHSA-2011:1073
    released 2011-07-21
    severity Low
    title RHSA-2011:1073: bash security, bug fix, and enhancement update (Low)
  • bash-0:3.0-27.el4
  • bash-debuginfo-0:3.0-27.el4
  • bash-0:3.2-32.el5
  • bash-debuginfo-0:3.2-32.el5
refmap via4
bid 32733
gentoo GLSA-201210-05
mandriva MDVSA-2010:004
mlist [debian-devel] 20080813 Re: Possible mass bug filing: The possibility of attack with the help of symlinks in some Debian packages
  • 43365
  • 51086
vupen ADV-2011-0414
statements via4
contributor Tomas Hoger
lastmodified 2008-12-10
organization Red Hat
statement Red Hat is aware of this issue and is tracking it via the following bug: The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here:
Last major update 19-04-2013 - 02:42
Published 08-12-2008 - 23:30
Last modified 19-04-2013 - 02:42
Back to Top