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.
Attack Parameters
Impact Assessment
CVSS Vector v4.0