Global Variable Overwrite and Remote PHP File Inclusion in Mambo Site Server
CVE-2005-3738 affects Mambo Site Server 4.0.14 and earlier when PHP register_globals is disabled. The application's global-variable initialization logic allows remote attackers to overwrite entries in the GLOBALS array. Manipulating the mosConfig_absolute_path parameter enables remote PHP file inclusion, potentially allowing attacker-controlled PHP code to execute.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Remote attackers can alter application global variables and redirect PHP file inclusion to attacker-controlled code. Successful inclusion can enable code execution in the application's execution context. The full scope of additional attacks enabled by global-variable manipulation is unspecified.
If you can’t patch tonight, do this now.
As an immediate mitigation, disable remote file inclusion at the PHP configuration level by preventing URL-based includes where supported, and restrict outbound network access from the web server to reduce the usefulness of remote include attacks. Apply strict input validation to parameters that influence file paths, hardcode include paths where possible, and deploy web application firewall rules to detect and block attempts to set GLOBALS members or abuse mosConfig_absolute_path. Limiting PHP file write and execution capabilities and isolating the web server process can also reduce impact.
Patch, then assume compromise.
Upgrade Mambo Site Server to a version newer than 4.0.14 if a vendor-fixed release is available. Review and patch globals.php and related code paths to prevent user-controlled input from overwriting entries in the GLOBALS array. Eliminate reliance on register_globals-era variable handling patterns, validate and sanitize all externally supplied parameters, and ensure file include paths cannot be influenced by user input such as mosConfig_absolute_path.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.