Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain database read access (SQL injection or exposed port)
-
DeliveryQuery faqattachment table for password_hash values
-
ExploitApply SHA-1 rainbow tables or collision tools to recover plaintext keys
-
ExecutionUse recovered keys to decrypt protected attachment files
-
ImpactExfiltrate sensitive attachment content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Irreversible hash functions
|
| Exploitation Conditions | Exploitation of the weak hash requires an attacker to first obtain stored SHA-1 password hashes from the |
| Impact | CVSS 4.0 scores this at 2.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N), which accurately reflects the constrained real-world impact: confidentiality impact is limited (VC:L) and no integrity or availability consequences are assessed. The PR:N vector warrants note - while no authentication is required in the CVSS model, exploiting the weak hash in practice requires an attacker to first obtain the |
| Exploit ScenarioDerived | An attacker who gains read access to the phpMyFAQ database - through SQL injection in another part of the application, a misconfigured database port, or a leaked backup - extracts the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Weak cryptographic hashing of attachment passwords in phpMyFAQ prior to 4.1.4 exposes protected attachment credentials to offline cracking or collision-based forgery. The application stored SHA-1 hashes of per-attachment passwords in the database column password_hash, computed via sha1((string) $key) in AbstractAttachment::setKey(). Because SHA-1 has been cryptographically broken since the 2017 SHAttered collision attack, an attacker who obtains these database-stored hashes faces significantly weakened resistance compared to a modern algorithm. No active exploitation is confirmed (CISA KEV: no; exploit status E:U per CVSS 4.0), and the CVSS 4.0 base score of 2.7 reflects limited real-world impact.
RemediationAI
Upgrade phpMyFAQ to version 4.1.4, which removes SHA-1 password hash storage entirely via commit 1aa9be6f8a2fa5c527c983826205229fc3129718. The vendor advisory is available at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-58fg-62fg-3fcj. After upgrading, administrators should audit the faqattachment database table for any existing password_hash column values and consider them compromised if the database was accessible to unauthorized parties - the column is dropped in the patched schema but historical rows written by prior versions may persist in database backups. No effective workaround exists short of upgrading, since the weak hash is embedded in application logic; restricting database network access reduces the risk of hash exfiltration but does not eliminate the underlying cryptographic weakness.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
phpMyFAQ (CPE: cpe:2.3:a:thorsten:phpmyfaq:*:*:*:*:*:*:*:*) is a PHP-based open-source FAQ application. The vulnerability is rooted in CWE-328 (Use of Weak Hash): the AbstractAttachment class in phpmyfaq/src/phpMyFAQ/Attachment/AbstractAttachment.php applied PHP's native sha1() function to attachment encryption keys and persisted the resulting 160-bit digest in the database. SHA-1 is structurally broken for security use - collision attacks are computationally feasible (demonstrated by SHAttered in 2017), and preimage attacks are within reach given sufficient compute. The fix (commit 1aa9be6f) entirely removes the passwordHash property, eliminates password_hash from all INSERT and SELECT statements, and simplifies setKey() to no longer hash or store the key, addressing the root cause by removing the weak hash storage mechanism rather than substituting a stronger algorithm.
Know when Phpmyfaq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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/E:U
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
phpMyFAQ is an open source FAQ web application. Prior to version 4.1.4, attachment passwords are hashed using SHA-1, a cryptographically broken algorithm. SHA-1 has been vulnerable to collision attacks since 2017 (SHAttered). Version 4.1.4 fixes the issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una
Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8
Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th
Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS
In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
EUVD-2026-35091
GHSA-58fg-62fg-3fcj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB