forked from mtusi2026/mtusi2026lab7
26 lines
2.3 KiB
Plaintext
26 lines
2.3 KiB
Plaintext
PASS setup: chat + attachment 202
|
|
PASS outsider GET /api/v1/chats/{chat} -> 404 (no existence leak) 404
|
|
PASS outsider GET /api/v1/chats/{chat}/messages -> 404 (no existence leak) 404
|
|
PASS outsider POST /api/v1/chats/{chat}/messages -> 404 (no existence leak) 404
|
|
PASS outsider GET /api/v1/attachments/{att} -> 404 (no existence leak) 404
|
|
PASS outsider GET /api/v1/attachments/{att}/content -> 404 (no existence leak) 404
|
|
PASS outsider attaches foreign attachment to own chat -> 404 404
|
|
PASS X-User-Id cannot override Bearer identity eve_c7dfed486e
|
|
PASS X-User-Id alone -> 401 + WWW-Authenticate Bearer Bearer realm="messenger"
|
|
PASS Basic on business endpoint -> 401 401
|
|
PASS unknown/forged token -> 401 401
|
|
PASS logout 204 -> token rejected 401 -> repeat logout 401 (204, 401, 401)
|
|
PASS wrong password -> 401, body has no username/password/hash {"error":{"code":"unauthorized","message":"Authentication required","request_id"
|
|
PASS malformed JSON -> 400 without stack trace/SQL {"error":{"code":"invalid_request","message":"Invalid request","request_id":"AC1
|
|
PASS login brute force -> 429 rate_limited + Retry-After [401, 401, 401, 401, 401, 401, 401, 401, 401, 429, 429, 429] Retry-After=21
|
|
PASS rate limit is shared: responses from >= 2 replicas ['api-1401d400', 'api-21bd9440']
|
|
PASS correct password while locked out -> 429 (no oracle) 429
|
|
PASS JSON body 70 KB -> 413 payload_too_large from LB (before any replica) instance=None
|
|
PASS chunked JSON 70 KB -> 413 payload_too_large (API) instance=api-1401d400
|
|
PASS upload 10 MiB + 1 byte -> 413 413
|
|
PASS wrong server name -> certificate verification error Hostname mismatch, certificate is not valid for 'evil.example'.
|
|
PASS empty trust store -> verification error unable to get local issuer certificate
|
|
PASS plaintext HTTP on HTTPS port is not served RemoteDisconnected
|
|
PASS grafana over HTTPS requires authentication 401
|
|
PASS: 24/24 checks
|