Cloudanix VulnDB

CVE-2007-3236

None

CVSS

—

EPSS

77.0%

Published

Jun 15, 2007

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Attend

An old web module lets attackers run their own programs on the server simply by changing part of a web address, which can let them take over the site.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Trivial
Impact
Remote Code Execution
Component
Application
Class
RCE
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

Remote file inclusion in footer.php allowing arbitrary PHP code execution by supplying an attacker-controlled URL via the xoopsConfig[root_path] parameter.

Why it matters to the business

Attackers can fully compromise the affected web application, enabling data theft, defacement, or use as a foothold for further attacks. The issue has remained exploitable for nearly two decades with public exploits available, elevating risk for any lingering installations of the unmaintained module.

How an attack unfolds

An attacker identifies a site running the vulnerable Horoscope module, then issues an HTTP request to footer.php while setting xoopsConfig[root_path] to a URL under their control that hosts malicious PHP. The server includes and executes the remote code, granting arbitrary command execution.

How to fix it

Remove or disable the Horoscope 1.0 module entirely. If retention is required, manually edit footer.php to eliminate or safely sanitize the xoopsConfig[root_path] parameter usage. No official fixed versions exist.

How to confirm the fix worked

Examine footer.php for unsanitized inclusion of the xoopsConfig[root_path] value. Test by requesting the script with a deliberately invalid remote path and confirming error or behavioral indicators of attempted inclusion.

Typical attack path

  1. Locate installations of the XOOPS Horoscope 1.0 module
  2. Host a malicious PHP payload on an attacker-controlled server
  3. Craft an HTTP request to footer.php supplying xoopsConfig[root_path] pointing to the payload URL
  4. Trigger remote inclusion and execute the payload to gain code execution

How to detect it

Inspect web server access logs for requests to footer.php or paths under /modules/horoscope/ that contain the xoopsConfig[root_path] parameter set to an external URL. Correlate with PHP error logs showing remote file inclusion attempts or unexpected code execution.

  • footer.php?xoopsConfig[root_path]=
  • xoopsConfig[root_path]=http
  • /modules/horoscope/footer.php
  • xoopsConfig[root_path]=https

What your security team should do

  • Audit all XOOPS deployments for presence of the Horoscope 1.0 module
  • Immediately remove the module where it is not required
  • Apply web application firewall rules blocking requests containing xoopsConfig[root_path] with external URLs
  • Review historical access logs for signs of prior exploitation attempts

The record

PHP remote file inclusion vulnerability in footer.php in the Horoscope 1.0 module for XOOPS allows remote attackers to execute arbitrary PHP code via a URL in the xoopsConfig[root_path] parameter.

Affected packages

Ecosystem Package Introduced Fixed