Acme Sql Inject

12
Critical Security Report For ACME Retail Testing Website SQL Injection Vulnerability A Brief Demonstration

description

A high level view of SQL injection

Transcript of Acme Sql Inject

Page 1: Acme Sql Inject

Critical Security ReportFor

ACME Retail Testing Website

SQL Injection VulnerabilityA Brief Demonstration

Page 2: Acme Sql Inject

September 27, 2009.

Beta 1005 testing begins

Page 3: Acme Sql Inject
Page 4: Acme Sql Inject

Testuser

**************

Page 5: Acme Sql Inject

Your Time is running out!

Time Remaining

12:37:59Click here to pay

Page 6: Acme Sql Inject

Could this really happen?

YES !!

Page 7: Acme Sql Inject

Then How?

Standard Query Language (SQL) Injection

Page 8: Acme Sql Inject

What is SQL Injection?

•SQL is a language for communicating with databases

•SQL injection is a database vulnerability

•Allows malicious users to trick a web server to:•Gather information•Modify tables•Run system commands•Upload files

Page 9: Acme Sql Inject

How does it work?

t1.acme.com Data Base

Server

Firewall

Network Security Controls

SQL injection over HTTP

Database returns

Account Passwords

Page 10: Acme Sql Inject

Real example: password capture

Page 11: Acme Sql Inject

Proliferation: The whole network is at risk

sql.acme..comUpload files

Scanning, password cracking

Unauthorized web content

t1.acme..com

Page 12: Acme Sql Inject

Remediation

• Immediate– Validation checks on login script– Remove error codes– Audit the database and surrounding systems

• Long Term– Develop SQL hardening standards