CVE-2007-6057: RFI in datecomm Social Networking Script index.php
- Vendor
- Datecomm
A remote file inclusion (RFI) vulnerability exists in index.php of the datecomm Social Networking Script (Myspace Clone Script). The vulnerability is due to improper sanitization of the 'pg' parameter, which allows remote attackers to include and execute arbitrary PHP code by supplying a malicious URL.
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 compromise of the affected system, data theft, or further attacks against users and infrastructure.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, disable allow_url_fopen and allow_url_include in the PHP configuration. Additionally, implement input validation and sanitization for all user-supplied parameters, especially those used in file inclusion functions.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of the datecomm Social Networking Script where user input is properly sanitized and validated before being used in file inclusion operations. Ensure that allow_url_fopen and allow_url_include are disabled in the PHP configuration if not required.
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-6057 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-6057 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-6057?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2007-6057. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2007-6057?
- Upgrade to a fixed version of the datecomm Social Networking Script where user input is properly sanitized and validated before being used in file inclusion operations. Ensure that allow_url_fopen and allow_url_include are disabled in the PHP configuration if not required.
- What products are affected by CVE-2007-6057?
- Datecomm Social Networking Script.
- How severe is CVE-2007-6057?
- CVE-2007-6057 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 5.8% (93rd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.