CVE-2017-15715
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.
What to do
Likely to be exploited: EPSS gives a 86% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | apache2 | Fixed | 2.4.29-1ubuntu4.1 | UBUNTU-CVE-2017-15715 |
| Ubuntu 16.04 | apache2 | Fixed | 2.4.18-2ubuntu3.8 | UBUNTU-CVE-2017-15715 |
| Ubuntu 14.04 | apache2 | Fixed | 2.4.7-1ubuntu4.20 | UBUNTU-CVE-2017-15715 |
| Debian 14 | apache2 | Fixed | 2.4.33-1 | DEBIAN-CVE-2017-15715 |
| Debian 13 | apache2 | Fixed | 2.4.33-1 | DEBIAN-CVE-2017-15715 |
| Debian 12 | apache2 | Fixed | 2.4.33-1 | DEBIAN-CVE-2017-15715 |
| Red Hat Enterprise Linux 8 | httpd | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-filesystem | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_http2 | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_ldap | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_md | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_proxy_html | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_session | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_ssl | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd | Fixed | 0:2.4.6-95.el7 | RHSA-2020:3958 |
| Red Hat Enterprise Linux 7 | httpd-devel | Fixed | 0:2.4.6-95.el7 | RHSA-2020:3958 |
| Red Hat Enterprise Linux 7 | httpd-manual | Fixed | 0:2.4.6-95.el7 | RHSA-2020:3958 |
| Red Hat Enterprise Linux 7 | httpd-tools | Fixed | 0:2.4.6-95.el7 | RHSA-2020:3958 |
| Red Hat Enterprise Linux 7 | mod_ldap | Fixed | 0:2.4.6-95.el7 | RHSA-2020:3958 |
| Red Hat Enterprise Linux 7 | mod_proxy_html | Fixed | 1:2.4.6-95.el7 | RHSA-2020:3958 |
| Red Hat Enterprise Linux 7 | mod_session | Fixed | 0:2.4.6-95.el7 | RHSA-2020:3958 |
| Red Hat Enterprise Linux 7 | mod_ssl | Fixed | 1:2.4.6-95.el7 | RHSA-2020:3958 |
| Red Hat Enterprise Linux 6 | httpd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-manual | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mod_ssl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | httpd | Not affected | ||
| Alpine Linux 3.24 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.23 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.22 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.21 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.20 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.19 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.18 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.17 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.16 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.15 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.14 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.13 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.12 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.11 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.10 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.9 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.8 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.7 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.6 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.5 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
| Alpine Linux 3.4 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2017-15715 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache HTTP Server: affected: 2.4.0 to 2.4.29
Vendor advisories:
- https://usn.ubuntu.com/3627-1/ (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4164 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:3558 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:0367 (vendor-advisory)
- https://usn.ubuntu.com/3627-2/ (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:0366 (vendor-advisory)
References
- https://usn.ubuntu.com/3627-1/
- https://www.debian.org/security/2018/dsa-4164
- https://security.netapp.com/advisory/ntap-20180601-0004/
- https://access.redhat.com/errata/RHSA-2018:3558
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03909en_us
- https://access.redhat.com/errata/RHSA-2019:0367
- https://usn.ubuntu.com/3627-2/
- http://www.securityfocus.com/bid/103525
- http://www.securitytracker.com/id/1040570
- https://httpd.apache.org/security/vulnerabilities_24.html
- http://www.openwall.com/lists/oss-security/2018/03/24/6
- https://access.redhat.com/errata/RHSA-2019:0366
- https://lists.apache.org/thread.html/56c2e7cc9deb1c12a843d0dc251ea7fd3e7e80293cde02fcd65286ba%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/84a3714f0878781f6ed84473d1a503d2cc382277e100450209231830%40%3Ccvs.httpd.apache.org%3E
- https://security.elarlang.eu/cve-2017-15715-apache-http-server-filesmatch-bypass-with-a-trailing-newline-at-the-end-of-the-file-name.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.