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
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.
- Published
- Aug 26, 2018
- Updated
- Jun 16, 2026
- EPSS
- 8.9% · 95th percentile
- CWE
- CWE-94
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
42
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 8.9%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| apache | mod perl | cpe:2.3:a:apache:mod_perl |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache mod perl2.0.0 and later · up to 2.0.10 inclusive
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux18.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
Versions reported by the vendor
Affected version ranges reported by the assigning authority (debian). Independent of NVD's CPE analysis and usually ahead of it.
n/a mod_perl 2.0 through 2.0.10
- mod_perl 2.0 through 2.0.10affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libapache2-mod-perl2 | before 2.0.10-3 | 2.0.10-3 |
| Debian:8 | libapache2-mod-perl2 | before 2.0.9~1624218-2+deb8u3 | 2.0.9~1624218-2+deb8u3 |
| openSUSE:Leap 15.0 | apache2-mod_perl | before 2.0.11-lp151.3.3.1 | 2.0.11-lp151.3.3.1 |
| openSUSE:Tumbleweed | apache2-mod_perl | before 2.0.11-2.12 | 2.0.11-2.12 |
| Red Hat:enterprise_linux:6::client | mod_perl | before 0:2.0.4-12.el6_10 | 0:2.0.4-12.el6_10 |
| Red Hat:enterprise_linux:6::client | mod_perl-debuginfo | before 0:2.0.4-12.el6_10 | 0:2.0.4-12.el6_10 |
| Red Hat:enterprise_linux:6::client | mod_perl-devel | before 0:2.0.4-12.el6_10 | 0:2.0.4-12.el6_10 |
| Red Hat:rhel_software_collections:3::el6 | rh-perl524-mod_perl | before 0:2.0.9-10.el6 | 0:2.0.9-10.el6 |
| Red Hat:rhel_software_collections:3::el6 | rh-perl524-mod_perl-debuginfo | before 0:2.0.9-10.el6 | 0:2.0.9-10.el6 |
| Red Hat:rhel_software_collections:3::el6 | rh-perl524-mod_perl-devel | before 0:2.0.9-10.el6 | 0:2.0.9-10.el6 |
| Red Hat:rhel_software_collections:3::el7 | rh-perl524-mod_perl | before 0:2.0.9-10.el7 | 0:2.0.9-10.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-perl524-mod_perl-debuginfo | before 0:2.0.9-10.el7 | 0:2.0.9-10.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-perl524-mod_perl-devel | before 0:2.0.9-10.el7 | 0:2.0.9-10.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-perl526-mod_perl | before 0:2.0.10-10.el7 | 0:2.0.10-10.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-perl526-mod_perl-debuginfo | before 0:2.0.10-10.el7 | 0:2.0.10-10.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-perl526-mod_perl-devel | before 0:2.0.10-10.el7 | 0:2.0.10-10.el7 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | apache2-mod_perl | before 2.0.4-40.63.3.3 | 2.0.4-40.63.3.3 |
| SUSE:Linux Enterprise Software Development Kit 12 SP4 | apache2-mod_perl | before 2.0.8-13.5.1 | 2.0.8-13.5.1 |
| SUSE:Package Hub 15 | apache2-mod_perl | before 2.0.11-bp151.4.3.1 | 2.0.11-bp151.4.3.1 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2007-1349PerlRun.pm in Apache mod_perl before 1.30, and RegistryCooker.pm in mod_perl 2.x, does not properly escape PATH_INFO before use in a regular23Monitor
- CVE-2009-0796Cross-site scripting (XSS) vulnerability in Status.pm in Apache::Status and Apache2::Status in mod_perl1 and mod_perl2 for the Apache HTTP S19Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libapache2-mod-perl2 | 2.0.10-3 · Debian:12 | Package registry (OSV) |
| opensuse:apache2-mod_perl | 2.0.11-lp151.3.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| red hat:mod_perl | 0:2.0.4-12.el6_10 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mod_perl-debuginfo | 0:2.0.4-12.el6_10 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:mod_perl-devel | 0:2.0.4-12.el6_10 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:rh-perl524-mod_perl | 0:2.0.9-10.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-perl524-mod_perl-debuginfo | 0:2.0.9-10.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-perl524-mod_perl-devel | 0:2.0.9-10.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-perl526-mod_perl | 0:2.0.10-10.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-mod_perl-debuginfo | 0:2.0.10-10.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-perl526-mod_perl-devel | 0:2.0.10-10.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| suse:apache2-mod_perl | 2.0.8-13.5.1 · SUSE:Linux Enterprise Software Development Kit 12 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00063.html
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00065.html
- www.securityfocus.com/bid/105195
- access.redhat.com/errata/RHSA-2018:2737
- access.redhat.com/errata/RHSA-2018:2825
- access.redhat.com/errata/RHSA-2018:2826
- bugs.debian.org/644169
- lists.apache.org/thread.html/c8ebe8aad147a3ad2e7b0e8b2da45263171ab5d0fc7f8c100feaa94d%40%3Cmodperl-cvs.perl.apache.org%3E
- lists.debian.org/debian-lts-announce/2018/09/msg00018.html
- mail-archives.apache.org/mod_mbox/perl-modperl/201110.mbox/raw/%3C20111004084343.GA21290%40ktnx.net%3E
- usn.ubuntu.com/3825-1/
- usn.ubuntu.com/3825-2/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.