MISP Auth Key Creation Type Confusion Allows Unauthorized Key for Adjacent User
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MISP | MISP | affected |
|
No data.
No data.
No data available yet.
Vendor Solution
The fix enforces strict type validation on the user identifier parameter in both the controller and the model layer. Only native integers or digit-only strings are accepted; any other type (including floating-point numbers) is rejected with an authorization error before the value reaches the persistence layer. This eliminates the discrepancy between the authorization check and the storage layer, preventing the type confusion from being exploited.
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | MISP Auth Key Creation Type Confusion Allows Unauthorized Key for Adjacent User | |
| First Time appeared |
Misp
Misp misp |
|
| Weaknesses | CWE-20 CWE-843 |
|
| CPEs | cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Misp
Misp misp |
|
| References |
| |
| Metrics |
cvssV4_0
|