MISP Auth Key Creation Type Confusion Allows Unauthorized Key for Adjacent User
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MISPMISP |
< 2.5.52→ 2.5.52 |
2.5.52 |
Original description The description as published by the source.
MISP contains a type confusion vulnerability in the authentication key creation endpoint. When a user submits a floating-point value as the target user identifier, the authorization check truncates the value to an integer (matching the attacker's own account), while the persistence layer rounds the same value to a different integer (the next account in the sequence). This discrepancy allows an authenticated user with key-creation permission to generate an API authentication key belonging to another user.
Preconditions:
- The attacker must be an authenticated user with the permission to create authentication keys.
- The target user must have a consecutive numeric identifier immediately following the attacker's identifier.
Impact:
- Unauthorized creation of an API key for another user, granting the attacker access to that user's data and operations within the MISP instance.
- The vulnerability is trivially exploitable by substituting a carefully crafted floating-point value for the integer user identifier in the request.
Affected versions: MISP prior to 2.5.52.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com