Merge pull request #9254 from Facucuervo87/patch-1

Update CVE-2019-3403.yaml
patch-1
Dhiyaneshwaran 2024-03-16 21:43:09 +05:30 committed by GitHub
commit a26efeaccd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 16 deletions

View File

@ -34,25 +34,18 @@ http:
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: word - type: dsl
words: dsl:
- '"users":' - 'contains(header, "application/json")'
- '"total":' - 'contains_any(body, "\"users\":","\"usuario\":")'
- '"header":' - 'contains_all(body, "\"total\":", "\"header\":")'
- 'status_code == 200 || status_code == 404'
condition: and condition: and
- type: word
part: header
words:
- 'application/json'
- type: word - type: word
part: body part: body
negative: true
words: words:
- "Showing 0 of 0 matching users" - 'total":0'
negative: true
- type: status
status:
- 200
# digest: 490a0046304402200dac4b173635c33be17a18d63dcf3e04950e7031a22183f31a3287b2f333969502200fbfe5713faae01eb5d1c45b85c879c16ee54ccc6aa8fe722551a0d8f343f00d:922c64590222798bb761d5b6d8e72950 # digest: 490a0046304402200dac4b173635c33be17a18d63dcf3e04950e7031a22183f31a3287b2f333969502200fbfe5713faae01eb5d1c45b85c879c16ee54ccc6aa8fe722551a0d8f343f00d:922c64590222798bb761d5b6d8e72950