exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Drupal Ubercart 6.x / 7.x XSS / PHP Code Execution

Drupal Ubercart 6.x / 7.x XSS / PHP Code Execution
Posted Apr 25, 2012
Authored by Shaun Dychko, Dave Long, Lee Rowlands | Site drupal.org

Drupal Ubercart module versions 6.x and 7.x suffers from code execution and cross site scripting vulnerabilities.

tags | advisory, vulnerability, code execution, xss
SHA-256 | 8ad5e51b2e8211b46a86fd0884c4432816a13267ddf774999bf5b42ae172622a

Drupal Ubercart 6.x / 7.x XSS / PHP Code Execution

Change Mirror Download
View online: http://drupal.org/node/1547674

* Advisory ID: DRUPAL-SA-CONTRIB-2012-064
* Project: Ubercart [1] (third-party module)
* Version: 6.x, 7.x
* Date: 2012-April-25
* Security risk: Moderately critical [2]
* Exploitable from: Varies (Local & Remote)
* Vulnerability: Cross Site Scripting, Arbitrary PHP code execution,
Multiple vulnerabilities

-------- DESCRIPTION
---------------------------------------------------------

The Ubercart module for Drupal provides a shopping cart and e-commerce
features for Drupal. Parts of Ubercart were vulnerable to a Failure to
encrypt data, Cross Site Scripting, and an Arbitrary PHP Execution
vulnerability.

.... Failure to encrypt data: Exploitable from local

Passwords supplied by new customers during checkout were stored as plain text
until payment was completed for an order, for a maximum of 15 minutes. This
vulnerability is not exploitable remotely, but information may have
inadvertently been leaked via database access (e.g. backups, developer
laptops that are compromised).

.... Cross Site Scripting: Exploitable from remote

The product classes feature did not properly sanitize output and was
vulnerable to a cross site scripting attack. This vulnerability is mitigated
by the fact that an attacker must have the "administer product classes"
permission.

.... Arbitrary PHP Execution: Exploitable from remote

In Ubercart 6.x-2.x, arbitrary PHP code can be executed by users with the
"administer conditional actions" permission. This vulnerability is mitigated
by the fact that this permission should only granted to trusted users.

-------- VERSIONS AFFECTED
---------------------------------------------------

* Ubercart 6.x-2.x versions prior to 6.x-2.8. [3]
* Ubercart 7.x-3.x versions prior to 7.x-3.1. [4]

Drupal core is not affected. If you do not use the contributed Ubercart [5]
module, there is nothing you need to do.

-------- SOLUTION
------------------------------------------------------------

Install the latest version:

* If you use the Ubercart module for Drupal 6.x, upgrade to Ubercart
6.x-2.8. [6]
* If you use the Ubercart module for Drupal 7.x, upgrade to Ubercart
7.x-3.1. [7]

Additionally, in Drupal 6.x, ensure that only trusted users have roles that
have been granted the "administer conditional actions" permission.

Also see the Ubercart [8] project page.

-------- REPORTED BY
---------------------------------------------------------

* Shaun Dychko [9] reported the Failure to encrypt data issue
* Lee Rowlands [10] reported the Cross Site Scripting issue
* Dave Long [11] reported the Arbitrary PHP Execution issue

-------- FIXED BY
------------------------------------------------------------

* Dave Long [12] the module maintainer
* Lyle Mantooth [13] the module maintainer

-------- COORDINATED BY
------------------------------------------------------

* Greg Knaddison [14] of the Drupal Security Team

-------- CONTACT AND MORE INFORMATION
----------------------------------------

The Drupal security team can be reached at security at drupal.org or via the
contact form at http://drupal.org/contact [15].

Learn more about the Drupal Security team and their policies [16], writing
secure code for Drupal [17], and securing your site [18].


[1] http://drupal.org/project/ubercart
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/node/1547506
[4] http://drupal.org/node/1547508
[5] http://drupal.org/project/ubercart
[6] http://drupal.org/node/1547506
[7] http://drupal.org/node/1547508
[8] http://drupal.org/project/ubercart
[9] http://drupal.org/user/475828
[10] http://drupal.org/user/395439
[11] http://drupal.org/user/246492
[12] http://drupal.org/user/246492
[13] http://drupal.org/user/86683
[14] http://drupal.org/user/36762
[15] http://drupal.org/contact
[16] http://drupal.org/security-team
[17] http://drupal.org/writing-secure-code
[18] http://drupal.org/security/secure-configuration

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close