CVE Database›Document archive›CVE-2011-2767

CVE-2011-2767

mod_perl: arbitrary Perl code execution in the context of the user account via a user-owned .htaccess

Loading…

Severity

Important

Red Hat Product Security

6.3

CVSS 3.0

Review impact separately from score.

Published · October 3, 2011

Updated · June 28, 2026

Description

mod_perl 2.0 through 2.0.10 allows attackers to execute arbitrary Perl code by placing it in a user-owned .htaccess file, because (contrary to the documentation) there is no configuration option that permits Perl code for the administrator's control of HTTP request processing without also permitting unprivileged users to run Perl code in the context of the user account that runs Apache HTTP Server processes.

Statement

The default configurations shipped in Red Hat Enterprise Linux 6 and Red Hat Software Collections are not vulnerable to to this flaw. The UserDir option needs to be enabled as well as AllowOverride being set to values other than "None" for this to potentially pose a threat.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Disabling the UserDir directive and also setting AllowOverride None should prevent the processing of perl in user .htaccess files.

CVSS / CWE

CVSS 3.0 · 6.3
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CWE-266 · Incorrect Privilege Assignment