El día 07 de marzo del 2010 el señor Andrés Gómez, miembro del staff de hypernethost & security-pentest ha encontrado una vulnerabilidad que afecta a todas las versiones 1.3.2 del sistema OpenCart. La misma permite a un atacante tomar control total sobre el sitio:
##########################[Andrés Gómez]##########################
# Exploit Title : OpenCart 1.3.2 SQL Injection |
# Software Link : http://www.coompras.com/opencart/opencart.htm |
# Contact : gomezandres[4t]adinet[dot]com.uy<http://com.uy> |
######################################################################## |
# 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. |
######################################################################## |
# 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); |
######################################################################## |
# Greetz : Mauro Rossi, Raúl Pérez, Willian Mesa, Pablo Solari |
# Special Thanks : HYPERNETHOST & Atenea Capacitaciones |
##########################[Andrés Gómez]#################################