Búsqueda de    
Vulnerabilidad   
    Buscar 324607 Descripciones CVE y
146377 Descripciones de Pruebas,
accesos 10,000+ referencias cruzadas.
Pruebas   CVE   Todos  

ID de Prueba:1.3.6.1.4.1.25623.1.0.100000
Categoría:Web application abuses
Título:osCommerce Photo Gallery SQLi Vulnerability
Resumen:Photo Gallery for osCommerce is prone to an SQL injection (SQLi); vulnerability in gallery_process.php.
Descripción:Summary:
Photo Gallery for osCommerce is prone to an SQL injection (SQLi)
vulnerability in gallery_process.php.

Vulnerability Insight:
Input passed to the parameters in gallery_process.php are not
properly sanitised before being used in the SQL queries.

Vulnerability Impact:
Successful exploitation will allow the attacker to access the
whole Database.

Affected Software/OS:
Photo Gallery <= version 0.6.

Solution:
Edit gallery_process.php and change all occurrences of
$_GET['cID'] to (int)$_GET['cID'] and all occurrences of $_GET['pID'] to (int)$_GET['pID']. Then,
at the top of gallery_process php, search for:

require('includes/application_top.php')

require(DIR_WS_LANGUAGES . $language . '/gallery_user.php')

and change to:

require('includes/application_top.php')

if (!tep_session_is_registered('customer_id')) {

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'))

}

require(DIR_WS_LANGUAGES . $language . '/gallery_user.php')

CVSS Score:
7.5

CVSS Vector:
AV:N/AC:L/Au:N/C:P/I:P/A:P

CopyrightCopyright (C) 2009 Greenbone Networks GmbH

Esta es sólo una de 146377 pruebas de vulnerabilidad en nuestra serie de pruebas. Encuentre más sobre cómo ejecutar una auditoría de seguridad completa.

Para ejecutar una prueba gratuita de esta vulnerabilidad contra su sistema, regístrese ahora.




© 1998-2025 E-Soft Inc. Todos los derechos reservados.