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:
fofa-query: app="ASPCMS"
max-request: 2
verified: true
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: 4a0a00473045022100e039d5a7adae4d72297ac42094fd0ef69bf43894b8e392c474c653a8ba5f09110220163fad65f1b2a8d7040ca2d3816646e2cd5ca043cdd6b6f52bcd745a5901750d:922c64590222798bb761d5b6d8e72950