Remote File Inclusion in Simple Website Software (SWS) 0.99 and earlier
A remote file inclusion vulnerability exists in common.php in Simple Website Software (SWS) 0.99 and earlier. The vulnerability is due to improper validation of the SWSDIR parameter, which allows remote attackers to include and execute arbitrary PHP code by supplying a malicious URL. This can lead to full compromise of the affected web application.
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 server, potentially leading to full system compromise, data theft, defacement, or use of the server as a platform for further attacks.
If you can’t patch tonight, do this now.
Restrict access to the vulnerable script, disable allow_url_fopen and allow_url_include in the PHP configuration, and use web application firewalls to block malicious requests targeting the SWSDIR parameter.
Patch, then assume compromise.
Upgrade to a fixed version of Simple Website Software (SWS) that properly validates and sanitizes the SWSDIR parameter. If no patch is available, manually audit and correct the code to ensure that user-supplied input is not used in file inclusion operations without proper validation.
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.