← back
CVE-2024-56516

free-one-api uses md5 for password storage

CVSS 6.9 MEDIUMEPSS 0.3%CWE-328
In short

free-one-api stores user passwords using MD5, an outdated and weak hashing method that can be easily cracked. This puts user accounts at risk of being compromised if the password database is leaked.

Technical detail

The application uses MD5 to hash passwords before transmission to the backend (CWE-328: Weak Hash). MD5 is cryptographically broken and vulnerable to collision attacks; compromised or intercepted hashes can be rapidly reversed using precomputed rainbow tables or GPU-accelerated attacks, leading to unauthorized account access.

Summary generated and translated by AI from the official description.
free-one-api allows users to access large language model reverse engineering libraries through the standard OpenAI API format. In versions up to and including 1.0.1, MD5 is used to hash passwords before sending them to the backend. MD5 is a cryptographically broken hashing algorithm and is no longer considered secure for password storage or transmission. It is vulnerable to collision attacks and can be easily cracked using modern hardware, exposing user credentials to potential compromise. As of time of publication, a replacement for MD5 has not been committed to the free-one-api GitHub repository.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Affected products
RockChinQ · free-one-api

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →