Programming languages generate the most software security vulnerabilities

Source: Internet
Author: User
You may be a top-level developer or a top-level programmer, but do you know that the language will generate the most software security vulnerabilities.

Recently, many reports have moved people's attention to Drupal and WordPress vulnerabilities. Many attacks have been caused by hackers exploiting WordPress vulnerabilities, and similar situations have also occurred in Drupal. However, we have discovered the culprit, and it has long-term adverse effects, namely, the PHP language.

Worst language

In the past 18 months, Veracode has studied more than 50000 applications that use popular languages such as PHP, Classic ASP ,. NET, C and C ++, Java, JavaScript, iOS, Android, Ruby, ColdFusion, and COBOL. This report is generated based on the analysis of some language problems. For example, according to the report, 86% of software is written in PHP and at least one XSS vulnerability exists.

In addition, according to the report, at least 56% of the software has an SQL injection vulnerability. For Classic ASP and ColdFusion users, the results of SQL injection vulnerabilities are even more worrying, because according to reports, 64% of the software uses these two languages, so at least one SQL injection vulnerability exists. According to the test results of OWASP, similar cases are found in ColdFusion, PHP, and Classic ASP. These are the worst languages when talking about software security.

Chris Wysopal, founder and chief technology officer of Veracode, said that SQL injection attacks have been sustained because they are similar to the use of PHP. This language is difficult to ensure program security. According to him, scripting has caused so many recent XSS vulnerabilities, buffer overflow, and SQL injection attacks. based on the report data of Veracode based on cloud data analysis and application research, his idea can be easily confirmed.

Causes of these problems

These vulnerabilities are mainly caused by the way these languages are used, as well as the design methods for PHP, Classic ASP, and ColdFusion languages, for example. These languages lack built-in features and security APIs like. NET and Java, which is why these scripting languages are more likely to cause XSS vulnerabilities, buffer overflow, and SQL injection attacks.

SQL injection attacks occur when no parameters are bound to SQL queries. PHP does not play any role in binding parameters, making it more vulnerable to SQL injection attacks.

Since PHP, ColdFusion, and Classic ASP are currently mainly used by web developers who have just entered the coding field, their main concern is to make their websites look better, therefore, they do not use a language that provides security features, such. NET and Java. Most of the time, this is not even the fault of developers, because whatever platform their company provides them, they must also work.

Mobile Language

The preceding Veracode report also provides research results for Android and iOS applications. When you compare them, there is no big difference in security. 87% of Android programs have vulnerabilities. In comparison, the situation is similar. 81% of iOS programs have vulnerabilities. The main cause of these vulnerabilities is that the appropriate SSL certificate check is not performed and outdated cryptographic algorithms are used. This approach leads to security vulnerabilities.

Conclusion

ColdFusion, PHP, and Classic ASP generate the most software security vulnerabilities in the three worst languages. These languages have the worst performance in the Veracode analysis report and OWASP test report, which shows that they have the most security vulnerabilities in other languages.

Because more than 70% of content management systems such as Drupal, Joomla, and WordPress are used, these systems are based on the PHP language, this report should expose companies that use these content management systems and scripting languages.

This article is translated by 360 security broadcasting.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.