SQL Injection Vulnerability in Postfix Admin (CVE-2014-2655)
Summary
CVE-2014-2655: SQL injection vulnerability in the gen_show_status function in functions.inc.php in Postfix Admin (aka postfixadmin) before 2.3.7 allows remote authenticated users to execute arbitrary SQL commands via a new alias. Affects postfixadmin versions < 2.3.5-3. Fixed in 2.3.5-3. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Postfix Admin is a web-based management tool for Postfix mail servers, allowing administrators to manage email accounts, domains, and aliases through a user-friendly interface. The application is widely used in various environments for its simplicity and effectiveness in handling email server configurations. However, it has been found to have a significant SQL injection vulnerability that can be exploited by authenticated users.
Vulnerability Detail
The SQL injection vulnerability in Postfix Admin arises from the gen_show_status function in functions.inc.php, which fails to properly sanitize user input when creating new aliases. This oversight allows remote authenticated users to execute arbitrary SQL commands, potentially compromising the integrity of the database and exposing sensitive information. The vulnerability was introduced in versions prior to 2.3.7 and can lead to unauthorized data manipulation or retrieval.
How To Fix
Minimum fixed version
2.3.5-3
This is the first release that contains the fix.
sudo apt-get install --only-upgrade postfixadmin
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If upgrading is not immediately feasible, a temporary workaround is to restrict access to the gen_show_status function by implementing stricter user permissions. This can be done by reviewing user roles and ensuring that only trusted users have the ability to create new aliases.
Conclusion
The SQL injection vulnerability (CVE-2014-2655) in Postfix Admin poses a significant risk to users of the application. It is crucial to upgrade to version 2.3.7 or later to mitigate this risk. Additionally, implementing user permission restrictions can serve as a temporary measure until an upgrade can be performed.
See every vulnerability recorded for postfixadmin →
FAQ
CVE-2014-2655 is a SQL injection vulnerability found in Postfix Admin that allows authenticated users to execute arbitrary SQL commands.
If you are using a version of Postfix Admin prior to 2.3.7, your installation is vulnerable. You can check your version in the application settings.
Exploitation of this vulnerability can lead to unauthorized access to sensitive data, data manipulation, and potential compromise of the entire database.
Yes, tools like Vulert can monitor your application for open-source vulnerabilities in real-time using a manifest file like package-lock.json.
Vulert provides a platform to monitor and alert for open-source vulnerabilities without requiring code access. You can check your application against known vulnerabilities using the Vulert playground.
Related vulnerabilities
Recent vulnerabilities recorded for postfixadmin.