ID CVE-2011-1487
Summary The (1) lc, (2) lcfirst, (3) uc, and (4) ucfirst functions in Perl 5.10.x, 5.11.x, and 5.12.x through 5.12.3, and 5.13.x through 5.13.11, do not apply the taint attribute to the return value upon processing tainted input, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
Vulnerable Configurations
  • cpe:2.3:a:perl:perl:5.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.10.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.10.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.10.1:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.10.1:rc1:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.10.1:rc2:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.1:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.2:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.3:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.4:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.5:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.6:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.7:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.8:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.9:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.10:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.13.11:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.11.2:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.11.3:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.11.4:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.11.5:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.0:rc5:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.1:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.1:rc1:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.1:rc2:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.2:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.2:rc1:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.3:*:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.3:rc1:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.3:rc2:*:*:*:*:*:*
  • cpe:2.3:a:perl:perl:5.12.3:rc3:*:*:*:*:*:*
Base: 5.0 (as of 17-08-2017 - 01:34)
  • Accessing, Modifying or Executing Executable 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.
  • 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. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf ( http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating 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.
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:P/A:N
redhat via4
id 692898
title CVE-2011-1487 perl: lc(), uc() routines are laundering tainted data
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment perl is earlier than 4:5.10.1-119.el6
        oval oval:com.redhat.rhsa:tst:20110558005
      • comment perl is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558006
    • AND
      • comment perl-Archive-Extract is earlier than 1:0.38-119.el6
        oval oval:com.redhat.rhsa:tst:20110558083
      • comment perl-Archive-Extract is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558084
    • AND
      • comment perl-Archive-Tar is earlier than 0:1.58-119.el6
        oval oval:com.redhat.rhsa:tst:20110558017
      • comment perl-Archive-Tar is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558018
    • AND
      • comment perl-CGI is earlier than 0:3.51-119.el6
        oval oval:com.redhat.rhsa:tst:20110558071
      • comment perl-CGI is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558072
    • AND
      • comment perl-CPAN is earlier than 0:1.9402-119.el6
        oval oval:com.redhat.rhsa:tst:20110558067
      • comment perl-CPAN is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558068
    • AND
      • comment perl-CPANPLUS is earlier than 0:0.88-119.el6
        oval oval:com.redhat.rhsa:tst:20110558081
      • comment perl-CPANPLUS is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558082
    • AND
      • comment perl-Compress-Raw-Zlib is earlier than 0:2.023-119.el6
        oval oval:com.redhat.rhsa:tst:20110558055
      • comment perl-Compress-Raw-Zlib is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558056
    • AND
      • comment perl-Compress-Zlib is earlier than 0:2.020-119.el6
        oval oval:com.redhat.rhsa:tst:20110558065
      • comment perl-Compress-Zlib is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558066
    • AND
      • comment perl-Digest-SHA is earlier than 1:5.47-119.el6
        oval oval:com.redhat.rhsa:tst:20110558025
      • comment perl-Digest-SHA is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558026
    • AND
      • comment perl-ExtUtils-CBuilder is earlier than 1:0.27-119.el6
        oval oval:com.redhat.rhsa:tst:20110558029
      • comment perl-ExtUtils-CBuilder is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558030
    • AND
      • comment perl-ExtUtils-Embed is earlier than 0:1.28-119.el6
        oval oval:com.redhat.rhsa:tst:20110558075
      • comment perl-ExtUtils-Embed is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558076
    • AND
      • comment perl-ExtUtils-MakeMaker is earlier than 0:6.55-119.el6
        oval oval:com.redhat.rhsa:tst:20110558073
      • comment perl-ExtUtils-MakeMaker is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558074
    • AND
      • comment perl-ExtUtils-ParseXS is earlier than 1:2.2003.0-119.el6
        oval oval:com.redhat.rhsa:tst:20110558031
      • comment perl-ExtUtils-ParseXS is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558032
    • AND
      • comment perl-File-Fetch is earlier than 0:0.26-119.el6
        oval oval:com.redhat.rhsa:tst:20110558079
      • comment perl-File-Fetch is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558080
    • AND
      • comment perl-IO-Compress-Base is earlier than 0:2.020-119.el6
        oval oval:com.redhat.rhsa:tst:20110558045
      • comment perl-IO-Compress-Base is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558046
    • AND
      • comment perl-IO-Compress-Zlib is earlier than 0:2.020-119.el6
        oval oval:com.redhat.rhsa:tst:20110558057
      • comment perl-IO-Compress-Zlib is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558058
    • AND
      • comment perl-IO-Zlib is earlier than 1:1.09-119.el6
        oval oval:com.redhat.rhsa:tst:20110558051
      • comment perl-IO-Zlib is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558052
    • AND
      • comment perl-IPC-Cmd is earlier than 1:0.56-119.el6
        oval oval:com.redhat.rhsa:tst:20110558015
      • comment perl-IPC-Cmd is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558016
    • AND
      • comment perl-Locale-Maketext-Simple is earlier than 1:0.18-119.el6
        oval oval:com.redhat.rhsa:tst:20110558047
      • comment perl-Locale-Maketext-Simple is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558048
    • AND
      • comment perl-Log-Message is earlier than 1:0.02-119.el6
        oval oval:com.redhat.rhsa:tst:20110558069
      • comment perl-Log-Message is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558070
    • AND
      • comment perl-Log-Message-Simple is earlier than 0:0.04-119.el6
        oval oval:com.redhat.rhsa:tst:20110558087
      • comment perl-Log-Message-Simple is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558088
    • AND
      • comment perl-Module-Build is earlier than 1:0.3500-119.el6
        oval oval:com.redhat.rhsa:tst:20110558021
      • comment perl-Module-Build is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558022
    • AND
      • comment perl-Module-CoreList is earlier than 0:2.18-119.el6
        oval oval:com.redhat.rhsa:tst:20110558059
      • comment perl-Module-CoreList is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558060
    • AND
      • comment perl-Module-Load is earlier than 1:0.16-119.el6
        oval oval:com.redhat.rhsa:tst:20110558037
      • comment perl-Module-Load is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558038
    • AND
      • comment perl-Module-Load-Conditional is earlier than 0:0.30-119.el6
        oval oval:com.redhat.rhsa:tst:20110558007
      • comment perl-Module-Load-Conditional is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558008
    • AND
      • comment perl-Module-Loaded is earlier than 1:0.02-119.el6
        oval oval:com.redhat.rhsa:tst:20110558009
      • comment perl-Module-Loaded is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558010
    • AND
      • comment perl-Module-Pluggable is earlier than 1:3.90-119.el6
        oval oval:com.redhat.rhsa:tst:20110558085
      • comment perl-Module-Pluggable is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558086
    • AND
      • comment perl-Object-Accessor is earlier than 1:0.34-119.el6
        oval oval:com.redhat.rhsa:tst:20110558043
      • comment perl-Object-Accessor is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558044
    • AND
      • comment perl-Package-Constants is earlier than 1:0.02-119.el6
        oval oval:com.redhat.rhsa:tst:20110558089
      • comment perl-Package-Constants is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558090
    • AND
      • comment perl-Params-Check is earlier than 1:0.26-119.el6
        oval oval:com.redhat.rhsa:tst:20110558027
      • comment perl-Params-Check is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558028
    • AND
      • comment perl-Parse-CPAN-Meta is earlier than 1:1.40-119.el6
        oval oval:com.redhat.rhsa:tst:20110558053
      • comment perl-Parse-CPAN-Meta is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558054
    • AND
      • comment perl-Pod-Escapes is earlier than 1:1.04-119.el6
        oval oval:com.redhat.rhsa:tst:20110558033
      • comment perl-Pod-Escapes is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558034
    • AND
      • comment perl-Pod-Simple is earlier than 1:3.13-119.el6
        oval oval:com.redhat.rhsa:tst:20110558041
      • comment perl-Pod-Simple is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558042
    • AND
      • comment perl-Term-UI is earlier than 0:0.20-119.el6
        oval oval:com.redhat.rhsa:tst:20110558049
      • comment perl-Term-UI is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558050
    • AND
      • comment perl-Test-Harness is earlier than 0:3.17-119.el6
        oval oval:com.redhat.rhsa:tst:20110558011
      • comment perl-Test-Harness is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558012
    • AND
      • comment perl-Test-Simple is earlier than 0:0.92-119.el6
        oval oval:com.redhat.rhsa:tst:20110558013
      • comment perl-Test-Simple is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558014
    • AND
      • comment perl-Time-HiRes is earlier than 4:1.9721-119.el6
        oval oval:com.redhat.rhsa:tst:20110558019
      • comment perl-Time-HiRes is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558020
    • AND
      • comment perl-Time-Piece is earlier than 0:1.15-119.el6
        oval oval:com.redhat.rhsa:tst:20110558035
      • comment perl-Time-Piece is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558036
    • AND
      • comment perl-core is earlier than 0:5.10.1-119.el6
        oval oval:com.redhat.rhsa:tst:20110558091
      • comment perl-core is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558092
    • AND
      • comment perl-devel is earlier than 4:5.10.1-119.el6
        oval oval:com.redhat.rhsa:tst:20110558039
      • comment perl-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558040
    • AND
      • comment perl-libs is earlier than 4:5.10.1-119.el6
        oval oval:com.redhat.rhsa:tst:20110558077
      • comment perl-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558078
    • AND
      • comment perl-parent is earlier than 1:0.221-119.el6
        oval oval:com.redhat.rhsa:tst:20110558063
      • comment perl-parent is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558064
    • AND
      • comment perl-suidperl is earlier than 4:5.10.1-119.el6
        oval oval:com.redhat.rhsa:tst:20110558061
      • comment perl-suidperl is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558062
    • AND
      • comment perl-version is earlier than 3:0.77-119.el6
        oval oval:com.redhat.rhsa:tst:20110558023
      • comment perl-version is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110558024
id RHSA-2011:0558
released 2011-05-19
severity Moderate
title RHSA-2011:0558: perl security and bug fix update (Moderate)
  • perl-4:5.10.1-119.el6
  • perl-Archive-Extract-1:0.38-119.el6
  • perl-Archive-Tar-0:1.58-119.el6
  • perl-CGI-0:3.51-119.el6
  • perl-CPAN-0:1.9402-119.el6
  • perl-CPANPLUS-0:0.88-119.el6
  • perl-Compress-Raw-Zlib-0:2.023-119.el6
  • perl-Compress-Zlib-0:2.020-119.el6
  • perl-Digest-SHA-1:5.47-119.el6
  • perl-ExtUtils-CBuilder-1:0.27-119.el6
  • perl-ExtUtils-Embed-0:1.28-119.el6
  • perl-ExtUtils-MakeMaker-0:6.55-119.el6
  • perl-ExtUtils-ParseXS-1:2.2003.0-119.el6
  • perl-File-Fetch-0:0.26-119.el6
  • perl-IO-Compress-Base-0:2.020-119.el6
  • perl-IO-Compress-Zlib-0:2.020-119.el6
  • perl-IO-Zlib-1:1.09-119.el6
  • perl-IPC-Cmd-1:0.56-119.el6
  • perl-Locale-Maketext-Simple-1:0.18-119.el6
  • perl-Log-Message-1:0.02-119.el6
  • perl-Log-Message-Simple-0:0.04-119.el6
  • perl-Module-Build-1:0.3500-119.el6
  • perl-Module-CoreList-0:2.18-119.el6
  • perl-Module-Load-1:0.16-119.el6
  • perl-Module-Load-Conditional-0:0.30-119.el6
  • perl-Module-Loaded-1:0.02-119.el6
  • perl-Module-Pluggable-1:3.90-119.el6
  • perl-Object-Accessor-1:0.34-119.el6
  • perl-Package-Constants-1:0.02-119.el6
  • perl-Params-Check-1:0.26-119.el6
  • perl-Parse-CPAN-Meta-1:1.40-119.el6
  • perl-Pod-Escapes-1:1.04-119.el6
  • perl-Pod-Simple-1:3.13-119.el6
  • perl-Term-UI-0:0.20-119.el6
  • perl-Test-Harness-0:3.17-119.el6
  • perl-Test-Simple-0:0.92-119.el6
  • perl-Time-HiRes-4:1.9721-119.el6
  • perl-Time-Piece-0:1.15-119.el6
  • perl-core-0:5.10.1-119.el6
  • perl-devel-4:5.10.1-119.el6
  • perl-libs-4:5.10.1-119.el6
  • perl-parent-1:0.221-119.el6
  • perl-suidperl-4:5.10.1-119.el6
  • perl-version-3:0.77-119.el6
refmap via4
bid 47124
debian DSA-2265
  • FEDORA-2011-4610
  • FEDORA-2011-4631
mandriva MDVSA-2011:091
  • [oss-security] 20110401 CVE Request -- perl -- lc(), uc() routines are laundering tainted data
  • [oss-security] 20110404 Re: CVE Request -- perl -- lc(), uc() routines are laundering tainted data
  • 43921
  • 44168
suse SUSE-SR:2011:009
xf perl-laundering-security-bypass(66528)
Last major update 17-08-2017 - 01:34
Published 11-04-2011 - 18:55
Back to Top