Description
DoraCMS through 3.1.0 contains a mass assignment vulnerability in the PUT /api/v1/user/api-keys/:id endpoint that allows authenticated low-privileged users to rebind their API key to another user's account. Attackers can set the userId field on their own key to a victim's id, then act as that victim to modify profiles and publish or delete content.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| doramart | DoraCMS | ≤ 3.1.0 | — |
References
- https://github.com/doramart/DoraCMS/commit/ede38eb06e0becbee9f19190ebf3ada90a369eb0 patch
- https://vul.yulun.ac.cn/20261102/doracms/ exploit
- https://github.com/doramart/DoraCMS/blob/70cf0fc6dba66ec51747162a3ce71da43baf251b/server/app/service/apiKey.js technical-description
- VulnCheck Advisory: DoraCMS through 3.1.0 Mass Assignment via API Key Update Endpoint third-party-advisory