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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | mod_perl 2.0 through 2.0.10 | mod_perl 2.0 through 2.0.10 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libapache2-mod-perl2 | 2.0.10-3 | — |
| Debian 13 | libapache2-mod-perl2 | 2.0.10-3 | — |
| Debian 12 | libapache2-mod-perl2 | 2.0.10-3 | — |
| Debian 8 | libapache2-mod-perl2 | 2.0.9~1624218-2+deb8u3 | DLA-1507-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libapache2-mod-perl2 | 2.0.10-2ubuntu3.18.04.1 | USN-3825-1 |
| Ubuntu 16.04 LTS | libapache2-mod-perl2 | 2.0.9-4ubuntu1.2 | USN-3825-1 |
| Ubuntu 14.04 LTS | libapache2-mod-perl2 | 2.0.8+httpd24-r1449661-6ubuntu2.1 | USN-3825-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | mod_perl +1 | 2.0.4-12.el6_10 | RHSA-2018:2737 |
| RHEL 3 | rh-perl524-mod_perl +1 | 2.0.9-10.el6 | RHSA-2018:2826 |
| RHEL 3 | rh-perl526-mod_perl +1 | 2.0.10-10.el7 | RHSA-2018:2825 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | apache2-mod_perl | 2.0.8-13.5.1 | SUSE-SU-2019:3213-1 |
| SLES 12 SP4 | apache2-mod_perl | 2.0.8-13.5.1 | SUSE-SU-2019:3213-1 |
| SLES 11 SP4 | apache2-mod_perl | 2.0.4-40.63.3.3 | SUSE-SU-2020:14266-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | apache2-mod_perl | 2.0.8-13.5.1 | SUSE-SU-2019:3213-1 |
| SLES for SAP 12 SP4 | apache2-mod_perl | 2.0.8-13.5.1 | SUSE-SU-2019:3213-1 |
| SUSE Package Hub 15 SP1 | apache2-mod_perl | 2.0.11-bp151.4.3.1 | openSUSE-SU-2019:2558-1 |
| SUSE Package Hub 15 | apache2-mod_perl | 2.0.11-bp151.4.3.1 | openSUSE-SU-2019:2558-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | apache2-mod_perl | 2.0.4-40.63.3.3 | SUSE-SU-2020:14266-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apache2-mod_perl | 2.0.11-2.12 | openSUSE-SU-2024:10626-1 |
| openSUSE Leap 15.1 | apache2-mod_perl | 2.0.11-lp151.3.3.1 | openSUSE-SU-2019:2549-1 |
| openSUSE Leap 15.0 | apache2-mod_perl | 2.0.11-lp151.3.3.1 | openSUSE-SU-2019:2549-1 |
Advisories 10
- RHSA-2018:2826 Red Hat Security Advisory: rh-perl524-mod_perl security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:2825 Red Hat Security Advisory: rh-perl526-mod_perl security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:2737 Red Hat Security Advisory: mod_perl security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3825-1 libapache2-mod-perl2 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-1507-1 libapache2-mod-perl2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10626-1 apache2-mod_perl-2.0.11-2.12 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:14266-1 Security update for apache2-mod_perl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:3213-1 Security update for apache2-mod_perl SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2558-1 Security update for apache2-mod_perl SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2549-1 Security update for apache2-mod_perl SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [debian-lts-announce] 20180918 [SECURITY] [DLA 1507-1] libapache2-mod-perl2 security update mailing-list
- 105195 vdb-entry
- USN-3825-1 vendor-advisory
- https://bugs.debian.org/644169
- RHSA-2018:2826 vendor-advisory
- https://mail-archives.apache.org/mod_mbox/perl-modperl/201110.mbox/raw/%3C20111004084343.GA21290%40ktnx.net%3E
- RHSA-2018:2825 vendor-advisory
- RHSA-2018:2737 vendor-advisory
- USN-3825-2 vendor-advisory
- [perl-modperl-cvs] 20190924 svn commit: r1867470 - /perl/modperl/trunk/src/modules/perl/mod_perl.c mailing-list
- openSUSE-SU-2019:2549 vendor-advisory
- openSUSE-SU-2019:2558 vendor-advisory