Newsletters Select newsletters below and click the button to sign up!
Internetnews BloggersRecent Entries
ArchivesMonthly ArchivesSearch The Blog
« An Open Source letter to President Obama |
Sean Michael Kerner Blog
| Mozilla Fennec gets Window Mobile milestone release »
Kaspersky attack should have us all worried From the 'people in glass houses' files:
Anti-virus vendor Kaspersky was hacked over the weekend allegedly a victim of a SQL injection attack. It's a disturbing development from my point of view and points to a security issue that can affect nearly anyone -- even those who should know better. SQL injection is in my opinion difficult (though not impossible) to defend against on a live production environment, it's something that needs to be fixed before a site or application is live. Officially speaking Kaspersky put out a statement yesterday noting that they detected an attack but no restricted information was lost: The attack was unsuccessful and, despite their attempts, the hackers were unable to gain access to restricted information stored on the website. Claims by the hackers responsible for the attack that they had managed to gain access to user data are untrue.Though Kaspersky has claimed no data loss they have hired noted database security expert David Litchfield to look at their databases. I've sat in Litchfield security sessions at Black Hat several times and I've always been overwhelmed with his approach. Litchfield is what I would call a forensic investigator looking for clues in database table rows that look fairly innocuous to normal humans. The reality from where I sit is that anti-virus software cannot stop a SQL injection attack. SQL injection is something that typically exists either in the database software itself -- that needs to be patched -- or in a configuration related component that ensures that commands are validated in some way. From an end-user point of view there is no way to defend yourself from being a victim of a SQL Injection attack. The web site (or application) itself need to protect itself and by extension its end-users. Whether or not Kaspersky had unpatched software, some kind of configuration issue or if this is a new zero day attack is currently unknown. What is known is that SQL injection is a very real threat and it's one that all vendors must take very seriously. 0 TrackBacksListed below are links to blogs that reference this entry: Kaspersky attack should have us all worried. TrackBack URL for this entry: https://swarm.jupitermedia.com/mt-tb.cgi/6587 3 CommentsLeave a comment |
||
Yeap, you are hiding behind words. You are afraid to tell the truth: it is unreal that a IT security company, in 2009, can be the victim of a such cheap attack. The conclusion should be obvious for those that by K... products.
SQL injection attacks are the result of ignorance.
If you search Google, you see a lot of bad advice on this.
But you also got it wrong: "...typically exists either in the database software itself -- that needs to be patched -- or in a configuration related component that ensures that commands are validated in some way."
That isn't it. It is how the application is written. The solution is so simple: applications that access your database should use prepared statements and parameter binding. That is a 100% solution.
Any application that uses an reasonable database object mapper (Hibernate, DataMapper, ActiveRecord, etc.) is also immune to this, as your object mapper will generate correct queries.
Additionally, you can use something like mod_security to scan for what looks like SQL in input. This is a good idea if you are in operations, and your web developers are dubious. Or your site is really, really important.
SQL injection is not difficult to avoid. That's a completely false statement.