PHP Remote File Inclusion in SunShop Shopping Cart < 3.5.1
Multiple remote file inclusion vulnerabilities exist in Turnkey Web Tools SunShop Shopping Cart versions prior to 3.5.1. The vulnerabilities are due to insufficient sanitization of the 'abs_path' parameter in 'index.php' and 'checkout.php', allowing attackers to specify a remote URL which is then included and executed as PHP code.
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 PHP code on the affected server, potentially leading to full compromise of the application and underlying system.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable allow_url_fopen and allow_url_include in the PHP configuration to prevent remote file inclusion. Additionally, implement input validation to restrict the 'abs_path' parameter to local, expected values only.
Patch, then assume compromise.
Upgrade to SunShop Shopping Cart version 3.5.1 or later, where the vulnerable code has been corrected to properly validate and sanitize user-supplied input to the 'abs_path' parameter.
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.