
Cloud Vulnerability DB
A community-led vulnerabilities database
phpMyFAQ, an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases, was found to expose database server credentials when connection to the database fails. This vulnerability affects versions prior to 4.0.0 and was discovered in January 2024 (GitHub Advisory).
The vulnerability exists in the database connection error handling where, upon a failed connection attempt, the application exposes sensitive database credentials in error messages. This occurs specifically when the database server is unreachable or misconfigured. The issue has been assigned CVE-2024-54141 with a CVSS v3.1 score of 8.6 HIGH (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L). The vulnerability is classified as CWE-209: Generation of Error Message Containing Sensitive Information (NVD).
If exploited, this vulnerability could allow attackers to obtain database credentials when the database connection fails. With these credentials, an attacker could potentially gain full control over the database, leading to unauthorized access to sensitive data and potential system compromise (GitHub Advisory).
The vulnerability has been fixed in phpMyFAQ version 4.0.0. Users are advised to upgrade to this version or later. The fix includes adding SensitiveParameter attributes for database usernames and passwords, and improving error handling to prevent credential exposure (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."