[Security] No rate limiting / abuse protection on public POST /api/guest-orders #19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Identified during advisory review of #17 (guest checkout).
Problem
POST /api/guest-ordersis fully public (permitAll), with no captcha, throttling, or IP-based limiting. Each call inserts a DB row and generates a UUID. An attacker can:orderstable (DB bloat / DoS)./payendpoint).Unlike the authenticated path, there is no user account to ban.
Severity
Warning (high impact when combined with the honor-system
/paygap)Suggested fix
@RateLimiter, or a reverse proxylimit_reqfilter) on all/api/guest-orders/**endpoints.References