PT-2026-86918 · Ash+1 · Ash Authentication Oauth2 Server
CVSS v4.0
8.2
High
| Vector | AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Summary
Allocation of Resources Without Limits or Throttling vulnerability in ash-project ash authentication oauth2 server allows an unauthenticated attacker to exhaust database storage and memory.
The
/authorize endpoint is unauthenticated by design. With Client ID Metadata Documents enabled, resolve client/3 in AshAuthentication.Oauth2Server.CIMD fetches the document for each new URL-shaped client id and upserts a client row, with no cap on the number of rows, no expiry or garbage collection, and no length bound on the fetched fields; the document was also placed in CIMD.Cache before validation, so even rejected documents held cache memory until their TTL. An attacker serving valid documents at many distinct URLs creates one permanent client row per URL, each able to carry multi-megabyte strings, growing storage and memory without bound.This issue affects ash authentication oauth2 server: from 0.3.0 before 0.3.1.
Configurations
Reachable only when the client resource has Client ID Metadata Documents enabled (
cimd enabled?: true) and the authorize endpoint is exposed. CIMD is off by default.Exploit
Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ash Authentication Oauth2 Server