Archive for the ‘Web Applications’ Category

Bank Website Design Flaws Pose Serious Security Threat

Thursday, July 24th, 2008

The results of a recent study on security design flaws in banking websites will be presented tomorrow at the Symposium on Usability and Privacy. The research was conducted by Dr. Atul Prakash, Laura Falk, and myself (Kevin Borders). It found that flaws, such as presenting login information on an insecure page, were widespread. What does this mean for the security of the internet at large? Will hackers routinely exploit these vulnerabilities to conduct widespread fraud in the future? And, the most important question: how do we fix it?

(more…)

Everything You Ever Needed to Know About SQL Injection

Friday, May 9th, 2008

I was first exposed to SQL injection when David Litchfield (see his blog) came and gave a talk on the subject while I was working at the NSA in the summer of 2002. SQL injection is a type of security vulnerability that occurs when some code includes untrusted input, such as a website form field, in a SQL database query without first escaping or removing special characters that may affect SQL syntax (‘, ”, \, etc.). This may subsequently allow an attacker to terminate the original query and inject another query to do something malicious, such as the following: “”; DROP TABLE users;”. After hearing about SQL injection, my friends and I proceeded to go home and type “‘”; select * from users;” into form fields on numerous websites. Though we didn’t see any database table dumps, a surprisingly large number of sites gave us responses with SQL syntax errors, indicating potential vulnerabilities.

Things have changed a lot since the advent of SQL injection attacks. Many security researchers have investigated the topic and written papers on how to correct the problem. As the title of this blog post suggests, however, the SQL injection problem has been solved. Sometimes it makes sense for people to continue researching a problem when existing solutions have serious usability constraints or add significant development overhead. That is not the case for SQL injection. The rest of this article briefly touches on some SQL injection research and then shows you how to avoid vulnerabilities on your website using a common PHP library as an example.

(more…)

The Ins and Outs of Hosted Application Security

Thursday, September 13th, 2007

More and more small businesses are offloading their e-mail, chat, and shared documents to hosted application services, like Google Apps, instead of using traditional office applications. At the same time, many are hesitant to do so for security reasons. After all, housing potentially sensitive data on a remote server outside of your control must be less secure than storing it locally, right? Although this may be your first intuition, it is not so one-sided. This article explores the security limitations of hosted applications focusing on Google Apps, but also highlights some security benefits and suggests ways to improve security for Google Apps. (more…)