0
OP Regular Newbie Apr 17, 2026 6:24pm

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.

0
Regular Newbie Apr 17, 2026 6:54pm

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.

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy