Web apps still full of security holes
Written by Kay Ewbank   
Monday, 26 September 2011

Over two-thirds of Web apps still have either SQL injection or cross-site scripting security holes. Given that Web apps are probed for vulnerabilities every two minutes, it’s a miracle there’s any secure data left anywhere on the Web!

The number of Web application vulnerabilities that are reported differs significantly from the number that actually exists, according to a new report from HP.

 

sqlinject

 

In tests conducted by HP, 69% of the Web applications contained at least one SQLi flaw, while 64% had a cross-site scripting vulnerability.

If you think of this in terms of an earlier finding from Imperva, that Web apps are probed for vulnerabilities every two minutes, it’s a miracle there’s any secure data left anywhere on the Web.

SQLi vulnerabilities mean that attackers can send SQL to a database to gain unexpected access to data in ways not intended by the developers, so the underlying data could be extracted or modified.

Cross-site scripting takes advantage of a lack of input validation, and embeds malicious client-side code into a Web page that is viewed by a victim’s Web browser.

Other vulnerabilities found by HP include hardcoded passwords embedded in 30% of the applications tested, which could mean the code could be manipulated to behave differently; and path manipulation vulnerability in 63% of the apps. By changing the filenames or paths, attackers could gain access to unexpected areas on user’s systems. Command injection vulnerability, which could be used by attackers to run operating system commands on a target computer. was also found in 35% of the applications tested.

HP found that, when analyzed per application and per lines of code, 410 vulnerabilities were found on average for each of the 236 applications evaluated, equating to 4.6 vulnerabilities per 1000 lines of code. Of the three languages counted, PHP was the most vulnerable programming language, with 13.1 vulnerabilities per 1000 lines, followed by .Net at 7.7. Java was the most secure, at 4.1.

More information:

HP's 2011 Mid-Year Top Cyber Security Risks Report

Web Applications Under Attack Every Two Minutes, Imperva Finds

 

sqlinject

 

 

To be informed about new articles on I Programmer, subscribe to the RSS feed, follow us on Twitter or Facebook or sign up for our weekly newsletter.

 

Banner


Running PostgreSQL Inside Your Browser With PGLite
18/03/2024

Thanks to WebAssembly we can now enjoy PostgreSQL inside the browser so that we can build reactive, realtime, local-first apps directly on Postgres. PGLite is about to make this even easier.



JetBrains Announces Academy AI Festival
21/02/2024

JetBrains is running an Academy AI Festival that they describe as a fusion of hands-on learning and inspiring challenges that will provide inspiration for innovation and will advance your understandin [ ... ]


More News

Last Updated ( Tuesday, 27 September 2011 )