Skip to content
OpenAdvisories
Unscored Scanner template Public exploit CVE-2017-15715 EUVD-2017-7142GHSA-p3h3-wpw6-m7vf

In Apache httpd 2.4.0 to 2.4.29, the expression specified in <FilesMatch> could match '$' to a newline character in a malicious filename, r…

Published Mar 26, 2018 · Updated Sep 17, 2024 · Assigned by apache

Description

In Apache httpd 2.4.0 to 2.4.29, the expression specified in <FilesMatch> could match '$' to a newline character in a malicious filename, rather than matching only the end of the filename. This could be exploited in environments where uploads of some files are are externally blocked, but only by matching the trailing portion of the filename.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache HTTP Server 2.4.0 to 2.4.29 —

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.

ReleasePackageFixed inAdvisory
Debian 14 apache2 2.4.33-1 —
Debian 13 apache2 2.4.33-1 —
Debian 12 apache2 2.4.33-1 —
Debian 9 apache2 2.4.25-3+deb9u4 DSA-4164-1
Debian 8 apache2 2.4.10-10+deb8u12 DSA-4164-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS apache2 2.4.29-1ubuntu4.1 USN-3627-2
Ubuntu 16.04 LTS apache2 2.4.18-2ubuntu3.8 USN-3627-1
Ubuntu 14.04 LTS apache2 2.4.7-1ubuntu4.20 USN-3627-1
ReleasePackageFixed inAdvisory
RHEL 7 httpd +5 2.4.6-95.el7 RHSA-2020:3958
RHEL 7 mod_ssl +1 1:2.4.6-95.el7 RHSA-2020:3958
RHEL 3 httpd24-curl +2 7.61.1-1.el6 RHSA-2018:3558
RHEL 3 httpd24-httpd +5 2.4.34-7.el6 RHSA-2018:3558
RHEL 3 httpd24-mod_md 2.4.34-7.el7 RHSA-2018:3558
RHEL 3 httpd24-mod_ssl +1 1:2.4.34-7.el6 RHSA-2018:3558
RHEL 3 httpd24-nghttp2 +2 1.7.1-7.el6 RHSA-2018:3558
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Core Services 1 jbcs-httpd24 +1 1-6.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-apache-commons-daemon-jsvc 1:1.1.0-3.redhat_2.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-apr +1 1.6.3-31.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-apr-util +8 1.6.1-24.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.29-35.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_cluster-native 1.3.8-3.Final_redhat_2.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +2 1.2.46-1.redhat_1.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.29-35.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-nghttp2 +1 1.29.0-9.jbcs.el6 RHSA-2019:0367
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.0.2n-14.jbcs.el6 RHSA-2019:0367
ReleasePackageFixed inAdvisory
SLES 12 SP3 apache2 2.4.23-29.18.2 SUSE-SU-2018:1161-1
SLES 12 SP2 apache2 2.4.23-29.18.2 SUSE-SU-2018:1161-2, SUSE-SU-2018:1161-1
SLES 12 SP1 apache2 2.4.16-20.16.1 SUSE-SU-2018:0879-1
SLES 12 apache2 2.4.10-14.31.1 SUSE-SU-2018:0901-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 apache2 2.4.23-29.18.2 SUSE-SU-2018:1161-1
SLES for SAP 12 SP2 apache2 2.4.23-29.18.2 SUSE-SU-2018:1161-1
SLES for SAP 12 SP1 apache2 2.4.16-20.16.1 SUSE-SU-2018:0879-1
SUSE OpenStack Cloud 7 apache2 2.4.23-29.18.2 SUSE-SU-2018:1161-1
SUSE OpenStack Cloud 6 apache2 2.4.16-20.16.1 SUSE-SU-2018:0879-1
ReleasePackageFixed inAdvisory
Alpine v3.24 apache2 2.4.33-r0 —
Alpine v3.23 apache2 2.4.33-r0 —
Alpine v3.22 apache2 2.4.33-r0 —
Alpine v3.21 apache2 2.4.33-r0 —
Alpine v3.20 apache2 2.4.33-r0 —
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 apache2 2.4.33-r0 —
Alpine v3.18 apache2 2.4.33-r0 —
Alpine v3.17 apache2 2.4.33-r0 —
Alpine v3.16 apache2 2.4.33-r0 —
Alpine v3.15 apache2 2.4.33-r0 —
Alpine v3.14 apache2 2.4.33-r0 —
Alpine v3.13 apache2 2.4.33-r0 —
Alpine v3.12 apache2 2.4.33-r0 —
Alpine v3.11 apache2 2.4.33-r0 —
Alpine v3.10 apache2 2.4.33-r0 —
Alpine v3.9 apache2 2.4.33-r0 —
Alpine v3.8 apache2 2.4.33-r0 —
Alpine v3.7 apache2 2.4.33-r0 —
Alpine v3.6 apache2 2.4.33-r0 —
Alpine v3.5 apache2 2.4.33-r0 —
Alpine v3.4 apache2 2.4.33-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 httpd +5 2.4.6-95.0.1.el7 ELSA-2020-3958
Oracle Linux 7 mod_ssl +1 1:2.4.6-95.0.1.el7 ELSA-2020-3958

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 12

References