SQL Injection in PHPFox <3.6.0 (build6) via search[sort_by]
A SQL injection vulnerability exists in PHPFox versions prior to 3.6.0 (build6). The vulnerability is present in the handling of the 'search[sort_by]' parameter in the user/browse/view_/ endpoint, where user-supplied input is not properly sanitized before being incorporated into SQL queries. This allows remote attackers to inject arbitrary SQL commands into the application's database queries.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary SQL commands against the PHPFox application's database. This can lead to unauthorized data access, data modification, or deletion, and potentially full compromise of the application if further chained with other vulnerabilities.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, implement strict input validation and sanitization on the 'search[sort_by]' parameter, and consider using parameterized queries or prepared statements to prevent SQL injection. Additionally, restrict database user privileges to minimize the impact of a successful attack.
Patch, then assume compromise.
Upgrade PHPFox to version 3.6.0 (build6) or later, where the input validation and sanitization for the affected parameter has been properly implemented to prevent SQL injection.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.