Skip to content

Discuz! X2.5 - Path Disclosure

ID: discuz-api-pathinfo

Severity: low

Author: ritikchaddha

Tags: discuz,info,disclosure

Discuz! X2.5 api.php path disclosure vulnerability

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
classification:
cpe: cpe:2.3:a:comsenz:discuz\\!:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: comsenz
product: discuz\\!
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
# digest: 4b0a00483046022100d3f1bb6f100c8b6d8702ea884c87e08300205b90e1e353535f77c3804cae318e0221009fa5548e50fb02b0b5d60a325f20b5b2a6c5b1175e1b7922da05baa8639fbd37:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/discuz/discuz-api-pathinfo.yaml"

View on Github