Severity: MEDIUM
Location: src/Middleware/RateLimitMiddleware.php:61
Bug: GET + POST of overlapping paths share the counter.
Fix: Include method in the key.
Status: open. Will reply with remediation details when resolved.
Severity: MEDIUM
Location: src/Middleware/RateLimitMiddleware.php:61
Bug: GET + POST of overlapping paths share the counter.
Fix: Include method in the key.
Status: open. Will reply with remediation details when resolved.
Resolved.
RateLimitMiddleware now includes the HTTP method in the hash key (src/Middleware/RateLimitMiddleware.php):
$key = hash('sha256', $ip . '|' . $method . '|' . $path, true);
GET and POST to the same path no longer share a counter. A benign user's GET traffic against a route that collides with a write-path POST can't suppress their ability to make POSTs.
Locking this thread.
We noticed you are visiting from a mobile device. We are glad you are here, but know that 6502ish is best experienced on the desktop. Some features are not easily used via mobile and your experience may vary from the full experience via desktop.