14 ms·
Tarsnap exploit bounty
- gus_massa 11y agoJust to be 200% clear: cperciva is offering $1000 for an exploit of a bug in Tarsnap 1.0.35 that he already fixed in the current 1.0.36 version?!
- de_dave 11y agoYep.
- cperciva 11y agoYes. Or more precisely, for a demonstration of how the bug can be exploited -- I'm not looking for something "weaponized". I think if someone manages to exploit this bug, the details will be very interesting, and I think it's worth paying for "interesting".
- tptacek 11y agoI also like the very public illustration of how not all memory corruption bugs are easily exploitable (or, occasionally, meaningfully exploitable at all). Also an illustration of how unlikely it is that serious exploit developers are going to spend time writing a complicated Tarsnap exploit. :)
- cperciva 11y agoYou may be right, but I hope people won't take away the message that bugs like this don't matter. Fix bugs! Update your systems! If in doubt, assume that potential vulnerabilities are exploitable!
- deleted 11y ago[deleted]
- aidenn0 11y agoMy takeaway has always been "It's easier to fix a memory corruption bug than it is to determine if the bug is exploitable"
- tptacek 11y agoI will match this bounty. Colin's word on whether it should be awarded is final, and Colin can reach out to me to tell me who I have to pay up to (or, if the recipient would prefer, I can transfer money to Colin and he can just double the bounty). Colin: if you post this bounty publicly anywhere, you have my permission to note also my commitment to match the bounty, which will remain ongoing until either (a) your bounty changes, or (b) I notify you otherwise (which is unlikely). Good luck, everyone. I will be surprised and happy if this HN comment costs me anything. :)
- cperciva 11y agoFunny, I was just about to send you an email asking if you wanted to try your hand at this, given that you're much better at this sort of thing than I am. :-) you have my permission to note also my commitment to match the bounty Thanks! I've updated the blog post with a link to this comment.
- tptacek 11y agoJust to be candid: putting an extra $1000 into the pot is way less costly than me spending the time trying (and almost certainly failing) to get a heap overflow in Tarsnap working (even if were an easy one). Also: it's an easy bet for me to make, because at the figures we're talking about, I think we might be unlikely to attract the right talent. :P But if there was anyone whose code I would bet on, your name at the top of the list anyways!
- cperciva 11y agoTo be equally candid: I didn't think you would want the $1000, but I thought you might enjoy the challenge. Similarly, I think the people who are most likely to win this are going to be more interested by the puzzle than by the money. The $1000 is there mainly as linkbait to increase the odds that the right people hear about this. But if there was anyone whose code I would bet on, your name at the top of the list anyways! Well, we've already established that the code was wrong...
- admax88q 11y agoI don't understand why people still consider it acceptable to write security critical software in languages like C.
- sarciszewski 11y ago> I don't understand why people still consider it acceptable to write security critical software in languages like C. What would you rather it be written in, a language that is itself written in C?
- reasonishy 11y agoHow many memory corruption / buffer overflow exploits have there been say in the JVM? Using something like Java does cut out a whole class of memory exploits...
- rudolf0 11y ago>How many memory corruption / buffer overflow exploits have there been say in the JVM? There have actually been quite a lot. But they're generally not things that could be exploited in a typical Java network/web application. They're mostly an issue for sandbox escapes; e.g. Java applets in the browser.
- bch 11y agoThe good thing about something like this (in the abstract) is that you've potentially got many users hammering the facilities in many ways, and it becomes battle-hardened as a result. To this end, Colin hisself is sort of doing this w/ libcperciva[0] to a degree. One library of common code shared among many projects. [0] https://news.ycombinator.com/item?id=10099294 https://news.ycombinator.com/item?id=10099294
- nickpsecurity 11y agoThat's a true benefit of using C. The more people know the language, the more people who can comprehend and improve the software. Goes for more than just security in terms of what's improved. Now, will this happen for a given project? Different issue entirely which might justify using an inherently, safer language.
- jessaustin 11y agoISTM this could cost you more than $1000? Wouldn't Ariel Ben Yehuda deserve a bonus over the $100 if the reported bug could be exploited?
- cperciva 11y agoYes, I might reassess that bounty.
- mostafah 11y ago> No bounty if you're in Iran, North Korea, or some other problem countries. I’m a Tarsnap user from Iran. I’m not interested in these bounties anyways, but the phrase “problem countries” feels a little strange to me.
- elahd 11y agoHe's probably referring to the problem of sending money to those countries from Canada, where he lives.
- crazypyro 11y agoI think you are reading into it too much. Those countries are "problem countries" because citizens of many countries cannot legally transfer funds due to sanctions... It has nothing to do with a value judgement on the countries or the culture by the author of this post.
- noir_lord 11y agoNot that long since a sitting US President referred to Iran (and others) as the "Axis of Evil", I think some sensitivity is to be expected.
- deleted 11y ago[deleted]
- brohee 11y agoCan't transfert money to some countries from banks that also do business in the US...
- cperciva 11y agoAs elahd hypothesized, this is the trade-sanctions thing -- if someone from Iran would win and there's some way I can legally pay out the bounty, I'll do it, but I don't want to be in the position of owing someone a bounty but having geopolitics prevent me from paying it. The reference to "other problem countries" is simply because I can't keep track of which countries are on the list right now... I'm pretty sure Iraq, Syria, and Libya have all gone onto Canada's list at some point recently but some or all of them may be back off the list. Sorry if it seemed a bit pithy; given how often I see no-sanctioned-countries clauses online I figured that residents of said countries would know if they were likely to be affected.
- nickpsecurity 11y agoProps to Tarsnap team for doing stuff like this. They set quite a good example for others in design, implementation, and combating exploits. Always liked their work. Especially the hilarious and overly-generous pricing scheme. Truly original. ;)
- grayclhn 11y agoYou're going to be even more impressed when you realize that "they" should be "he." :)
- koenigdavidmj 11y agoColin actually commented a couple days ago that he finally hired a minion.
- grayclhn 11y agoOh, cool. Thanks for letting me know.
- nickpsecurity 11y agoOh heck, it was just one guy. You were right: I'm very impressed.
- arielby 11y agoOriginal reporter here. I was starting to worry when this will ever get fixed. I am not skilled in exploit development and I basically just found the bug by accident so I won't take the challenge.