[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <200407011009.i61A95Ng021436@turing-police.cc.vt.edu>
From: Valdis.Kletnieks at vt.edu (Valdis.Kletnieks@...edu)
Subject: Web sites compromised by IIS attack
On Wed, 30 Jun 2004 21:08:27 CDT, Paul Schmehl <pauls@...allas.edu> said:
> I attended a presentation yesterday for a security product in the
> application firewall field. During the presentation, the CISSP stated that
> "in every 1000 lines of code there will be 15 errors". I don't know if I'd
> agree with that - I suspect most coders are a bit better than that - but I
> had to chuckle, because, of course, I immediately thought, "So you admit
> that your code is riddled with holes!"
Actually, I suspect most coders are *worse* than that.
Sendmail 8.13.0 weighs in at just about 90K lines of C code for
the main program. By that metric, there should only have been 135
bugs in it. In fact, there are 441 occurrences of 'Problem noted by'
in the release notes.
BIND 9.2.3 has 1,525 entries in the CHANGELOG file, of which 774 are
listed as '[bug]' entries. I'm fairly sure that BIND9 is well under
510,000 lines of code, so again we're running well above 15 bugs per KLOC.
So either (a) Sendmail and BIND were written by people who were *incredibly*
worse than "the average programmer", or 15 errors/KLOC is a vast understatement.
Now although Sendmail may not be a paragon of excellent programming practice,
it would be hard to argue that it's literally 4 times as buggy as
code written by "the average programmer" - think back to your "intro to
programming" class and ask what the *lower* half of the class would have
done if they had done a rewrite of Sendmail... ;)
I might be willing to accept 15 *security-critical* errors per 1,000 - the
vast majority of bugs are *not* a security issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20040701/92669d55/attachment.bin
Powered by blists - more mailing lists