GNU a2ps fixps.in script symlink attack

gnu-a2ps-fixpsin-symlink (18671) The risk level is classified as MediumMedium Risk

Description:

GNU a2ps could allow a local attacker to launch a symlink attack. The fixps.in script creates insecure temporary files. A local attacker could use this vulnerability to create symbolic links from a temporary file to overwrite or create arbitrary files on the system with elevated privileges.

Platforms Affected:

  • Gentoo, Linux
  • GNU, A2ps 4.13b
  • MandrakeSoft, Mandrake Linux 10.1
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux LE2005
  • MandrakeSoft, Mandrake Linux LE2005 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • Turbolinux, Turbolinux 10 Desktop
  • Turbolinux, Turbolinux 10 F...
  • Turbolinux, Turbolinux 10 Server
  • Turbolinux, Turbolinux 7 Server
  • Turbolinux, Turbolinux 7 Workstation
  • Turbolinux, Turbolinux 8 Server
  • Turbolinux, Turbolinux 8 Workstation
  • Turbolinux, Turbolinux Home

Remedy:

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-01-02 for patch, upgrade, or suggested workaround information. See References.

Consequences:

File Manipulation

References:

  • GNU a2ps Web page, a2ps - GNU Project - Free Software Foundation (FSF) at http://www.gnu.org/software/a2ps/#introduction.
  • BID-12108: GNU A2PS fixps.in Script Insecure Temporary File Vulnerability
  • BID-12109: GNU A2PS psmandup.in Script Insecure Temporary File Vulnerability
  • CVE-2004-1377: The (1) fixps (aka fixps.in) and (2) psmandup (aka psmandup.in) scripts in a2ps before 4.13 allow local users to overwrite arbitrary files via a symlink attack on temporary files.
  • GLSA-200501-02: a2ps: Multiple vulnerabilities
  • MDKSA-2005:097: Updated a2ps packages fix temporary file vulnerabilities
  • SA13641: GNU a2ps Two Scripts Insecure Temporary File Creation

Reported:

Dec 27, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page