Code Injection in mod_perl - CVE-2011-2767

 

Code Injection in mod_perl - CVE-2011-2767

Published: November 24, 2019


Vulnerability identifier: #VU22945
CSH Severity: Medium
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-2767
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

mod_perl
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

Install updates from vendor's website.

mod_perl - update to 2.0.11
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

Related Security Bulletins