cve.bz

CVE-2011-2767 Code Injection

9.8 criticalEPSS 8.8%

Critical (9.8). EPSS 8.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
8.8% (unchanged from 8.8% a week ago; 8.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2011-2767 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2011-2767?via=ask-ai-copy and https://cve.bz/cve/CVE-2011-2767?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2011-2767 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:mod_perlfrom 2.0.0 through 2.0.10
debian:debian_linux8.0
redhat:enterprise_linux6.0
redhat:enterprise_linux6.7
redhat:enterprise_linux7.0
redhat:enterprise_linux7.3
redhat:enterprise_linux7.4
redhat:enterprise_linux7.5
redhat:enterprise_linux7.6
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_workstation6.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libapache2-mod-perl22.0.9~1624218-2+deb8u3DLA-1507-1
Debian12, 13, 14libapache2-mod-perl22.0.10-3DEBIAN-CVE-2011-2767
Ubuntu14.04:LTSlibapache2-mod-perl22.0.8+httpd24-r1449661-6ubuntu2.1UBUNTU-CVE-2011-2767 USN-3825-1
Ubuntu16.04:LTSlibapache2-mod-perl22.0.9-4ubuntu1.2UBUNTU-CVE-2011-2767 USN-3825-1
Ubuntu18.04:LTSlibapache2-mod-perl22.0.10-2ubuntu3.18.04.1UBUNTU-CVE-2011-2767 USN-3825-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moremod_perl, mod_perl-devel, mod_perl-debuginfo0:2.0.4-12.el6_10RHSA-2018:2737
Red Hatrhel_software_collections:3::el6rh-perl524-mod_perl, rh-perl524-mod_perl-devel, rh-perl524-mod_perl-debuginfo0:2.0.9-10.el6RHSA-2018:2826
Red Hatrhel_software_collections:3::el7rh-perl524-mod_perl, rh-perl524-mod_perl-devel, rh-perl524-mod_perl-debuginfo0:2.0.9-10.el7RHSA-2018:2826
Red Hatrhel_software_collections:3::el7rh-perl526-mod_perl, rh-perl526-mod_perl-devel, rh-perl526-mod_perl-debuginfo0:2.0.10-10.el7RHSA-2018:2825
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSapache2-mod_perl2.0.4-40.63.3.3SUSE-SU-2020:14266-1
SUSELinux Enterprise Server 12 SP4, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moreapache2-mod_perl2.0.8-13.5.1SUSE-SU-2019:3213-1
SUSEPackage Hub 15, Package Hub 15 SP1apache2-mod_perl2.0.11-bp151.4.3.1openSUSE-SU-2019:2558-1
openSUSELeap 15.0, Leap 15.1apache2-mod_perl2.0.11-lp151.3.3.1openSUSE-SU-2019:2549-1
openSUSETumbleweedapache2-mod_perl2.0.11-2.12openSUSE-SU-2024:10626-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's 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's mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6mod_perl-0:2.0.4-12.el6_10Fixed 2018-09-24RHSA-2018:2737
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-perl524-mod_perl-0:2.0.9-10.el6Fixed 2018-09-27RHSA-2018:2826
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-perl524-mod_perl-0:2.0.9-10.el6Fixed 2018-09-27RHSA-2018:2826
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-perl526-mod_perl-0:2.0.10-10.el7Fixed 2018-09-27RHSA-2018:2825
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-perl524-mod_perl-0:2.0.9-10.el7Fixed 2018-09-27RHSA-2018:2826
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-perl526-mod_perl-0:2.0.10-10.el7Fixed 2018-09-27RHSA-2018:2825
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-perl524-mod_perl-0:2.0.9-10.el7Fixed 2018-09-27RHSA-2018:2826
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-perl526-mod_perl-0:2.0.10-10.el7Fixed 2018-09-27RHSA-2018:2825
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-perl524-mod_perl-0:2.0.9-10.el7Fixed 2018-09-27RHSA-2018:2826
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-perl526-mod_perl-0:2.0.10-10.el7Fixed 2018-09-27RHSA-2018:2825
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-perl524-mod_perl-0:2.0.9-10.el7Fixed 2018-09-27RHSA-2018:2826
Red Hat Enterprise Linux 5mod_perlWill not fix
Red Hat Enterprise Linux 8mod_perlNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2011-2767.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON