CVE-2007-3220
NoneCVSS
—
EPSS
62.7%
Published
Jun 14, 2007
CISA due date
—
Cloudanix analysis
An old website module lets attackers run their own programs on the server simply by sending a specially crafted web request.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Remote file inclusion flaw allows arbitrary PHP code execution by supplying a remote URL via the spaw_root parameter in spaw_control.class.php, leading to full server-side code execution with web server privileges.
Why it matters to the business
Legacy unpatched installations remain exposed to complete server takeover, data theft, or use as a foothold for further network attacks; high exploit probability increases urgency for any still-running instances despite the module's age.
How an attack unfolds
An attacker locates the vulnerable endpoint and appends a malicious remote URL to the spaw_root parameter; the server fetches and executes the attacker-controlled PHP payload, granting remote code execution without authentication.
How to fix it
Remove or disable the Cjay Content 3 module entirely; if functionality is required, replace it with a maintained equivalent and ensure all PHP applications enforce allow-listing or disable remote includes via configuration directives such as allow_url_include=Off.
How to confirm the fix worked
Scan web roots for presence of admin/editor2/spaw_control.class.php; attempt controlled requests with a non-existent spaw_root value and observe inclusion errors; verify server configuration blocks remote URL includes.
Typical attack path
- Identify publicly reachable instance of the affected module
- Craft HTTP request injecting attacker-controlled URL into spaw_root parameter
- Remote server fetches and includes the supplied PHP file
- Arbitrary code executes under web server context
- Attacker establishes persistence, exfiltrates data, or pivots internally
How to detect it
Search web server access logs for requests containing the spaw_root parameter with external URLs or unexpected protocols; inspect file system for recently created or modified PHP files in web directories; review process execution logs for unexpected PHP interpreter activity triggered by the module path.
- spaw_root=
- admin/editor2/spaw_control.class.php
- spaw_control.class.php
What your security team should do
- Immediately inventory all deployments of the XOOPS Cjay Content module and isolate or decommission affected systems
- Block external network access to any remaining instances until removal is complete
- Add web application firewall rules to drop requests containing spaw_root
- Review historical logs for prior exploitation attempts given the exploit's public availability and elevated EPSS score
The record
PHP remote file inclusion vulnerability in admin/editor2/spaw_control.class.php in the Cjay Content 3 module for XOOPS allows remote attackers to execute arbitrary PHP code via a URL in the spaw_root parameter. NOTE: this may be a duplicate of CVE-2006-4656.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|