id: thinkphp-errors info: name: ThinkPHP Errors - Sensitive Information Exposure author: j4vaovo severity: medium description: ThinkPHP error is leaking sensitive info. classification: cpe: cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: thinkphp product: thinkphp fofa-query: app="ThinkPHP" && title="System Error" tags: thinkphp,misconfig,exposure http: - method: GET path: - "{{BaseURL}}" matchers-condition: and matchers: - type: word part: body words: - "_DATABASE" - "_USERNAME" - "_PASSWORD" condition: and - type: word part: body words: - "系统发生错误" - "System Error" condition: or - type: word part: body words: - "Exception" - "REQUEST_TIME" condition: and - type: status status: - 200 - 500 - 404 condition: or # digest: 4b0a00483046022100f4ac7536c8eca2843d9a080c3c0771f128abbab942216223578fbfa25bd2165d02210084c6a4a37dc6d3624f610ff3ca33bf33463395e9aca24d8b0ce097dee5965521:922c64590222798bb761d5b6d8e72950