CVE-2007-3522
NoneCVSS
—
EPSS
66.2%
Published
Jul 3, 2007
CISA due date
—
Cloudanix analysis
An old web tool lets attackers run their own code on your server simply by sending a specially crafted web address, potentially giving them full control of the site.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Command Injection
- Remediation
- No Fix Yet
- Effort
- Other
- Patch risk
- None
What it actually does
Remote file inclusion in multiple PHP scripts allows an unauthenticated attacker to supply an arbitrary URL via the SpellIncPath parameter, causing the application to fetch and execute attacker-controlled PHP code on the server.
Why it matters to the business
Successful exploitation grants full control of the web server, enabling data theft, defacement, or use as a foothold for further network attacks; the affected product is obsolete with no vendor fixes available.
How an attack unfolds
An attacker identifies one of the vulnerable spellcheck scripts and appends a remote URL pointing to a malicious PHP payload in the SpellIncPath GET parameter; the server includes and executes the remote code, giving the attacker a web shell or direct command execution.
How to fix it
Immediately discontinue use of sPHPell 1.01; replace it with a supported spell-checking solution or remove the affected scripts entirely; if removal is impossible, apply input validation and disable remote URL inclusion in php.ini (allow_url_include=Off).
How to confirm the fix worked
Confirm the application no longer responds to SpellIncPath parameters by testing the four script paths with both local and remote values and verifying that only local includes succeed or that the scripts have been removed.
Typical attack path
- Scan for publicly reachable instances of spellcheckpageinc.php, spellchecktext.php, spellcheckwindow.php, or spellcheckwindowframeset.php
- Craft a request that sets SpellIncPath to a URL hosting attacker-controlled PHP code
- Trigger inclusion so the server fetches and executes the remote payload
- Use resulting shell to run commands, exfiltrate data, or pivot internally
How to detect it
Review web server access logs for requests to the four spellcheck scripts that contain SpellIncPath with http, https, ftp, or data URIs; look for subsequent execution of unexpected PHP files or creation of web shells in the application directory.
- SpellIncPath=
- spellcheckpageinc.php?
- spellchecktext.php?
- spellcheckwindow.php?
- spellcheckwindowframeset.php?
What your security team should do
- Block or remove the four vulnerable PHP files from all web roots
- Add WAF rules denying requests containing SpellIncPath=
- Scan historical web logs for prior exploitation attempts
- Replace the product with a maintained alternative
The record
Multiple PHP remote file inclusion vulnerabilities in sPHPell 1.01 allow remote attackers to execute arbitrary PHP code via a URL in the SpellIncPath parameter to (1) spellcheckpageinc.php, (2) spellchecktext.php, (3) spellcheckwindow.php, or (4) spellcheckwindowframeset.php.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|