ORT SpirIT 2008. Ezequiel Gutesman (Gutes)
ORT SpirIT 2008. Ezequiel Gutesman (Gutes)
ORT SpirIT 2008. Ezequiel Gutesman (Gutes)
Ezequiel Gutesman
Escuelas Técnicas ORT Sede Almagro
Core Security Technologies
2008 http://www.flickr.com/photos/da100fotos/1297595709/
gutes@ort:~$ whoami
● Ex alumno de este colegio. Egresado 2000.
http://www.flickr.com/photos/declanje
well/517966692/
http://www.flickr.com/photos/kitcowan/731269
699/
Guardan NUESTRA información
http://www.flickr.com/photos/superfantasti
c/2567098623/
http://www.flickr.com/photos/roby72/2401722298/
Información pública
Información privada
Una aplicación web debe:
● Garantizar la privacidad
● Preservar la identidad
● Proveer de anonimidad
● Estar disponible
● Etc,etc...
Vulnerabilidades
http://www.flickr.com/photos/lebonbonmulticolore/
491220542/
Vulnerabilidades en aplicaciones
web
Web server
http://openclipart.org
Vulnerabilidades en aplicaciones
web
Web server
http://openclipart.org
Vulnerabilidades en aplicaciones
web
Web server
http://openclipart.org
Top 10 2007
● Cross Site Scripting (XSS)
● Injection Flaws (en especial SQL-Injection)
● Malicious File Execution
● Insecure Direct Object Reference
● Cross Site Request Forgery (CSRF)
● Information Leakage and Improper Error Handling
● Broken Authentication and Session Management
● Insecure Cryptographic Storage
● Insecure Communications
● Failure to Restrict URL Access
FUENTE: http://www.owasp.org/index.php/Top_10_2007
Incidentes
● WHID 2008-06: Hackers Take Down Pennsylvania
Government:
– Attack Method: SQL Injection
– Country: USA
– Outcome: Planting of Malware
– Outcome: Defacement
– Vertical: Government
FUENTE: http://www.webappsec.org
Incidentes
● WHID 2008-04: RIAA (Recording Industry Association of
America) web site cleared:
– Attack Method: Cross Site Scripting (XSS)
– Attack Method: SQL Injection
– Attack Method: Denial of Service
– Attack Method: SQL Injection
– Country: Global
– Country: USA
– Outcome: Defacement
– Outcome: Downtime
– Outcome: Defacement
– Vertical: Entertainment FUENTE: http://www.webappsec.org
Incidentes
● WHID 2007-79: Infamous Russian malware gang used
SQL injection to penetrate US government sites:
– Attack Method: SQL Injection
– Country: Brazil
– Country: USA
– Origin: Russia
– Outcome: Planting of Malware
– Vertical: Government
FUENTE: http://www.webappsec.org
Aplicaciones web (3 capas - simplificado)
Presentación
(html, css, flash, etc.)
Lógica
(ASP.NET, Java, PHP,
Python, Ruby, etc.)
Datos
(MS-SQL, MySQL, Oracle,
PostgreSQL, etc.)
Atacando
Ejemplo
SELECT *
FROM clients
WHERE username = 'jose'
AND password = 'pepito'
Ejemplo
Ingreso:
SELECT *
FROM clients
WHERE username = 'uno'
OR 1 = 1 ;--'
AND password = '...
Ejemplo
SELECT *
FROM portal_attachments
WHERE id = '1'
UNION
SELECT pass,0,0,0,0
FROM portal_users
WHERE id = '1';
¿Preguntas?
Ezequiel Gutesman
http://corelabs.coresecurity.com
gracias!