thorsten/phpmyfaq
Affected
- introduced
0, fixed4.1.4(ecosystem)
Fixed versions
4.1.4
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-48488
phpMyFAQ has Weak Cryptography - SHA1 for Password Hashing
Summary
Attachment passwords are hashed using SHA-1, a cryptographically broken algorithm. SHA-1 has been vulnerable to collision attacks since 2017 (SHAttered).
Details
Affected File : phpmyfaq/src/phpMyFAQ/Attachment/AbstractAttachment.php
<img width="810" height="427" alt="image" src="https://github.com/user-attachments/assets/6499a008-3ece-4291-8296-f1d3303ba35c" />
Impact
Solution
Use bcrypt:
public function setPassword(string $password): void
{
$this->passwordHash = password_hash($password, PASSWORD_BCRYPT);
}
public function verifyPassword(string $plainPassword): bool
{
return password_verify($plainPassword, $this->passwordHash);
}Low Basis: The source's own band: LOW
0, fixed 4.1.4 (ecosystem)4.1.4
The export has no generic command for this ecosystem.
0, fixed 4.1.4 (ecosystem)4.1.4
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0