CVE-2024-24554

Bludit - Insecure Token Generation

Published Jun 24, 2024 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
Description
Bludit uses predictable methods in combination with the MD5 hashing algorithm to generate sensitive tokens such as the API token and the user token. This allows attackers to authenticate against the Bludit API.

Analysis

No analysis available yet

Remediation

Vendor Solution

Generating secure API and user auth tokens in PHP involves creating unique and cryptographically secure strings that can be used as tokens for authentication purposes. The following code snippet is a basic example of how to generate secure API tokens in PHP: ```php function generateApiToken($length = 32) {     $token = bin2hex(random_bytes($length));     return $token; } ```


Vendor Workaround

Disable API.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-21972 Bludit uses predictable methods in combination with the MD5 hashing algorithm to generate sensitive tokens such as the API token and the user token. This allows attackers to authenticate against the Bludit API.
History
Type Values Removed Values Added
CPEs cpe:2.3:a:bludit:bludit:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N'}

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Sources

Status
PUBLISHED
Assigner
NCSC.ch
Published
Updated
Aug 1, 2024, 11:19 PM
Reserved
Jan 25, 2024, 2:02 PM
Status
Analyzed
Published
Jun 24, 2024, 8:15 AM
Modified
Jun 17, 2026, 7:14 AM