CVE-2007-3358
NoneCVSS
—
EPSS
68.0%
Published
Jun 22, 2007
CISA due date
—
Cloudanix analysis
An outdated web tool lets attackers run their own programs on the server simply by sending a malicious web link.
- 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 html/load_lang.php permits an unauthenticated attacker to supply an arbitrary URL via the _SERWEB[serwebdir] parameter, causing the server to fetch and execute attacker-controlled PHP code.
Why it matters to the business
Successful exploitation grants full control of the web server, enabling data theft, persistence, or use as an attack pivot; the affected product is long obsolete with no vendor fixes, increasing operational risk for any remaining deployments.
How an attack unfolds
An attacker locates a reachable SerWeb instance, crafts a request to html/load_lang.php that sets _SERWEB[serwebdir] to a remote URL hosting malicious PHP, and the server includes and executes that code, giving the attacker a web shell or direct command execution.
How to fix it
Immediately remove or isolate any SerWeb 0.9.6 or earlier deployments; replace with a supported application, as no fixed versions exist and the product is unsupported.
How to confirm the fix worked
Confirm the application version is newer than 0.9.6 or absent; inspect web server configuration and file system for the vulnerable load_lang.php script and test that the _SERWEB[serwebdir] parameter is no longer processed.
Typical attack path
- Scan for exposed SerWeb html/load_lang.php endpoints
- Craft HTTP request injecting remote URL into _SERWEB[serwebdir] parameter
- Server fetches and executes attacker PHP payload
- Attacker obtains shell or escalates to further actions
How to detect it
Review web server access logs for requests to html/load_lang.php containing the _SERWEB[serwebdir] parameter with http/https URLs or unexpected remote hosts; inspect for subsequent execution of files fetched from attacker-controlled locations.
- _SERWEB[serwebdir]
- html/load_lang.php
- load_lang.php?_SERWEB
What your security team should do
- Block or redirect all traffic to legacy SerWeb instances
- Search asset inventories and network logs for references to load_lang.php or SerWeb
- Add network or WAF rules denying requests containing _SERWEB[serwebdir] with external URLs
- Treat any remaining instances as high-risk and schedule immediate decommissioning
The record
PHP remote file inclusion vulnerability in html/load_lang.php in SerWeb 0.9.6 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the _SERWEB[serwebdir] parameter.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|