• subscribe
April 16, 2008 12:00 AM

Potential SQL Injection Attack on Oklahoma Prison Thwarted

Code vulnerabilities spotted and reported
SQL Server Pro
InstantDoc ID #98897

A code vulnerability in an Oklahoma state prison registry opened information such as Social Security numbers to potential unauthorized SQL injection attacks. According to Alex Papadimoulis, writing in The Daily WTF the code for the Oklahoma Department of Corrections Sexual and Violent Offender Registry left Social Security numbers, home addresses, and other information prey to hacker attacks for up to three years. Papadimoulis said that a SQL database query used to display information in a URL contained a SQL SELECT statement that “also included a few non-displayed columns such as ‘social_security_number’ and ‘date_of_birth,’ and even had several conditionals to make sure that only Active records were returned.” By displaying "social_security_number" instead of "doc_number" and removing the conditionals he showed that it was possible for an intruder with basic SQL Server skills to display the private numbers. When he pointed this out to George Floyd, the IT Administrator at the Oklahoma Department of corrections, the site came down and was fixed by April 13, 2008.

For more information on SQL injection, see these related resources, How to Protect Against a SQL Injection Attack, How to Avoid a SQL Injection, and SQL Injection: The Hacker’s Gold Mine.



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...