nuclei-templates/http/vulnerabilities/discuz/discuz-api-pathinfo.yaml

40 lines
820 B
YAML

id: discuz-api-pathinfo
info:
name: Discuz! X2.5 - Path Disclosure
author: ritikchaddha
severity: low
description: Discuz! X2.5 api.php path disclosure vulnerability
reference:
- https://crx.xmspace.net/discuz_x25_api_php.html
- http://www.1314study.com/t/87417.html
metadata:
max-request: 1
verified: true
shodan-query: title:"Discuz!"
fofa-query: title="Discuz!"
tags: discuz,info,disclosure
http:
- method: GET
path:
- '{{BaseURL}}/api.php?mod[]=auto'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '.php</b> on line'
- 'function.array'
condition: and
- type: word
part: header
words:
- 'text/html'
- type: status
status:
- 200