Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
Re: [Full-disclosure] Insecurity Stats via Google Code Search
From: Niall FitzGibbon (fitzgibbonblueyonder.co.uk)
Date: Mon Oct 09 2006 - 01:08:36 CDT
I found that seaching for malloc\(.*\*\ ?sizeof reveals some pretty spurious
allocations in popular C++ libraries, including the GNU stdlib, STLport and
Haven't yet had a chance to check how vulnerable each of those are to integer
overflow, or even that they're the latest versions of the libraries in
I'm intrigued that he found so many format string vulnerabilities -- when I
searched for them I mostly found vulnerable printfs being used inside test
and debug code only, with the only obvious possible vulnerability being in
the mailman logging system.
On Sunday 08 October 2006 09:21, Gadi Evron wrote:
> This isn't terribly shocking, and seems rather preliminary. Still,
> very interesting.
> Jose Nazario worked out some numbers using the Google code search.
> Interesting quotes:
> some stats based on simple queries used to find bugs (ie based on some
> reasonable regular expressions):
> * strcpy from argv[x]: about 7,000
> * strcat from argv[x]: about 1,000
> * PHP-based remote file include vulns: 117 or so using GET, 100 or so
> for POST
> * PHP-based SQL injection vulns:
> o SELECT: about 600 using GET, about 500 using POST vars
> o UPDATE: about 200 using GET, about 400 using POST vars
> o DELETE: about 300 using GET, about 300 using POST vars
> * PHP-based XSS vulns (it is the summer of file include, SQL injection
> and XSS on bugtraq): about 2700
> o about 200 based on the info sent outside of the POST vars or
> the URL requested (ie User-Agent fun)
> o an additional 100 based on COOKIE variables ...
> * *printf-based buffer overflows? about 202,000 possible, hopefully
> * about 50 format string vulns revealed
> * off-by-ones (as pointed out by aaron)? about 300.
> * CreateFileMapping NULL Security (using Ollie's idea but adjusted for
> google codesearch): about 400
> I also keep updating every search pattern I find, here:
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/