Perl PERLIO_DEBUG environment variable file overwrite

perl-perliodebug-file-overwrite (19207) The risk level is classified as MediumMedium Risk

Description:

Perl (Practical Extraction and Reporting Language) could allow a remote attacker to overwrite arbitrary files, caused by a vulnerability in the handling of the debug message in the PERLIO_DEBUG environment variable. When Perl is installed with setuid support (sperl), a local attacker could modify the PERLIO_DEBUG environment variable to overwrite arbitrary files on the system.


Consequences:

File Manipulation

Remedy:

For Ubuntu Linux:
Upgrade to the latest perl package (5.8.4-2ubuntu0.3 or later), as listed in USN-72-1 February 02, 2005. See References.

For Red Hat Linux:
Refer to RHSA-2005:103-04 or RHSA-2005:105-11 for patch, upgrade, or suggested workaround information. See References.

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

References:

Platforms Affected:

  • Canonical Ubuntu 4.10
  • Gentoo Linux
  • Larry Wall Perl 5
  • MandrakeSoft Mandrake Linux 10.0 AMD64
  • MandrakeSoft Mandrake Linux 10.0
  • MandrakeSoft Mandrake Linux 10.1 X86_64
  • MandrakeSoft Mandrake Linux 10.1
  • MandrakeSoft Mandrake Linux 9.2
  • MandrakeSoft Mandrake Linux 9.2 AMD64
  • 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
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 Desktop

Reported:

Feb 02, 2005

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 (IBM 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.

For corrections or additions please email xforce@iss.net

Return to the main page