29
SEGURIDAD WEB SEGURIDAD WEB Marc Rivero López

Seguridad web

Embed Size (px)

DESCRIPTION

Charla realizada en Stucom sobre seguridad Web, y recomendaciones básicas.

Citation preview

Page 1: Seguridad web

SEGURIDAD WEBSEGURIDAD WEBMarc Rivero López

Page 2: Seguridad web

About me…

• E-crime intelligence analyst

• Fraud researcher• Crazy Drummer• DragonJAR, Flu-

Project, Security by Default

@seifreed

Page 3: Seguridad web

Índice de la charla

• Introducción• Casos reales• ¿Porqué ocurre?• SQL injection• XSS• Mas vulnerabilidades• CMS• WAF• Recomendaciones

Page 4: Seguridad web

¿EXISTE LA SEGURIDAD?

Page 5: Seguridad web

CASOS REALES

• Web con tecnología Open source

• 437.691,5 € con vulnerabilidades

Page 6: Seguridad web

CASOS REALES

Page 7: Seguridad web

CASOS REALES

Page 8: Seguridad web

CASOS REALES

Page 9: Seguridad web

CASOS REALES

Page 10: Seguridad web

CASOS REALES

Page 11: Seguridad web

CASOS REALES

Page 12: Seguridad web

CASOS REALES

Page 13: Seguridad web

CASOS REALES

Page 14: Seguridad web

CASOS REALES

Page 15: Seguridad web

CASOS REALES

Page 16: Seguridad web

¿PORQUE OCURRE ?

Page 17: Seguridad web

¿PORQUE OCURRE ?

• Fallos de programación

• Prisas• 0day• Personal no

formado• La web te la hago

por 10€ o por 437.691.5 €

• CMS, CMS everywhere

Page 18: Seguridad web

Entornos vulnerables

Page 19: Seguridad web

SQL Injection

• Error en la validación• Inyección de código• Alteración del

funcionamiento

Page 20: Seguridad web

SQL Injection

||

Page 21: Seguridad web

XSS REFLECTED Y STORED

• Inyección de código Javascript

• Saltar medidas de protección• <script>alert(23);</

script>';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//"; alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//-- ></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>

Page 22: Seguridad web

¿MAS VULNERABILIDADES?

• LFI, RFI• Vulnerabilidad

es de servidor

Page 23: Seguridad web

CMS

• Vulnerabilidades en plugins, no en el core

• Instalación a ciegas

Page 24: Seguridad web

CMS

Page 25: Seguridad web

WAF, WAF,WAF

Page 26: Seguridad web

Los WAF no son invencibles

Page 27: Seguridad web

Los WAF no son invencibles

Page 28: Seguridad web

Recomendaciones

Page 29: Seguridad web

¿Preguntas?

Marc Rivero López@[email protected]://seifreed.com