Perl and ActivePerl win32_stat buffer overflow

perl-win32stat-bo (15732) The risk level is classified as HighHigh Risk

Description:

Perl and ActivePerl, when running on Microsoft Windows platforms, are vulnerable to a buffer overflow in the win32_stat function. By creating a file with a long filename that ends in a back-slash (\) character, a remote attacker could overflow a buffer and execute arbitrary code on the system.

Platforms Affected:

  • ActiveState, ActivePerl 5.8
  • ActiveState, ActivePerl 5.8.1
  • ActiveState, ActivePerl 5.8.3
  • Larry Wall, Perl 5.8.0
  • Larry Wall, Perl 5.8.1
  • Larry Wall, Perl 5.8.3

Remedy:

Download the latest version of Perl (5.8.4 or later), available from the ActiveState Web site. See References.

—OR—

Apply the appropriate patch for this vulnerability, as listed in the iDEFENSE Security Advisory 04.05.04. See References.

Consequences:

Gain Access

References:

Reported:

Apr 05, 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