CVE-2007-2185: PHP Remote File Inclusion in Supasite 1.23b
- Vendor
- Supasite
Supasite 1.23b contains multiple remote file inclusion (RFI) vulnerabilities in various PHP scripts, including common_functions.php, admin_auth_cookies.php, admin_mods.php, admin_news.php, admin_topics.php, admin_users.php, admin_utilities.php, site_comment.php, site_news.php, admin_settings.php, and backend_site.php. The vulnerabilities are due to insufficient sanitization of user-supplied input in the supa[db_path] and supa[include_path] parameters, allowing attackers to include and execute arbitrary PHP code from remote sources.
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, leading to full compromise of the affected web application and potentially the underlying system. Attackers can gain unauthorized access, modify site content, steal sensitive information, or use the server as a platform for further attacks.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, disable the affected scripts or restrict access to trusted users. Configure PHP to disallow remote file inclusion by setting 'allow_url_include=Off' and 'allow_url_fopen=Off' in php.ini. Employ web application firewalls to detect and block malicious requests exploiting these parameters.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of Supasite where user input is properly sanitized before being used in include or require statements. Ensure that register_globals is disabled and that user-supplied paths are validated and restricted to trusted locations.
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-2007-2185 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-2185 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-2185?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2007-2185. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2007-2185?
- Upgrade to a fixed version of Supasite where user input is properly sanitized before being used in include or require statements. Ensure that register_globals is disabled and that user-supplied paths are validated and restricted to trusted locations.
- What products are affected by CVE-2007-2185?
- Supasite.
- How severe is CVE-2007-2185?
- CVE-2007-2185 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 7.2% (94th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.