Slashdot Mirror


Null-Prefix SSL Certificate For PayPal Released

An anonymous reader writes "Nine weeks after Moxie Marlinspike presented at Defcon 17, null-prefix certificates that exploit the SSL certificate vulnerability are beginning to appear. Yesterday, someone posted a null-prefix certificate for www.paypal.com on the full-disclosure mailing list. In conjunction with sslsniff, this certificate can be used to intercept communication to PayPal from all clients using the Windows Crypto API, for which a patch is still not available. This includes IE, Chrome, and Safari on Windows. What's worse, because of the OCSP attack that Moxie also presented at Defcon, this certificate cannot be revoked." Update: 10/06 23:19 GMT by KD: Now it seems that PayPal has suspended Marlinspike's account.

74 of 351 comments (clear)

  1. In other news... by Anonymous Coward · · Score: 4, Funny

    ...it is thought that more people are going to be using Macs' and Linux in the future.

    1. Re:In other news... by Trepidity · · Score: 2, Funny

      2010, Year of the Linux Desktop?

    2. Re:In other news... by Shikaku · · Score: 3, Funny

      2010 is the year of the phished desktop :3

    3. Re:In other news... by __aaclcg7560 · · Score: 3, Funny

      2012, Year that no one will care about your Desktop or anything else.

    4. Re:In other news... by Dersaidin · · Score: 3, Funny

      Maybe if someone could use the SSL exploit to hijack the windows update service and use it to replace everyone's windows installs with linux.

    5. Re:In other news... by ProfessionalCookie · · Score: 2, Insightful

      2010, the year that Windows got A LOT more expensive than Mac.

    6. Re:In other news... by wakingrufus · · Score: 2, Informative

      in general, Security patches are pushed in the repos right away, only major version changes are held off for next release.

    7. Re:In other news... by sproot · · Score: 2, Funny

      Weirdly enough, Linux doesn't use the Windows CryptoAPI and therefore isn't vulnerable to this.
      Neither does FF on Windows, don't know about Opera though. Doubtless a fanboi will be along with the news shortly.

  2. So let me get this right... by Darkness404 · · Score: 5, Insightful

    The people who need to make sure to get everything secure in order to for the web to function have waited longer than -9 weeks- to get something fixed? When the thing was presented at... Defcon? What else do these people have to do other than fix these -major- flaws. When something is shown at Defcon, BlackHat, HOPE or any other major security conference, the first thing for these people to do would be to fix the flaw. 9 weeks is inexcusable.

    --
    Taxation is legalized theft, no more, no less.
    1. Re:So let me get this right... by Anonymous Coward · · Score: 3, Informative

      Actually, this attack has been known a lot longer than that.

      I'm really glad the security product we developed uses OpenSSL even on Windows. The MS Crypto API was greatly desired at the time because it made the binary distribution a lot smaller. Originally everything was developed using OSSL because our stuff is cross-platform. Good thing we never found the time to switch over to CAPI on Windows.

    2. Re:So let me get this right... by Korin43 · · Score: 4, Interesting

      But it's pretty clear who's responsibility it is. Microsoft needs to update the Windows Crypto API. Mozilla products are already patched.

    3. Re:So let me get this right... by Anonymous Coward · · Score: 2, Interesting
    4. Re:So let me get this right... by bertok · · Score: 5, Interesting

      The people who need to make sure to get everything secure in order to for the web to function have waited longer than -9 weeks- to get something fixed? When the thing was presented at... Defcon? What else do these people have to do other than fix these -major- flaws. When something is shown at Defcon, BlackHat, HOPE or any other major security conference, the first thing for these people to do would be to fix the flaw. 9 weeks is inexcusable.

      The problem is that this is not just some buffer overflow where you can replace single function call with an equivalent function call that does a safety length check. Security holes that depend on '\0' characters in strings exploit a systematic flaw in the Windows API design: the mix of two entirely different and incompatible types of strings all over the place. The 'native NT' API uses Unicode strings with an explicit length, but the Win32 API and C/C++ libraries usually use null-terminated strings. The dirty compromise is to use null-terminated strings together with an explicit length. Naively, one would think that this is now compatible with both, but it isn't - the NT API strings are a superset of the C-style API strings, because they can contain \0 characters, which the latter cannot handle.

      This is a glaring flaw, has been known for many years, and will probably never get completely fixed. The SysInternals guys wrote a nice article about it once, I think, but I can't find it any more. It's lost in the mists of time. It's been exploited repeatedly too. You can create files and registry entries with \0 in them, and then none of the user-mode tools will be able to modify or delete those, including Explorer and the command-line tools. Viruses and other malware make use of this 'feature' often.

      What really shits me is that Microsoft hasn't learned a thing. They talk big about security, but it's just talk. For example, the entire ASP.NET API suffers from a similar mismatch of encodings flaw: All of the data binding controls fail to properly HTML encode strings coming from a database. This makes virtually all ASP.NET applications ripe for exploits via XSS or other script injection attacks. The one time I wrote an ASP.NET app, I had to spend weeks going through and replacing all of the simple-looking bind statements with explicit calls to a method that would both bind and encode. Even in the upcoming 4.0 release, the flaw is still there. I suspect that it won't ever get fixed.

      If Microsoft can sit on a related security holes for years, don't hold your breath for a patch for this one. Even if they do fix it, I suspect they'll do something half-assed, like create a patch for IE only, instead of the cryptographic subsystem as a whole.

    5. Re:So let me get this right... by QuoteMstr · · Score: 5, Insightful

      All of the data binding controls fail to properly HTML encode strings coming from a database. This makes virtually all ASP.NET applications ripe for exploits via XSS or other script injection attacks. The one time I wrote an ASP.NET app, I had to spend weeks going through and replacing all of the simple-looking bind statements with explicit calls to a method that would both bind and encode. Even in the upcoming 4.0 release, the flaw is still there. I suspect that it won't ever get fixed.

      To be fair, that's the kind of thing Microsoft really can't fix: plenty of people depend on outputting HTML stored in the database, and making escaping the default would break these users. We can debate the usefulness of Microsoft's compatibility-über-alles approach, but you can't fix that problem and preserve backward compatibility.

    6. Re:So let me get this right... by nametaken · · Score: 4, Insightful

      For example, the entire ASP.NET API suffers from a similar mismatch of encodings flaw: All of the data binding controls fail to properly HTML encode strings coming from a database. This makes virtually all ASP.NET applications ripe for exploits via XSS or other script injection attacks.

      I would be pretty upset if everything I pulled from DB was automagically HTML encoded. I protect against XSS where it needs to be done. There are places where HTML encoding your data would not work. I do, however, always use parameterized inserts to protect against sql injection on top of an appropriate string cleaning function. Few things aggravate me like shitty ad-hoc inserts and the absence of string cleaning tied to a client-driven interface.

    7. Re:So let me get this right... by andymadigan · · Score: 3, Informative

      In fact, most SDK's out there would likely have a similar "flaw". In Java land you need to do the escaping yourself, and there isn't a built-in function to do XML or HTML escaping. You just need to know to handle it.

      --
      The right to protest the State is more sacred than the State.
    8. Re:So let me get this right... by techeddy · · Score: 2, Insightful

      Actually they have addressed the HTML encoding in ASP.net 4.0: http://haacked.com/archive/2009/09/25/html-encoding-code-nuggets.aspx Although I agree it has taken quite a while, but sometimes one does need to output with and without the encoding, so I find it nice to have an explicit and easily identifiable way to do both.

    9. Re:So let me get this right... by goofy183 · · Score: 2, Informative

      True but the core Java language doesn't ship with any nice HTML widgets. I believe JSF either does escaping by default or at least has a single app-wide setting to enable it by default. The Spring MVC framework has similar options, where with one line I can enable XML and JS escaping in all content written out by UI components. Being backwards compatible is one thing but not having an option to do default escaping is just opening your developer base up to all sorts of issues.

    10. Re:So let me get this right... by QuantumRiff · · Score: 4, Interesting

      I have never understood that for years, you have been able to create a folder with a space at the end of its name in a script. Try, just try, to delete that folder.. You can't create it in explorer, you can't delete it in explorer.. in fact, the only way to fix that I have found, is hope to god its a long file name, drop to a command prompt, and delete it with "Del folder~1"

      Years and years...

      Speaking of which, I got to try that in server 2008, and Windows 7.. Its a fun way to use 3 lines of script to really piss off your IT co-workers...

      --

      What are we going to do tonight Brain?
    11. Re:So let me get this right... by bertok · · Score: 2, Insightful

      All of the data binding controls fail to properly HTML encode strings coming from a database. This makes virtually all ASP.NET applications ripe for exploits via XSS or other script injection attacks. The one time I wrote an ASP.NET app, I had to spend weeks going through and replacing all of the simple-looking bind statements with explicit calls to a method that would both bind and encode. Even in the upcoming 4.0 release, the flaw is still there. I suspect that it won't ever get fixed.

      To be fair, that's the kind of thing Microsoft really can't fix: plenty of people depend on outputting HTML stored in the database, and making escaping the default would break these users. We can debate the usefulness of Microsoft's compatibility-über-alles approach, but you can't fix that problem and preserve backward compatibility.

      There's no backwards compatibility, ASP.NET was a completely new framework, written from the ground up. It should have done escaping correctly, right from the start. Ideally, it should be a flag that you can toggle on and off on the level of individual text fields, controls, or a whole page, and the default should be safe.

      Storing HTML in databases is one thing, and there are controls for emitting such data, such as XML, Literal or Placeholder controls, but that's a special case where a page is assembled from HTML fragments, which is actually relatively rare(*). The common case is a simple text field bound to a database column such as "user name", or "product name". There is just no good reason to allow arbitrary HTML in all database columns that are potentially user writeable. This is how you end up with shit databases that have encoded characters like "&" in them, which breaks sorting, comparisons, and non-HTML applications such as reporting engines.

      Oblig XKCD: http://xkcd.com/327/

      (*) at least it SHOULD be rare, because it totally breaks the separation between UI, Code and Data, by mixing all three together into one huge mess.

    12. Re:So let me get this right... by Anonymous Coward · · Score: 5, Informative

      I have never understood that for years, you have been able to create a folder with a space at the end of its name in a script. Try, just try, to delete that folder.. You can't create it in explorer, you can't delete it in explorer.. in fact, the only way to fix that I have found, is hope to god its a long file name, drop to a command prompt, and delete it with "Del folder~1"

      Well, the documentation for Windows Explorer specifically states that it may not support all the naming conventions of the underlying file systems. Of course, it would be entirely reasonable to expect it to fully support the naming conventions of any Microsoft file system, but MS seems to operate under an unusual definition of "reasonable"...

      You don't need a script to create such folders, just the command prompt. This will work just fine: mkdir ".\Space \". Even better, dir /X may fail to reveal this as a long filename (by definition, any filename containing a space is a long filename even if it's eight or fewer characters in length), in which case there's no way to use dir to make it obvious there's an abomination in the list of folders.

      Note that mkdir "Space " won't give you the trailing space in the folder name, at least not on anything earlier than Vista or 2003 (never tried this trick on anything after XP). Similarly, rmdir "Space " fails to remove the directory, but you can remove it with rmdir ".\Space \".

      File this under "Stupid cmd.exe tricks".

      Speaking of which, I got to try that in server 2008, and Windows 7.. Its a fun way to use 3 lines of script to really piss off your IT co-workers...

      Heh, create three sibling directories named "stuck" where they have one, two, and three trailing spaces - then sit back and watch the consternation. It will look like there are three folders with identical names under the same folder (impossible!), and none of them can be deleted with Explorer. Pure, evil fun.

      - T

    13. Re:So let me get this right... by bertok · · Score: 3, Insightful

      I just tried it with ASP.Net 2.0. A TextBox, HTMLInputText, div, and span control all escaped HTML properly. A Label did not properly escape the Text property. I can't think of very many situations where you would use user supplied values for label text, that a span wouldn't be more appropriate for. By default TextBoxes don't allow HTML to be submitted at all. BTW, ASP.Net 2.0 is four years old.

      Well, I just tested it with 3.5, and it's still just as broken as when I first tried it with 2.0.

      First of all, "div" and "span" aren't controls at all, but are simply markup elements, and neither support data binding (which is what I was talking about), and neither do any kind of encoding at all, so I think you might be missing my point entirely. Also, "Label" is not that rare - it's the default control inserted by the GUI designer in Visual Studio if you bind a text field in a FormView, and as you noticed, it fails to encode.

      Second, while some controls do perform encoding, this only works sometimes, usually if the target control is a "Literal", or effectively the same (e.g.: If a Literal control is generated by a data bound control as a child control). As far as I know, the Literal control is the only control that has a "Mode" property that can be used to toggle HTML encoding modes, so most other text fields are not encoded.

      For example, if you bind the "Text" property of a HyperLinkField of a DataGrid, then no HTML encoding is done, and no encoding options are available. The only option is to do a manual bind to a code-behind method that performs the encoding for you.

      What particularly shits me is how random the encoding is. Sometimes it works (literals), sometimes it doesn't (hyperlinks), but then sometimes it randomly works again, such as the Alt text of Image fields. It's not documented either!

      Is this the quality and attention to security you'd expect from the world's biggest software company? Random, unpredictable, undocumented, insecure behavior in their flagship web framework? Really?

    14. Re:So let me get this right... by rodgster · · Score: 2, Interesting

      Wow.

      "not technically feasible" to patch at least XP 64 bit which was release after 2003 32-bit server and before 2003 server 64-bit. I thought the code base was really similar. Especially since it uses the same Service Pack (WindowsServer2003.WindowsXP-KB914961-SP2-x64-ENU.exe)

      General Availability Dates from Microsoft

      Windows Server 2003, Standard Edition (32-bit x86) 5/28/2003
      Windows XP Professional x64 Edition 4/24/2005
      Windows Server 2003, Standard x64 Edition 5/28/2005

      This cannot be anything less than a ploy to kill XP (and 2000 server) and bring on the new era of Windows Play Skool Edition (Windows Visa 2009 aka Windows 7)

      --
      Who will guard the guards?
    15. Re:So let me get this right... by mpe · · Score: 2, Insightful

      Several users have pointed out that Microsoft's "solution" doesn't encode HTML attributes correctly, and doesn't handle several other cases, like embedded XML fragments, or embedded script blocks, which use a different encoding scheme.
      This is what I mean when I say Microsoft's attitude to security is still half-assed.


      Or rather that's their attitude to standards. With the security issues being one of the consequences.

  3. Wow? by Anonymous Coward · · Score: 4, Funny

    Moxie Marlinspike - that's a goblin name if I ever saw one.

    1. Re:Wow? by captnbmoore · · Score: 4, Informative

      You do know what a marlinspike is right? http://en.wikipedia.org/wiki/Marlinspike

      --
      The Navy Motto "IF it ain't broke Fix It" "A day is wasted if you don't learn something new"
    2. Re:Wow? by The+Archon+V2.0 · · Score: 2, Insightful

      You do know what a marlinspike is right?

      Yeah, it's the place where Captain Haddock lives. (I'm sorry, I know what the actual object is, but my childhood Tintin reading and viewing has forever fused the word "marlinspike" to the word "hall".)

  4. Is that... by petronije · · Score: 2, Interesting

    a bug or a feature?

  5. What about the CA that issued it? by mindstrm · · Score: 5, Interesting

    With CNs like www.paypal.com\0ssl.secureconnection.cc

    Shouldn't the CA who issued the certificate bear *some* of the blame here?

    It just seems logical....

    1. Re:What about the CA that issued it? by ekhben · · Score: 5, Insightful

      Ahh, you've discovered why SSL on the web is fundamentally broken -- CAs have no incentive to act responsibly, since their customers are certificate requestors, not relying parties. And certificate requestors like CAs who don't have heavy process and high fees.

      I believe the only way forward is for browsers to change the model: associate a certificate SKI with a web site on first visit, warn if that changes. Don't worry about certificate validity, since the hierarchical trust model has been compromised from the root.

    2. Re:What about the CA that issued it? by QuoteMstr · · Score: 5, Interesting

      CAs have no incentive to act responsibly, since their customers are certificate requestors, not relying parties. And certificate requestors like CAs who don't have heavy process and high fees.

      Especially Comodo:

      Five minutes later I was in the possession of a legitimate certificate issued to mozilla.com - no questions asked - no verification checks done - no control validation - no subscriber agreement presented, nothing

    3. Re:What about the CA that issued it? by buchner.johannes · · Score: 3, Interesting

      Jacob Appelbaum presented a wildcard cert that you can use for any domain a week ago. Not sure why this is a story when a paypal-only forged cert comes out.

      https://www.noisebridge.net/pipermail/noisebridge-discuss/2009-September/008400.html

      Note that you can create a SSL cert for any subdomain you host. I.e. CA root gives you *.example.com, you sub-certify a certificate for mail.myhome.example.com. So you can not blame a root CA for this issue, as anyone who is in the hierarchie can create a \x00 cert.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    4. Re:What about the CA that issued it? by mpe · · Score: 2, Informative

      Which is why I sometimes get a little irritated when I'm trying to explain to people who just won't understand that CA-issued certificates are hardly more secure than self-signed certificates. In reality, CA-signed certificates are more dangerous because of the false sense of security people get when they see the friendly "lock" icon without even having to look at the certificate.

      You also typically will not get any warning if the certificate or the CA change.

      Yet, some common browsers today make people jump through all sorts of hoops just to accept a self-signed certificate.

      Together with "warnings" which are misleading.

  6. Re:Heh... surprised? by petronije · · Score: 5, Informative

    Looks like lynx (http://lynx.isc.org) is still safe.

  7. Re:Heh... surprised? by Romancer · · Score: 4, Informative

    From the article:

    Fortunately, Mozilla developers patched the hole a few days after Marlinspike's demo and Apple followed suit a few weeks later with Safari for OS X. That means if you're on Windows, the only way to protect yourself against this critical vulnerability is to use versions 3.5 or 3.0.13 or later of Firefox. At least until Microsoft fixes the CryptoAPI, whenever that may be.

    --


    ) Human Kind Vs Human Creation
    ) It'd be interesting to see how many humans would survive to serve us.
  8. Re:Such dependancies annoy nLite users! by Anonymous Coward · · Score: 5, Insightful

    This has to be the worst advice I've ever heard.

  9. Re:Such dependancies annoy nLite users! by sakdoctor · · Score: 4, Insightful

    NO! Don't roll your own crypto. This is madness!
    *Kicks BikeHelmet into pit*

    OpenSSL is available for windows; use that.

  10. Update by Hatta · · Score: 4, Informative

    Sounds like PayPal should be freezing everyone's account until this is fixed.

    --
    Give me Classic Slashdot or give me death!
    1. Re:Update by dgatwood · · Score: 3, Informative

      Just anyone who has ever logged in from a Windows box running a browser other than Firefox.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    2. Re:Update by citizenr · · Score: 3, Informative

      Just anyone who has ever logged in from a Windows box running a browser other than Firefox.

      and Opera. Opera uses OpenSSL, thus avoids broken Windows crypto stuff.

      --
      Who logs in to gdm? Not I, said the duck.
  11. "...PayPal has suspended Marlinspike's account." by magsol · · Score: 5, Insightful

    Because that is totally going to fix the problem.

    --
    "I'd just like to emphasise that taking a million years isn't a metaphor here..." -Rich Bradshaw
  12. Re:Yay Choices! by quickOnTheUptake · · Score: 4, Informative
    Using a less targeted platform is not security through obscurity, at least not in the conventional sense of the term.
    This is a nice definition:

    Security Through Obscurity (STO) is the belief that a system of any sort can be secure so long as nobody outside of its implementation group is allowed to find out anything about its internal mechanisms. Hiding account passwords in binary files or scripts with the presumption that "nobody will ever find it" is a prime case of STO.

    For shits and grins here is a slashdot feature on the topic; the first couple of paragraphs should make the usage clear. In fact he even goes on to point out that it can not be used by opensource software.

    --
    Mod points: Guaranteed to remove your sense of humor.
    Side effects may include gullibility and temporary retardation
  13. Re:"...PayPal has suspended Marlinspike's account. by HeronBlademaster · · Score: 5, Funny

    If you don't shoot the bearers of bad news, people will keep bringing it to you.

  14. Re:Yay Choices! by Jaysyn · · Score: 4, Informative

    Or just use Firefox. Wow, that's a lot easier!

    --
    There is a war going on for your mind.
  15. Video Of The Defcon Talk by Anonymous Coward · · Score: 3, Interesting

    For more information about null-prefix attacks, the video is here.

  16. Re:Such dependancies annoy nLite users! by TheRealMindChild · · Score: 2, Insightful

    It irks me how much Microsoft and Google products depend on Windows components.

    So you are saying reinvent the wheel? Don't use the system resources at your disposal? Should we just all go back to DOS way of doing things?

    --

    "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
  17. Re:Paypal uses an EV cert. by dopodot · · Score: 2, Insightful

    Do you really think the average user is going to notice a lack of green bar? Internet Explorer is going to accept this certificate as valid for https://www.paypal.com/ and there will be no hints to the user that it's actually illegitimate. Unless there's some other mechanism in Internet Explorer that will notice it got an EV cert in the past and is no longer getting it, then this cert is entirely usable for a man in the middle.

  18. Re:Such dependancies annoy nLite users! by just+fiddling+around · · Score: 3, Insightful

    Amen brother, bad coders re-making existing functions or API's is what fills up The daily WTF

    --
    You're not old until regret takes the place of your dreams.
  19. Re:uber lolz by spartin92 · · Score: 2, Informative

    No, paypal is just fine. The problem is that Microsoft has not updated its encryption API for Internet Explorer to stop a publicly known exploit for SSL.

  20. Shooting whom? by eyepeepackets · · Score: 4, Funny

    Kirk: How is the messenger, Bones?

    McCoy: He's dead, Jim.

    Kirk: Well, I suppose our mission here is accomplished.

    McCoy: Yes, I suppose you're right.

    --
    Everything in the Universe sucks: It's the law!
  21. Re:Such dependancies annoy nLite users! by True+Vox · · Score: 2, Insightful

    Yeah, I'll just echo Sakdoctor... Being able to make "rolling your own crypto" a good idea is for a VERY rare breed of person... and even they generally don't like to do it.

    --
    "Gratuitous complexity is akin to chaos" - True Vox
  22. Re:Paypal uses an EV cert. by Vellmont · · Score: 2, Insightful


    *doesn't chain to an EV provider* it's not much of an exploit,*doesn't chain to an EV provider* it's not much of an exploit, really. No green bar, not safe. really. No green bar, not safe.

    Have you lost your mind, or are you joking?

    Assuming a rubber room is being prepared for you, I have to wonder why you would think anyone knows to look for green bars.

    I might actually agree with you that this isn't a huge problem, but for very different reasons. MITM attacks are relatively hard to exploit. You're essentially limited to wireless networks, or hostile LANs. Also, this isn't a big deal since if you can already perform a MITM attack there's countless ways to trick the user into thinking the site is secure without even touching SSL.

    --
    AccountKiller
  23. Re:Heh... surprised? by Anonymous Coward · · Score: 2, Informative

    From the information I can find online, Opera does not use the affected Windows Crypto API.

  24. Re:Yay Choices! by Excelsior · · Score: 5, Insightful

    I am not a security expert, but does switching to Firefox really solve the issue? For browsing, sure. But everyone is saying this is part of the core crypto API in Windows. Certs are used in more things than just IE.

    When the app you want to install says it is signed by Microsoft, Mozilla, or Nullsoft, can you still be sure that it really is? Can you be sure the Windows Update software is actually retrieving updates without a man-in-the-middle?

    I really don't know the answers to these questions. But I would be surprised if switching to Firefox is a cure to a bug in the core Win32 apis. Helpful: yes. A solution: probably not.

  25. Re:No, but by QuoteMstr · · Score: 4, Insightful

    AFAIK, the law supports your position. But I really think we need to examine whether that's the kind of society we want. It's perfectly fine for a small business to arbitrarily refuse to have a relationship with a particular person. That person can go elsewhere, and the small business is only hurting itself. But large companies like PayPal are different. They form an integral part of the fabric of modern life. When one of these large companies denies service to an individual, that person's quality of life is reduced without an opportunity for rebuttal, or for a fair judgment by his peers. These companies have become de facto utilities, and just as the electric company cannot turn off your lights because of a personal grudge, PayPal should not be able to arbitrarily cripple your ability to send and receive money.

    When a company gains quite a bit from being large enough to matter in this way; it should give something in return.

  26. ow, retaliate! by Onymous+Coward · · Score: 5, Insightful

    If you cause someone grief, don't expect them to be nice to you in return.

    Look at it this way: If a doctor jabs you with a mortally-needed anti-venom needle, do you have the right to tell him "Fuck off!"?

    I suppose... "He caused me grief!" Yeah, okay. It's a bit of a simplistic metric, really, for determining what is a good response. Appropriate for a young child or a retard. Maybe not for a large corporation. Hopefully not for you.

    It does matter what the person's intentions were.

  27. Re:No, but by lilrobbie · · Score: 5, Insightful

    From Paypal's justification of their banning:
    "We do not, however, allow PayPal to be used in the sale or dissemination of tools which have the sole purpose to attack customers and illegally obtain individual customer information," the spokeswoman, Sara Gorman, wrote in an email. "We consider whether there is any legitimate use in helping to strengthen the defenses of one's site when determining violation of our policy."

    The problem with your statement is that he did not cause Paypal problems in the way that you think. He showed a widespread security flaw, using Paypal as an example... and Paypal suddenly decided that the tools he was producing "have the sole purpose to attack customers and illegally obtain individual customer information". This is a complete and utter load of bollix.

    So yes, Paypal may not be happy they have a vulnerability... the same vulnerability that every other SSL cert user has I might add... but he was not breaking their TOS. What they did was infantile and very counter-productive.

    This kind of behaviour means the only people that know the flaws in your system are the hackers who want to exploit them for nefarious means, rather than these researchers, who are doing it partially to "help the world", but also to HELP YOU.

    I wouldn't trust a company who discourages security penetration testing and thorough investigations of their systems in these ways. Because you can bet your pants, the black-hat hackers will do their homework and find these flaws if our researchers don't.

  28. Re:Such dependancies annoy nLite users! by BikeHelmet · · Score: 2, Interesting

    NO! Don't roll your own crypto. This is madness!

    I'd never do that.

    OpenSSL is available for windows; use that.

    ->

    go for a third party library. (perhaps open source)

    The rewrite it bit was actually referring to automatic updates and XML parsing. Those are pretty easy to implement properly in an app, without depending on Microsoft-coded services.

    Apparently I'm 80% overrated, but that's also why a single exploit can affect so much software. Rather than using a third party lib, most devs just use whatever you stick in front of them. :/

  29. How does this work (in 20 seconds) by Monkier · · Score: 5, Informative

    what usually happens:
    * you request a cert common-name=serverbox.mydomain.com from a Certificate Authority (CA)
    * CA determines you are authorized to make this request on behalf of mydomain.com
    * serverbox.mydomain.com serves down the signed cert, your browser makes sure website == common-name == serverbox.mydomain.com

    what these clever guys discovered:
    * you can request a cert common-name=paypal.com\0.mydomain.com
    * CA determines you are authorized to make this request on behalf of mydomain.com
    * man-in-the-middle sits in between you and paypal.com, serves down this cert, victim's browser makes sure website == common-name == paypal.com (whoops!)
    * victim sees paypal.com in their browser with that reassuring padlock

    1. Re:How does this work (in 20 seconds) by tokul · · Score: 2, Interesting

      victim sees paypal.com in their browser with that reassuring padlock

      paypal.com uses EV cert. Original site shows green location bar.

  30. Re:Heh... surprised? by Brian+Gordon · · Score: 2, Informative

    Don't forget about elinks (http://elinks.or.cz/)

  31. Re:Yay Choices! by Anonymous Coward · · Score: 3, Informative

    IIRC Firefox has its own cross-platform libraries for the code in question, which is why it isn't vulnerable like the browsers that depend on the win32 libs. Mozilla can just patch those libs whenever they want, and in this case they did so before Microsoft patched the win32 libs.

  32. escape-characters poorly misunderstood by durnurd · · Score: 4, Informative
    I'm rather fond of this bit of ignorance:

    The certificate is the latest to target a weakness that causes browsers, email clients, and other SSL-enabled apps to ignore all text following the \ and 0 characters

    --
    --Edward Dassmesser
  33. This is a scary scenario by misnohmer · · Score: 2, Insightful

    Since the hole affects Windows Crypto API's, this should now be easily possible. A rootkit virus, which hijacks all the traffic from its local network, intercepts all windows update requests and spreads itself as an update. Implications: if single machine on your network is infected, all windows machines get infected within 24hrs? This is providing you can get a code signing cert with null-prefix, but I don't see why this would be much different than SSL cert (just find an automated CA).

  34. escape-characters poorly misunderstood? by YesIAmAScript · · Score: 3, Funny

    I dunno, they seem fully misunderstood in this case.

    --
    http://lkml.org/lkml/2005/8/20/95
  35. Re:Yay Choices! by poopdeville · · Score: 2, Informative

    So long as your definition of security is one that is non-quantitative, sure.

    My statement can be quantified straightforwardly, thought it depends on the details of a specific application and the security systems it uses. Specifically, the algorithmic properties of said security systems (the cost) and an analysis of the risk the systems reduce or introduce (the gain).

    Security, much like finance, is about risk, and using effective methods to manage your exposure to risk. Ineffective methods don't reduce your exposure to risk. That's why they are ineffective.

    --
    After all, I am strangely colored.
  36. http://www.thoughtcrime.org/ by Agamous+Child · · Score: 2, Interesting

    Did anyone else read the stuff this kid has on his site? Moxie is a Sailor/Hacker/Anarchist/Squatter/Hitchhiker enigma. Holy shit this kid has sailed the CA coast in the worst conditions alone. I am duly impressed and green with envy and depressed that I am not living a life like his.

    --
    I had a sig, but /. ate it. My Web Site
  37. Re:Such dependancies annoy nLite users! by shutdown+-p+now · · Score: 2, Insightful

    XML parsing. Those are pretty easy to implement properly in an app

    No, no, God, no. I'm sick to death of crappy applications not handling Unicode element names, not understanding XML namespaces properly (I've seen several that thought that prefix is the namespace, and required you to use specific prefixes), not properly parsing CDATA, not understanding XML whitespace rules or xml:space, not understanding DOCTYPE and entities, and so on.

    XML is not simple. Don't think you can whip up a parser in an evening unless you really know the W3C spec well, including all corner cases (if you don't know any corner cases, then you don't know it well).

    Use a mature, stable, preferably open source third party library, and you'll make your users and future maintainers happy.

  38. Re:Such dependancies annoy nLite users! by shutdown+-p+now · · Score: 2, Informative

    When I wrote an XML parser for app settings, I chose...

    ASCII only, no XML attributes(only simple tags), strict closing tag order. Also, opt-out input sanitization(all chars rejected unless... A-Z, a-z, 0-9, +_-, etc.) when both saving and loading.

    So you didn't write an XML parser, then. I sure hope that when you documented that thing, you didn't call the format of your app settings file "XML", because it sure as hell isn't that.

  39. Re:Heh... surprised? by Lennie · · Score: 2, Informative

    I have some doubts about that, even wget was not safe:

    http://changelogs.ubuntu.com/changelogs/pool/main/w/wget/wget_1.11.4-2ubuntu1.1/changelog

    --
    New things are always on the horizon
  40. Re:Heh... surprised? by maxwell+demon · · Score: 3, Funny

    CryptoAPI is easily avoidable, just use Unix libs for Hashing, Keys and Singins.

    So am I more secure if I sing myself instead of the computer letting it do for me?
    Does it matter which song I sing? I guess "ring of fire" would make a good firewall?

    SCNR :-)

    --
    The Tao of math: The numbers you can count are not the real numbers.
  41. Re:Yay Choices! by maxwell+demon · · Score: 2, Insightful

    The point is, you get only the Firefox security after you've installed Firefox, and only assuming you've installed the real version, not a hacked one. And how do you check if you have a real version when installing your first version of Firefox? You can't check with Firefox because it's not yet installed. Checking with Firefox after the fact is pointless, too, because a hacked Firefox will certainly claim it's legitimate. Actually, even when Microsoft patches the vulnerability and you get it through Windows Update, you can't be completely sure, because after all someone might have intercepted Windows Update with a fake certificate.

    --
    The Tao of math: The numbers you can count are not the real numbers.
  42. Re:Paypal uses an EV cert. by muckracer · · Score: 2, Funny

    > Never type a password into a site unless you see a lock icon in your browser.

    So how'd you log into Slashdot?

  43. Re:Yay Choices! by sproot · · Score: 2, Interesting
    I've never really understood that comment:

    I'm personally running Windows 7, Windows Vista, and Ubuntu. Never had any infections on any of them.

    Ubuntu aside, how could you know? Do you maintain a whitelist of everything running on your PC? Do you scan for rootkits *outside your OS*? Do you maintain a list of MD5 hashes for every binary?

    Surely what you mean is that you've *never known* you had an infection.