CVE-2006-5636: Remote File Inclusion in Simple Website Software (SWS) 0.99 and earlier
- Vendor
- Sws
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
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.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2006-5636 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2006-5636 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2006-5636?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2006-5636.
- Is there a patch for CVE-2006-5636?
- 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.
- What products are affected by CVE-2006-5636?
- Sws Simple Website Software.
- How severe is CVE-2006-5636?
- CVE-2006-5636 has a CVSS v2 score of 5.1 (Medium) and an EPSS score of 3.4% (89th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.