Remote File Inclusion in phpht Topsites FREE 1.022b config.php
A remote file inclusion vulnerability exists in phpht Topsites FREE 1.022b, specifically in config.php, where the 'fullpath' parameter is not properly sanitized, allowing remote attackers to include and execute arbitrary PHP code from a remote URL.
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 compromise of the affected system, including data theft, defacement, or use as a platform for further attacks.
If you can’t patch tonight, do this now.
Disable allow_url_fopen and allow_url_include in the PHP configuration to prevent remote file inclusion. Additionally, use input validation to restrict the 'fullpath' parameter to only allow local, expected values.
Patch, then assume compromise.
Upgrade to a version of phpht Topsites FREE that properly sanitizes user input in config.php, or apply a patch that ensures the 'fullpath' parameter cannot be used for remote file inclusion. If no patch is available, consider replacing the software with a maintained alternative.
No validated public exploits yet. Hidden: 1 not loaded here.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.