Skip to content
OpenAdvisories
Unscored Public exploit CVE-2011-1487 EUVD-2011-1490GHSA-j9hm-95rh-8hr5

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, d…

Published Apr 11, 2011 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 perl 5.10.1-20 —
Debian 13 perl 5.10.1-20 —
Debian 12 perl 5.10.1-20 —
Debian 6.0 perl 5.10.1-17squeeze1 DSA-2265-1
Debian 5.0 perl 5.10.0-19lenny4 DSA-2265-1
ReleasePackageFixed inAdvisory
RHEL 6 perl +3 4:5.10.1-119.el6 RHSA-2011:0558
RHEL 6 perl-Archive-Extract 1:0.38-119.el6 RHSA-2011:0558
RHEL 6 perl-Archive-Tar 1.58-119.el6 RHSA-2011:0558
RHEL 6 perl-CGI 3.51-119.el6 RHSA-2011:0558
RHEL 6 perl-CPAN 1.9402-119.el6 RHSA-2011:0558
RHEL 6 perl-CPANPLUS 0.88-119.el6 RHSA-2011:0558
RHEL 6 perl-Compress-Raw-Zlib 2.023-119.el6 RHSA-2011:0558
RHEL 6 perl-Compress-Zlib +2 2.020-119.el6 RHSA-2011:0558
RHEL 6 perl-Digest-SHA 1:5.47-119.el6 RHSA-2011:0558
RHEL 6 perl-ExtUtils-CBuilder 1:0.27-119.el6 RHSA-2011:0558
RHEL 6 perl-ExtUtils-Embed 1.28-119.el6 RHSA-2011:0558
RHEL 6 perl-ExtUtils-MakeMaker 6.55-119.el6 RHSA-2011:0558
RHEL 6 perl-ExtUtils-ParseXS 1:2.2003.0-119.el6 RHSA-2011:0558
RHEL 6 perl-File-Fetch 0.26-119.el6 RHSA-2011:0558
RHEL 6 perl-IO-Zlib 1:1.09-119.el6 RHSA-2011:0558
RHEL 6 perl-IPC-Cmd 1:0.56-119.el6 RHSA-2011:0558
RHEL 6 perl-Locale-Maketext-Simple 1:0.18-119.el6 RHSA-2011:0558
RHEL 6 perl-Log-Message +2 1:0.02-119.el6 RHSA-2011:0558
RHEL 6 perl-Log-Message-Simple 0.04-119.el6 RHSA-2011:0558
RHEL 6 perl-Module-Build 1:0.3500-119.el6 RHSA-2011:0558
RHEL 6 perl-Module-CoreList 2.18-119.el6 RHSA-2011:0558
RHEL 6 perl-Module-Load 1:0.16-119.el6 RHSA-2011:0558
RHEL 6 perl-Module-Load-Conditional 0.30-119.el6 RHSA-2011:0558
RHEL 6 perl-Module-Pluggable 1:3.90-119.el6 RHSA-2011:0558
RHEL 6 perl-Object-Accessor 1:0.34-119.el6 RHSA-2011:0558
RHEL 6 perl-Params-Check 1:0.26-119.el6 RHSA-2011:0558
RHEL 6 perl-Parse-CPAN-Meta 1:1.40-119.el6 RHSA-2011:0558
RHEL 6 perl-Pod-Escapes 1:1.04-119.el6 RHSA-2011:0558
RHEL 6 perl-Pod-Simple 1:3.13-119.el6 RHSA-2011:0558
RHEL 6 perl-Term-UI 0.20-119.el6 RHSA-2011:0558
RHEL 6 perl-Test-Harness 3.17-119.el6 RHSA-2011:0558
RHEL 6 perl-Test-Simple 0.92-119.el6 RHSA-2011:0558
RHEL 6 perl-Time-HiRes 4:1.9721-119.el6 RHSA-2011:0558
RHEL 6 perl-Time-Piece 1.15-119.el6 RHSA-2011:0558
RHEL 6 perl-core 5.10.1-119.el6 RHSA-2011:0558
RHEL 6 perl-parent 1:0.221-119.el6 RHSA-2011:0558
RHEL 6 perl-version 3:0.77-119.el6 RHSA-2011:0558

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References