vendor:
CubeCart
by:
James Sibley (absane)
4,3
CVSS
MEDIUM
Session Fixation
384
CWE
Product Name: CubeCart
Affected Version From: 5.2.8
Affected Version To: 5.2.8
Patch Exists: YES
Related CWE: CVE-2014-2341
CPE: a:cubecart:cubecart:5.2.8
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: None
2014
CubeCart 5.2.8 Session Fixation
CubeCart 5.2.8 is vulnerable to a session fixation vulnerability. The only protection offered is via the User-Agent header field, which can spoofed to match the victim. When the victim logs in, the attacker can visit the same link (using the same User-Agent) and hijack the victim's session. The PHPSESSID parameter is not ignored and allows an attacker to specify their own session id. The code handling login procedures do not generate new sessions upon successful authentication.
Mitigation:
Upgrade to CubeCart >= 5.2.9. If upgrading is not an option, here is a hackish workaround for the session fixation vulnerability: In admin.class.php add this at line 324: $GLOBALS['session']->restart(); In user.class.php add this at line 227: $GLOBALS['session']->restart();