nuclei-templates/http/exposed-panels/aspcms-backend-panel.yaml

39 lines
1.1 KiB
YAML

id: aspcms-backend-panel
info:
name: Aspcms Backend Panel - Detect
author: SleepingBag945
severity: info
description: |
ASPcms /plug/oem/AspCms_OEMFun.asp leak backend url.
reference:
- https://github.com/GREENHAT7/pxplan/blob/main/goby_pocs/Aspcms_Backend_Leak.json
metadata:
verified: true
max-request: 2
fofa-query: app="ASPCMS"
tags: panel,login,aspcms,admin
http:
- raw:
- |
GET /plug/oem/AspCms_OEMFun.asp HTTP/1.1
Host: {{Hostname}}
- |
GET {{path}} HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
internal: true
name: path
group: 1
regex:
- "top.location.href='(.*?)'"
matchers:
- type: dsl
dsl:
- 'status_code_1 == 200 && contains(body_1,"alert(")'
- 'status_code_2 == 200 && contains(body_2,"var txtUserName = document.getElementById(")'
condition: and
# digest: 490a004630440220234479820f4cc17b655263c9954725359c7d3dcb06092d722a81fa09cc027c2d02204e2d96c6500cad3ed9161ad8d9b391630442e9f68ac7cc0dfc0332a2c71de186:922c64590222798bb761d5b6d8e72950