Skip to main content

2004 | OriginalPaper | Buchkapitel

SQLrand: Preventing SQL Injection Attacks

verfasst von : Stephen W. Boyd, Angelos D. Keromytis

Erschienen in: Applied Cryptography and Network Security

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

We present a practical protection mechanism against SQL injection attacks. Such attacks target databases that are accessible through a web front-end, and take advantage of flaws in the input validation logic of Web components such as CGI scripts. We apply the concept of instruction-set randomization to SQL, creating instances of the language that are unpredictable to the attacker. Queries injected by the attacker will be caught and terminated by the database parser. We show how to use this technique with the MySQL database using an intermediary proxy that translates the random SQL to its standard language. Our mechanism imposes negligible performance overhead to query processing and can be easily retrofitted to existing systems.

Metadaten
Titel
SQLrand: Preventing SQL Injection Attacks
verfasst von
Stephen W. Boyd
Angelos D. Keromytis
Copyright-Jahr
2004
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-540-24852-1_21

Premium Partner