2021-09-17 07:29:34 +00:00
|
|
|
id: php-errors
|
2020-10-07 20:19:13 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: PHP errors
|
2021-10-21 08:33:49 +00:00
|
|
|
author: w4cky_,geeknik,dhiyaneshDK
|
2022-04-22 10:38:41 +00:00
|
|
|
severity: info
|
2024-09-10 09:08:16 +00:00
|
|
|
classification:
|
|
|
|
cpe: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
|
2022-07-04 08:46:15 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2024-09-10 08:22:50 +00:00
|
|
|
vendor: php
|
2024-09-10 09:08:16 +00:00
|
|
|
product: php
|
|
|
|
shodan-query: http.title:"PHP warning" || "Fatal error"
|
2023-06-02 23:20:49 +00:00
|
|
|
tags: debug,php,misconfig
|
2020-10-07 20:19:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-10-07 20:19:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2021-01-13 07:31:46 +00:00
|
|
|
- "{{BaseURL}}"
|
2020-10-07 20:19:13 +00:00
|
|
|
|
2021-09-03 16:28:42 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '(?i)Fatal error'
|
|
|
|
- '(?i)Call to undefined method'
|
|
|
|
- '(?i)You have an error in your SQL syntax'
|
|
|
|
- '(?i)MySQL server version for the right syntax to use near'
|
2021-09-03 17:09:59 +00:00
|
|
|
- '(?i)MySQL cannot create a temporary file'
|
2021-09-03 16:28:42 +00:00
|
|
|
- '(?i)PHP (Warning|Error)'
|
2021-10-21 08:33:49 +00:00
|
|
|
- '(?m)^<title>([a-z /A-Z.(0-9):]+)?PHP warning([a-z /A-Z.(0-9):]+)?<\/title>$'
|
2021-09-03 16:28:42 +00:00
|
|
|
- '(?i)Warning\: (pg|mysql)_(query|connect)\(\)'
|
|
|
|
- '(?i)failed to open stream\:'
|
|
|
|
- '(?i)SAFE MODE Restriction in effect'
|
|
|
|
- '(?i)Cannot modify header information'
|
|
|
|
- '(?i)ORA-00921\: unexpected end of SQL command'
|
|
|
|
- '(?i)ORA-00933\: SQL command not properly ended'
|
|
|
|
- '(?i)ORA-00936\: missing expression'
|
|
|
|
- '(?i)ORA-12541\: TNS\:no listener'
|
|
|
|
- '(?i)uncaught exception'
|
|
|
|
- '(?i)include_path'
|
|
|
|
- '(?i)undefined index'
|
|
|
|
- '(?i)undefined variable\:'
|
|
|
|
- '(?i)stack trace\:'
|
|
|
|
- '(?i)expects parameter [0-9]*'
|
|
|
|
- '(?i)Debug Trace'
|
2022-11-10 10:30:24 +00:00
|
|
|
- '(?i)<b>Parse error</b>'
|
|
|
|
- '(?i)syntax error, unexpected'
|
2021-09-03 17:09:59 +00:00
|
|
|
- '(?i)Allowed Memory Size of \d* Bytes Exhausted'
|
|
|
|
- '(?i)Maximum execution time of \d* seconds exceeded'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
2024-09-10 09:08:16 +00:00
|
|
|
# digest: 4a0a004730450220253c9cfefeec7f15310fe83d714b5ca6145b0a01cf27947bebe4b9de25acdf4e022100b95ea3ebd9a8458311947ef44210a5752d427f1f37e68bdf5dd996655e909702:922c64590222798bb761d5b6d8e72950
|