CVE-2014-125115
An unauthenticated SQL injection vulnerability exists in Pandora …
An unauthenticated SQL injection vulnerability exists in Pandora FMS version 5.0 SP2 and earlier. The mobile/index.php endpoint fails to properly sanitize user input in the loginhash_data parameter, allowing attackers to extract administrator credentials or active session tokens via crafted requests. This occurs because input is directly concatenated into an SQL query without adequate validation, enabling SQL injection. After authentication is bypassed, a second vulnerability in the File Manager component permits arbitrary PHP file uploads. The file upload functionality does not enforce MIME-type or file extension restrictions, allowing authenticated users to upload web shells into a publicly accessible directory and achieve remote code execution.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/p
- web.archive.org/web/20140304121149/http://blog.pandorafms.org/?p=2041
- web.archive.org/web/20140331231237/http://pandorafms.com/downloads/whats_new_5-SP3.pdf
- www.exploit-db.com/exploits/35380
- www.vulncheck.com/advisories/pandora-fms-default-creds-sqli-rce
- nvd.nist.gov/vuln/detail/CVE-2014-125115
- cve.org/CVERecord?id=CVE-2014-125115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.