Code Injection in mod_perl - CVE-2011-2767
Published: November 24, 2019
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to absence of functionality that can be used to disable execution of Perl code if placed into .htaccess file. A remote attacker with access to the web server can modify Apache .htaccess file, insert Perl code into it and execute the code on the server with privileges of Apache HTTP server.
Successful exploitation of this vulnerability requires that mod_perl is installed and that the attacker is able to modify .htaccess files.
Affected software
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Fedora
SUSE Linux
Opensuse
mod_perl (Red Hat package)
rh-perl524-mod_perl (Red Hat package)
mod_perl
rh-perl526-mod_perl (Red Hat package)
How to mitigate CVE-2011-2767
mod_perl (Red Hat package) - update to 2.0.4-12.el6_10
rh-perl524-mod_perl (Red Hat package) - addressed in versions 2.0.9-10.el6, 2.0.9-10.el7
mod_perl - addressed in versions 2.0.10-3.el7, 2.0.10-9.fc27, 2.0.10-11.fc28, 2.0.10-13.fc29
rh-perl526-mod_perl (Red Hat package) - update to 2.0.10-10.el7
External References
- https://access.redhat.com/errata/RHSA-2018:2737
- https://access.redhat.com/errata/RHSA-2018:2825
- https://access.redhat.com/errata/RHSA-2018:2826
- https://bugs.debian.org/644169
- https://lists.apache.org/thread.html/c8ebe8aad147a3ad2e7b0e8b2da45263171ab5d0fc7f8c100feaa94d@%3Cmodperl-cvs.perl.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2018/09/msg00018.html
- https://mail-archives.apache.org/mod_mbox/perl-modperl/201110.mbox/raw/%3C20111004084343.GA21290%40ktnx.net%3E
Related Security Bulletins
- Perl code injection in mod_perl
- OpenSUSE Linux update for apache2-mod_perl
- OpenSUSE Linux update for apache2-mod_perl
- Fedora 29 update for mod_perl
- Fedora EPEL 7 update for mod_perl
- Fedora 28 update for mod_perl
- Fedora 27 update for mod_perl
- Red Hat Enterprise Linux 6 update for mod_perl
- Red Hat Software Collections update for rh-perl526-mod_perl
- Red Hat Software Collections update for rh-perl524-mod_perl