MEDIUM
Bludit - Insecure Token Generation
Published Jun 24, 2024
6.0
MEDIUMCVSS 4.0
EPSS 0.24%
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.
Affected products
-
- Version 2.0StatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
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; } ```
Weaknesses (2)
References (2)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-21972 Advisory
- https://www.redguard.ch/blog/2024/06/20/security-advisory-bludit/ Third Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-21972 | Advisory | |
| https://www.redguard.ch/blog/2024/06/20/security-advisory-bludit/ | Third Party Advisory |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner NCSC.ch
Published Jun 24, 2024
Updated Aug 1, 2024
Reserved Jan 25, 2024
Link CVE-2024-24554
CISA Vulnrichment
Updated Jun 24, 2024
ENISA EUVD
EUVD-2024-21972 Assigner NCSC.ch
Published Jun 24, 2024
Updated Aug 1, 2024
Exploited since n/a
Link EUVD-2024-21972