Strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| strapi | strapi | affected |
|
||||||
| strapi | @strapi/plugin-users-permissions | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Strapi | Plugin-users-permissions |
|
||||||||
| Strapi | Strapi |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-7mqx-wwh4-f9fw | Strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.492% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Strapi plugin-users-permissions
|
|
| Vendors & Products |
Strapi plugin-users-permissions
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Strapi
Strapi strapi |
|
| CPEs | cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Strapi
Strapi strapi |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Strapi is an open source headless content management system. In Strapi versions prior to 5.45.0, the rate-limit middleware in the users-permissions plugin derived its rate-limit key in part from `ctx.request.body.email`, including on routes whose body schema does not contain an `email` field (`/auth/local`, `/auth/reset-password`, `/auth/change-password`). An unauthenticated attacker could include an arbitrary `email` value in the request body to obtain a fresh rate-limit key per request, effectively bypassing per-IP throttling on those routes and enabling high-volume credential brute-force, password-reset code brute-force, and credential-stuffing attempts. The rate-limit key was constructed as `${userIdentifier}:${requestPath}:${ctx.request.ip}`, where `userIdentifier = ctx.request.body.email`. On routes that legitimately use email as their identifier (e.g. `/auth/forgot-password`, `/auth/local/register`), this scoping is correct. On routes that use a different identifier (`identifier` for login, `code` for password reset, `currentPassword` for password change), the email field was not part of the route contract, but the middleware still incorporated it into the key, allowing a caller to rotate the value and obtain a unique key on every request. The patch in version 5.45.0 maintains an allow-list of routes that legitimately key on the email field and excludes that key component on every other route the middleware is mounted on. OAuth callback paths (`/connect/*`) are treated identifier-less. On routes outside the allow-list, the middleware now falls back to a fixed identifier-less key, ensuring per-IP throttling remains effective even when the request body is attacker-controlled. | |
| Title | Strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying | |
| Weaknesses | CWE-307 | |
| References |
| |
| Metrics |
cvssV4_0
|