VYPR
Unrated severityNVD Advisory· Published Dec 31, 2003· Updated Jun 16, 2026

CVE-2003-1245

CVE-2003-1245

Description

index2.php in Mambo 4.0.12 allows remote attackers to gain administrator access via a URL request where session_id is set to the MD5 hash of a session cookie.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2

Patches

Vulnerability mechanics

Root cause

"The application does not sufficiently validate session credentials, allowing an attacker to impersonate an administrator."

Attack vector

An attacker can gain administrator access by manipulating the session ID. The vulnerability lies in the application's failure to properly check if the session ID was legitimately created during an administrator login. By obtaining a valid session cookie (e.g., after a logout), an attacker can then MD5 hash this cookie's session ID. This hashed value can be sent as the `session_id` parameter in a URL request to the administrator section, tricking the application into granting administrative privileges [ref_id=1].

Affected code

The vulnerability is present in `index2.php` within the administrator section of Mambo Site Server. The exploit code targets the `index.php?option=logout` endpoint to retrieve a session cookie, and then uses this cookie to construct a malicious request to `index2.php?session_id=`. The core issue is the application's acceptance of an MD5-hashed session ID without proper verification [ref_id=1].

What the fix does

The advisory does not specify a patch or provide details on how the vulnerability was fixed. However, it indicates that the issue was reported in Mambo Site Server 4.0.12 RC2 and suggests that earlier versions may also be affected. Remediation would likely involve implementing proper validation of session IDs to ensure they are legitimately generated and associated with an active administrative session.

Preconditions

  • inputThe attacker must be able to obtain a valid session cookie from the target server, for example, by triggering a logout.
  • inputThe attacker must know the hostname and directory structure of the target Mambo installation.

Reproduction

The provided reference includes a proof-of-concept script that demonstrates the attack. The script connects to the server, retrieves a cookie by requesting the logout page, MD5 hashes the session ID from the cookie, and then redirects to the administrator login page with the crafted session ID.

Generated on Jun 2, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

3

News mentions

0

No linked articles in our index yet.