NTA Monitor

Latest News

New version of network scanning tool arp-scan released

15th March 2011 A new version of a respected and popular network scanning tool has been released. Read More

Tests show rise in number of vulnerabilities affecting web applications with SQL Injection and XSS most common flaws

1st March 2011 SQL injection and cross-site scripting (XSS) were the most common flaws found in web applications in 2010 according to results from tests carried out by NTA Monitor. Read More

Assess risk to manage effects of budget cuts

9th February 2011 Signs of economic recovery may be appearing in some industries, but for most organisations - particularly in the public sector - budget cuts and cost savings are here to stay for the foreseeable future. Read More

"Basic security threats not changed in 15 years"

1st February 2011 There may have been significant technological advances to the hardware and software organisations use, but according to Roy Hills, who co-founded NTA Monitor in 1996, the basic security threats have not changed in the last 15 years. Read More
Date: 1st November 2006
Risk: Low

Google has recently released its Beta Code Search, enabling anyone to query a massive database of publicly available source code and filter results based on license and programming language.

This feature could allow an attacker to search for known or unknown vulnerabilities in the source code of applications. In a number of tests that NTA has performed, exposed source code of a web application has been observed; some accidentally, or in the case of some open source projects online, intentionally. This means that an attacker could search through huge numbers of sites looking for insecure functions or parameters. To minimise this risk, code reviews should be performed and developers and outsource partners should remain up to date with current web application vulnerabilities.

Google's Code Search website states: "Our goal with Code Search is to provide a useful resource for developers and help increase collaboration within the developer community. Unfortunately, tools that ease access to information for good can sometimes do so for bad ... but it's our strong belief that the positive impact outweighs the negative, a belief thankfully shared by many of you. We hope that Code Search will be used as a tool for solving security issues and helping people prevent exploits, since security through obscurity isn't really secure. In cases where we can help prevent certain malicious behavior, we'll do our best to do that."

Code Search certainly produces some interesting search results:

"highly confidential" produced 50 results

"bad code" produced 16,300 results

"broken code" produced 43,700 results

References