漏洞描述
Checks for a valid chef.io account.
id: chefio-login-check
info:
name: Chef.io Login Check
author: parthmalhotra,pdresearch
severity: critical
description: Checks for a valid chef.io account.
reference:
- https://owasp.org/www-community/attacks/Credential_stuffing
metadata:
max-request: 1
tags: cloud,creds-stuffing,login-check,chefio
self-contained: true
http:
- raw:
- |
POST https://api.chef.io/login HTTP/1.1
Host: api.chef.io
Content-Type: application/x-www-form-urlencoded
utf8=%E2%9C%93&authenticity_token=&authenticity_token=&to=https://api.chef.io/login-success&username={{username}}&password={{password}}&commit=Sign+In
matchers-condition: and
matchers:
- type: word
part: header
words:
- 'Location: https://api.chef.io/login-success'
- type: status
status:
- 302
# digest: 4a0a00473045022100a43204fcd9b6c9fafcf9ea4ec08612c832b2da400d650d353f551464ceac876702202c5d1a2dfaffd69129833b737a6e2bc9d6ab41a5463457f6b3b4c6e165ff47b6:922c64590222798bb761d5b6d8e72950