Flawed Online Tutorials Led To Vulnerabilities In Software

An anonymous reader quotes Help Net Security:
Researchers from several German universities have checked the PHP codebases of over 64,000 projects on GitHub, and found 117 vulnerabilities that they believe have been introduced through the use of code from popular but insufficiently reviewed tutorials. The researchers identified popular tutorials by inputting search terms such as “mysql tutorial”, “php search form”, “javascript echo user input”, etc. into Google Search. The first five results for each query were then manually reviewed and evaluated for SQLi and XSS vulnerabilities by following the Open Web Application Security Project’s Guidelines. This resulted in the discovery of 9 tutorials containing vulnerable code (6 with SQLi, 3 with XSS).

The researchers then checked for the code in GitHub repositories, and concluded that “there is a substantial, if not causal, link between insecure tutorials and web application vulnerabilities.” Their paper is titled “Leveraging Flawed Tutorials for Seeding Large-Scale Web Vulnerability Discovery.”


Share on Google+

Read more of this story at Slashdot.

Leave a Reply

Your email address will not be published. Required fields are marked *