1. Skip to navigation
  2. Skip to content
  3. Skip to secondary-content




cpCommerce "GLOBALS[prefix]" File Inclusion Vulnerability

Report ID: SA200902420
Source: Secunia
Date of Discovery: 27.05.2009
Criticality: Urgent
Affects:
cpCommerce 1.x

Compromise From: From remote
Compromise Type: System access
Exposure of sensitive information

Summary

A vulnerability has been discovered in cpCommerce, which can be exploited by malicious people to disclose sensitive information or compromise a vulnerable system.

Detailed Description

A vulnerability has been discovered in cpCommerce, which can be exploited by malicious people to disclose sensitive information or compromise a vulnerable system.

Input passed via the "GLOBALS[prefix]" parameter to _functions.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local or external resources.

Successful exploitation requires that "register_globals" is enabled.

The vulnerability is confirmed in version 1.2.9. Other versions may also be affected.

Solution

Edit the source code to ensure that input is properly verified.

Original Reference

-