Oh no, you're thinking, yet another cookie pop-up. Well, sorry, it's the law. We measure how many people read us, and ensure you see relevant ads, by storing cookies on your device. If you're cool with that, hit “Accept all Cookies”. For more info and to customize your settings, hit “Customize Settings”.

Review and manage your consent

Here's an overview of our use of cookies, similar technologies and how to manage them. You can also change your choices at any time, by hitting the “Your Consent Options” link on the site's footer.

Manage Cookie Preferences
  • These cookies are strictly necessary so that you can navigate the site as normal and use all features. Without these cookies we cannot provide you with the service that you expect.

  • These cookies are used to make advertising messages more relevant to you. They perform functions like preventing the same ad from continuously reappearing, ensuring that ads are properly displayed for advertisers, and in some cases selecting advertisements that are based on your interests.

  • These cookies collect information in aggregate form to help us understand how our websites are being used. They allow us to count visits and traffic sources so that we can measure and improve the performance of our sites. If people say no to these cookies, we do not know how many people have visited and we cannot monitor performance.

See also our Cookie policy and Privacy policy.

This article is more than 1 year old

Infosec bods rate app languages; find Java 'king', put PHP in bin

Web scripting languages offer XSSive flaws

Java applications have been found to have many fewer common vulnerabilities than those coded using web scripting language. Less than a quarter of Java apps sport sporting SQL injection vulnerabilities, compared to more than three quarters of those written in PHP.

So says Veracode's new State of Software Security report (PDF).

The research crawled languages including PHP, Java, JavaScript, Ruby, Microsoft Classic ASP, .NET, C and C++, iOS, Android, and COBOL, scanning 50,000 applications over the last 18 months.

It found PHP apps fared worse than all with 86 percent bearing SQLi, one of the dangerous, perennial, and easy-to-exploit web application vulnerabilities.

More than half of those apps also contain cross-site scripting holes, the other chief web app security irritant.

About two thirds of ASP apps contain SQLi vulnerabilities, with , to no-one's surprise, ColdFusion coming closely behind with 62 percent of applications carrying the bugs.

Worse, 80 percent of apps written in PHP, ASP, or ColdFusion flunked kindergarten security tests sporting one of the Open Web Application Security Project's Top Ten quality coding benchmarks.

The Top Ten is held up as the control against which the boilerplate statement "we take security seriously" is measured.

Some 87 percent of Android apps have cryptography implementation issues while 90 percent have code quality issues, more than any other language studied.

“When organisations are starting new development projects and selecting languages and methodologies, the security team has an opportunity to anticipate the types of vulnerabilities that are likely to arise and how best to assess for them,” Veracode security boss Chris Wysopal says.

“The data in this report can inform decisions around language selection, developer training and which assessment techniques to use in order to make the inevitable remediation process less onerous.

"This information can make it easier for security to work with development to increase the maturity of security in the software development lifecycle and produce less risky applications."

Reading an application security book or taking a course will bolster the infosec chops of a developer by about a third, however. ®

 

Similar topics

TIP US OFF

Send us news


Other stories you might like