CVE-2007-3221
NoneCVSS
—
EPSS
67.8%
Published
Jun 14, 2007
CISA due date
—
Cloudanix analysis
A flaw in an older 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
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Remote file inclusion in admin/spaw/spaw_control.class.php allows arbitrary PHP code execution by supplying a remote URL via the spaw_root parameter.
Why it matters to the business
Attackers can run malicious code on the server, leading to full site compromise, data theft, or use as a foothold for further attacks; high EPSS indicates elevated likelihood despite the vulnerability's age.
How an attack unfolds
An attacker locates a vulnerable XOOPS installation with the XT-Conteudo module, crafts a request that passes a remote malicious PHP URL in the spaw_root parameter, and causes the server to fetch and execute the attacker-controlled code.
How to fix it
Upgrade wordpress packages on Debian 11/12/13 to version 2.5.1-1 or later; remove or disable the vulnerable XT-Conteudo module if it is not required.
How to confirm the fix worked
Verify installed package versions match the fixed releases; confirm the spaw_control.class.php file is absent or updated; test that spaw_root parameter no longer accepts remote URLs.
Typical attack path
- Locate publicly reachable XOOPS sites running the XT-Conteudo module
- Craft HTTP request containing a remote URL in the spaw_root parameter
- Trigger inclusion and execution of attacker-supplied PHP code
- Establish persistence or pivot within the compromised environment
How to detect it
Review web server access logs for requests to admin/spaw/spaw_control.class.php that contain the spaw_root parameter pointing to external URLs; look for resulting PHP processes or files created by remote inclusion.
- spaw_root=http
- spaw_control.class.php
- /admin/spaw/spaw_control.class.php
What your security team should do
- Apply the 2.5.1-1 package updates on all affected Debian systems immediately
- Scan web server logs for historical requests containing spaw_root to identify prior exploitation attempts
- Remove unused third-party modules such as XT-Conteudo to reduce attack surface
The record
PHP remote file inclusion vulnerability in admin/spaw/spaw_control.class.php in the XT-Conteudo module for XOOPS allows remote attackers to execute arbitrary PHP code via a URL in the spaw_root parameter. NOTE: this issue is probably a duplicate of CVE-2006-4656.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|