Back

CRITICAL

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

Published Aug 26, 2018

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.

Affected products

Remediation

Red Hat 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.

Red Hat mitigation

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

Metrics

References (16)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner debian
Published Aug 26, 2018
Updated Aug 6, 2024
Reserved Jul 19, 2011
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Important
Public date Oct 3, 2011