cve.bz

CVE-2017-15715 Improper Input Validation

8.1 highEPSS 86%

High (8.1). EPSS 86% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.0

8.1 high
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
86% (unchanged from 86% a week ago; 85% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
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-2017-15715 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-15715?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-15715?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-2017-15715 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:http_serverfrom 2.4.0 through 2.4.29
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux7.4
redhat:enterprise_linux7.5
redhat:enterprise_linux7.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8apache22.4.10-10+deb8u12DSA-4164-1
Debian9apache22.4.25-3+deb9u4DSA-4164-1
Debian12, 13, 14apache22.4.33-1DEBIAN-CVE-2017-15715
Ubuntu14.04:LTSapache22.4.7-1ubuntu4.20UBUNTU-CVE-2017-15715 USN-3627-1
Ubuntu16.04:LTSapache22.4.18-2ubuntu3.8UBUNTU-CVE-2017-15715 USN-3627-1
Ubuntu18.04:LTSapache22.4.29-1ubuntu4.1UBUNTU-CVE-2017-15715 USN-3627-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morehttpd, mod_ldap, httpd-devel and 4 more0:2.4.6-95.el7RHSA-2020:3958
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moremod_ssl, mod_proxy_html1:2.4.6-95.el7RHSA-2020:3958
Red Hatjboss_core_services:1::el6jbcs-httpd24, jbcs-httpd24-runtime0:1-6.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-apache-commons-daemon-jsvc, jbcs-httpd24-apache-commons-daemon-jsvc-debuginfo1:1.1.0-3.redhat_2.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.6.3-31.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-24.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.29-35.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.8-3.Final_redhat_2.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more0:1.2.46-1.redhat_1.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.29-35.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-nghttp2, jbcs-httpd24-nghttp2-devel, jbcs-httpd24-nghttp2-debuginfo0:1.29.0-9.jbcs.el6RHSA-2019:0367
Red Hatjboss_core_services:1::el6jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.0.2n-14.jbcs.el6RHSA-2019:0367
18 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1, OpenStack Cloud 6apache22.4.16-20.16.1SUSE-SU-2018:0879-1
SUSELinux Enterprise Server 12 SP2-BCLapache22.4.23-29.18.2SUSE-SU-2018:1161-2
SUSELinux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP2 and 3 moreapache22.4.23-29.18.2SUSE-SU-2018:1161-1
SUSELinux Enterprise Server 12-LTSSapache22.4.10-14.31.1SUSE-SU-2018:0901-1
Alpinev3.4, v3.5, v3.6 and 18 moreapache22.4.33-r0ALPINE-CVE-2017-15715

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; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The "FilesMatch" directive is not enabled in the default httpd configuration as shipped with Red Hat Enterprise Linux, and needs to be explicitly enabled. Therefore this flaw has no impact on the default versions of the httpd package as shipped with Red Hat Enterprise Linux.

Red Hat Satellite 6 uses Red Hat Enterprise Linux 7's httpd package, and enables the "FilesMatch" directive. However, this is not believed to have an impact on security, as, in the context of a Satellite, no one is expected to have the ability to modify file names in the concerned directories. This is not considered as a vector for attack.

ProductPackageStateAdvisory
JBoss Core Services on RHEL 6jbcs-httpd24-0:1-6.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-apache-commons-daemon-jsvc-1:1.1.0-3.redhat_2.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-apr-0:1.6.3-31.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-apr-util-0:1.6.1-24.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-httpd-0:2.4.29-35.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-mod_cluster-native-0:1.3.8-3.Final_redhat_2.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-mod_jk-0:1.2.46-1.redhat_1.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-nghttp2-0:1.29.0-9.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 6jbcs-httpd24-openssl-1:1.0.2n-14.jbcs.el6Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-0:1-6.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-apache-commons-daemon-jsvc-1:1.1.0-3.redhat_2.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-apr-0:1.6.3-31.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-apr-util-0:1.6.1-24.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.29-35.jbcs.el7Fixed 2019-02-18RHSA-2019:0367
Red Hat Enterprise Linux 5httpdNot affected
Red Hat Enterprise Linux 6httpdWill not fix
Red Hat Enterprise Linux 8httpdNot affected
Red Hat JBoss Enterprise Web Server 2httpdWill not fix
Red Hat JBoss Web Server 3httpdNot affected
Red Hat Mobile Application Platform 4rhmap-httpd-dockerNot affected
21 more in the JSON and on Red Hat's page.

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-2017-15715.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON