LWN.net Logo

A Tale of Two Pwnies (Part 1)

A Tale of Two Pwnies (Part 1)

Posted May 23, 2012 9:40 UTC (Wed) by epa (subscriber, #39769)
In reply to: A Tale of Two Pwnies (Part 1) by JoeBuck
Parent article: A Tale of Two Pwnies (Part 1)

Yes, it goes to show that even the most minor security bugs can't be ignored
Amen to that. And let's hope everyone remembers this example next time we get more nonsense arguments about how security bugs aren't special, and can be treated the same way as any other bug, etc etc.


(Log in to post comments)

A Tale of Two Pwnies (Part 1)

Posted May 23, 2012 10:19 UTC (Wed) by ms (subscriber, #41272) [Link]

Is not the point of this that every bug, no matter how innocuous it might appear has the potential to be used as part of a wider sequence of bugs to build security exploits? In which case every bug is potentially a security bug. Maybe we're just strenuously agreeing here...?

A Tale of Two Pwnies (Part 1)

Posted May 23, 2012 10:40 UTC (Wed) by mpr22 (subscriber, #60784) [Link]

All bugs in programs exposed to untrustworthy input are security bugs unless provable otherwise.

Trustworthy input?

Posted May 23, 2012 12:00 UTC (Wed) by man_ls (subscriber, #15091) [Link]

Your statement is harder than it looks: all input is untrustworthy unless proved otherwise.

Trustworthy input?

Posted May 23, 2012 12:16 UTC (Wed) by mpr22 (subscriber, #60784) [Link]

Your statement regarding the trustworthiness of input is a true and useful counterpart to my statement about bugs; thank you.

Trustworthy input?

Posted May 25, 2012 10:26 UTC (Fri) by bricef (guest, #80336) [Link]

Conclusion: All bugs are security bugs unless your program takes no input.

Trustworthy input?

Posted May 25, 2012 10:42 UTC (Fri) by man_ls (subscriber, #15091) [Link]

A heuristic refinement of your statement would be: confine processing of user input to a specific module inside your program, and treat bugs in that module as security bugs. The remaining bugs should have lower priority (but they might also be security bugs if the input module doesn't do a good job).

A Tale of Two Pwnies (Part 1)

Posted May 23, 2012 11:21 UTC (Wed) by ovitters (subscriber, #27950) [Link]

You don't always know if something is a security bug. Something which might just fix a compiler warning (unsigned comparison) might actually result in an exploit.

As long as you cannot easily tell that something is a security bug, you should focus on all bugs. Because in all those normal bugs might lie various security bugs as well.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds