Slashdot Mirror


Security Flaw Discovered in GPG

WeLikeRoy writes "A serious problem in the use of GPG to verify digital signatures has been discovered, which also affects the use of gpg in email. It is possible for an attacker to take any signed message and inject extra arbitrary data without affecting the signed status of the message. Depending on how gpg is invoked, it may be possible to output just faked data as several variants of this attack have been discovered. All versions of gnupg prior to 1.4.2.2 are affected, and it is thus recommended to update GnuPG as soon as possible to version 1.4.2.2."

151 comments

  1. Oh no! by MyLongNickName · · Score: 4, Funny

    A serious security issue in GPG! We are all doomed!

    what is GPG?

    Yeah, I will go RTFA. However, summaries that assume you are familiar with an acronym are rude, IMHO ;)

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    1. Re:Oh no! by Anonymous+Crowhead · · Score: 5, Interesting

      It's funny. Back in the day, when Slashdot was cool, almost everyone would know what GPG was. Most of the articles were like this one. Cool stuff about cool technology. Not politics (aside from GNU) and all the other crap like the "new mouse/keyboard techonolgy of the week" adverts that permeates Slashdot these days.

    2. Re:Oh no! by LookoutforChris · · Score: 1

      How do you read Slashdot and not know what GPG is?

    3. Re:Oh no! by pete-classic · · Score: 3, Funny

      What the fuck is an IMHO, and what does it have to do with a RTFA?

      -Peter

    4. Re:Oh no! by Anonymous Coward · · Score: 0

      The 90s? I've been on Slashdot since 1986, when I used to dial up to CmdrTaco's 300 baud BBS (if his mom wasn't on the phone) with my Commodore 64.

      I haven't been around for quite a few years, since there wasn't a good web browser for the C64 until quite recently. Anything new here? Did the user IDs finally pass 100?

    5. Re:Oh no! by Anonymous Coward · · Score: 0

      WTF!?! If you don't know what PGP and GPG are, then WTF are you doing reading Slashdot?

      Next thing you know you will be demanding that the editors explain what "Linux" is every time they post an article on it.

    6. Re:Oh no! by Anonymous Coward · · Score: 0

      What's rude is elitism. Get over yourself and your "clique".

    7. Re:Oh no! by xchino · · Score: 3, Funny

      Mod parent down. What a disgusting display of arrogance and elitism. You're the one who shouldn't be here, regardless of how low your UID is.

      "If you do not know what GPG is, you're not a nerd - and you're on the wrong site."

        I think about 98% of the science department at any college would tell you exactly what a fucking idiot you are for making such a broadly stupid statement. Are you seriously so deluded that you think the only type of nerd is a computer nerd? And that all computer nerds have heard of this one specific release of a technology rarely used even in business environments? The majority of nerds and geeks don't know what GPG is. People like you and me are the minority, fucking get over it, and get over yourself.

      "Seriously: Go away."

      Fuck you, you go away. I'd take a complete know-nothing over an arrogant asshole anyday. People like you detract from the value of this site. No one gives a shit you've been here since the 90's. Why don't you go have a plaque made to hang up on your bedrooom wall to show how cool you are? Do you put your slashdot UID on resumes as an acheivement?

      "Rude is to be at a site where you obviously do not belong - irritating the people who has frequented the site since the 90s."

        Rude is to act like you are the sole arbitrator of who should and should not be allowed to voice their opinion on an open forum, like you're the fucking gestapo or something. Given the recent history of postings The GP has, in the eyes of the users of this site, a better quality of contribution than You.

        Based on your attitude I can only assume you are a sad, pathetic man, with delusions of some sort of elevated importance via seniority. I, as well as the majority of slashdotter welcome ANYONE who is interested in science, technology, gaming, or any of the various subjects that slashdot covers, including politics, regardless of their ignorance of a certain subject or technology. You're nothing but an eSnob.

      --
      Everyone is entitled to their own opinion. It's just that yours is stupid.
    8. Re:Oh no! by Anonymous Coward · · Score: 0

      BTW: If you're so cool, how come you stole the fancy logo on your site from the Netherlands Organisation for Scientific Research?

    9. Re:Oh no! by britneysimpson · · Score: 0

      Those who use it are no doubt having a bad day!

    10. Re:Oh no! by Anonymous Coward · · Score: 0

      Wish I had some mod points for you (as a 4 digit UID holder I should always have mod points). Neo Slashdot sucks.

    11. Re:Oh no! by Nasheer · · Score: 1
      "what is GPG?"


      That's why I read your emails.
      --
      - Please, ignore everything written above.
  2. Whew! by suso · · Score: 4, Funny

    Its a good thing I don't use GPG to sign my emails. Oh wait.

    1. Re:Whew! by jrockway · · Score: 1

      Mails signed with GPG are fine. It's mail that's verified with GPG that can be forged.

      --
      My other car is first.
    2. Re:Whew! by Anonymous Coward · · Score: 5, Funny

      I have been publishing my GPG key for over a year now and I have yet to have anyone send me an encrypted email. I feel really lonely and unpopular. I'd even read encrypted penis enlargement spam if someone would be thoughtful enough to send me some.

    3. Re:Whew! by Anonymous Coward · · Score: 0

      Mails signed with GPG are fine. It's mail that's verified with GPG that can be forged.

      What good is signing something if you never verify it?

    4. Re:Whew! by Anonymous Coward · · Score: 1, Insightful

      Publish your address in a reply to this post, and I'm sure you'll get plenty.

    5. Re:Whew! by ThinkingInBinary · · Score: 2, Insightful

      If you had published your email, I'm sure you'd have 500 encrypted "Hello, world!" emails from other Slashdot readers.

    6. Re:Whew! by anomalous+cohort · · Score: 1
      I have been publishing my GPG key for over a year now and I have yet to have anyone send me an encrypted email.

      The poster was being funny but he does have a serious point. Adoption of GPG is most probably not very high. My guess as to why is the high degree of knowledge required to use GPG. When creating a key, the user is asked a lot of questions the answer, to which, he or she most probably doesn't know without a fairly good understanding of asynchronous encryption technology and PKI. Key management is also a bear.

      There is a very nicely written 41 page user document that comes with GPG. To use GPG without any prior knowledge of PKI, you pretty much have to read that document.

    7. Re:Whew! by mano_k · · Score: 1

      My sister always sends me gpg-encrypted emails and she is no techy at all!

      I just configured her mailclient to always use encryption when possible and put my key into her keyring...

    8. Re:Whew! by iabervon · · Score: 1

      I've never gotten encrypted email, but I've dealt in both directions with encrypted documents, often attached to unencrypted emails. Email in my experience is rarely all that important to keep private (I think 90% of the email I get also goes into public mailing list archives), and when it contains anything important, it tends to be an attachment anyway. Of the exceptions, they're almost all cases where the sender is an automated system that hasn't heard of you before (e.g., online hotel reservations), and the fact that you've published a key isn't useful, because the site doesn't know whether to trust it (it probably should let you specify a key you want it to use).

    9. Re:Whew! by jrockway · · Score: 1

      > What good is signing something if you never verify it?

      None. But you don't have to use GPG, you could use Crypt::OpenPGP instead.

      --
      My other car is first.
    10. Re:Whew! by Rheingold · · Score: 1

      Funny, but curiously enough fake PGP/MIME attachments are used by spammers, because older versions of SpamAssassin foolishly increased the score of messages with a signature attachment. This, regrettably, led to the situation of some misguided spam-filtering companies blocking messages with signatures, further hindering adoption.

      --
      Wil
      wiki
  3. Bug Intentionally Placed? by Un-Thesis · · Score: 2, Funny

    For all the tinfoil hat people out there, I propose that the bug may have been placed intentionally, since GnuPG is, in fact, an opensource community project. So instead of taking hours to obtain a GPG key, the NSA could spend seconds and impersonate an otherwise [strike]paranoid[/strike] privacy-oriented person in typically confidential memos. Maybe a full accounting as to when the bug got there, how it got there, who put it there and the chances of it being purely human error are to be demanded? After all, some people (including myself) have invested some very expensive stakes in the security of GnuPG over the years.

    HopeSeekr of xMule

    --
    Promote freedom; fight fascism.
    1. Re:Bug Intentionally Placed? by Saeed+al-Sahaf · · Score: 4, Funny

      The NSA secretly seeding Open Source with ingeniously crafted back doors? Never! Not our NSA...

      --
      "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
    2. Re:Bug Intentionally Placed? by Anonymous Coward · · Score: 2, Interesting

      After all, some people (including myself) have invested some very expensive stakes in the security of GnuPG over the years.

      Ah ha. And how many times did you personally verify the source before you trusted it?

    3. Re:Bug Intentionally Placed? by aprilsound · · Score: 4, Informative
      So instead of taking hours to obtain a GPG key, the NSA could spend seconds and impersonate an otherwise [strike]paranoid[/strike] privacy-oriented person in typically confidential memos.

      I realize this is a joke, but just so everyone knows, a little bit of scrutiny would expose a faked message.

      If you RTF Mailing List, you will see that the "attack" only allows someone to append or prepend data to the signed message, and then the augmented message is only displayed the way it is because of an application bug in GPG.

      No fundamental algorithm is broken, no one has discovered a way to cause collisions. In fact, if you tried to independently verify the signature of the message against the augmented message, it would fail.

      What happens is that GPG skips text that is not part of the signed message, such as email headers and the like, then verifies what is signed. Unfortunately, once it's verified, it will output the whole message, leading the user to believe that the whole message was signed.

      Again if you checked the signature against the whole message it wouldn't verify, GPG is just being a bit too helpful.

    4. Re:Bug Intentionally Placed? by Data+Link+Layer · · Score: 1

      As head of security for the company I work for I must check the source code for potential holes and try to fix them or use different encryption software.

    5. Re:Bug Intentionally Placed? by larry+bagina · · Score: 2, Interesting

      I guess we should be thanking you for finding this problem. Since you did verify the source code doesn't contain any security holes. You did find the hole, right?

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    6. Re:Bug Intentionally Placed? by From+A+Far+Away+Land · · Score: 5, Funny

      Do you suppose the NSA is also responsible for the backdoor exploit on the Goatse guy?

    7. Re:Bug Intentionally Placed? by Saeed+al-Sahaf · · Score: 1

      No, I don't think so.

      --
      "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
    8. Re:Bug Intentionally Placed? by Anonymous Coward · · Score: 5, Funny

      No that was a widely known and exploited crack.

    9. Re:Bug Intentionally Placed? by Phoe6 · · Score: 1

      Instead of using S/MIME method, which attaches the signature separately, would the old style --clearsign 'ing the message help? The clearsign hashes the content and displays the message inside a template with signature. Any new prepend or append inside would easily catch it as bad signature or when outside will lead the receiver to ignore it.

      --
      Senthil
    10. Re:Bug Intentionally Placed? by shmlco · · Score: 1

      Yeah. And it's great that those thousands of open-source eyeballs caught it before... oh, wait.

      --
      Any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so.
    11. Re:Bug Intentionally Placed? by ajs318 · · Score: 1

      Way to miss the point!

      If GPG had been a closed-source product, almost nobody would ever have known about the flaw. People would just have carried on using it [*], believing it safe, and the exploit would have stayed underground. It's precisely because it's Open Source that anybody discovered the problem at all. At least now, it can be fixed -- in fact, it already has been fixed.

      [*] Well, actually, they wouldn't, because using closed-source crypto is up there in the top ten Bloody Stupid Ideas, along with using a scythe to cut your toenails. And I hope I do not have to explain why.

      --
      Je fume. Tu fumes. Nous fûmes!
    12. Re:Bug Intentionally Placed? by maxwell+demon · · Score: 1

      I didn't know that there are several NSAs out there. Pretty good move to stay secret by reusing a name already taken! :-)

      --
      The Tao of math: The numbers you can count are not the real numbers.
  4. hang on, i'll tell him by Anonymous Coward · · Score: 1, Funny


    that GPG user lives downstairs i'll just tell him there is a problem

  5. Debian unstable's got me covered by Anonymous Coward · · Score: 0, Informative

    Since I use GnuPG to sign my e-mails (not that I believe anyone actually verifies the signatures, nor do I send any e-mails for which it would really matter all that much -- it just seems like good practice), I ran to check my version of GnuPG as soon as I saw the /. blurb.

    1.4.2-2

    Hmm. The -2 means that this is the second packaging of the 1.4.2 release. So it's been out for a while. Checking the changelog, I see that 1.4.2-1 was released 24 Sep 2005. My system would have gotten the update within a couple of days of that release date, so I got the fix nearly six months *before* the vulnerability announcement.

    Can't complain about that!

  6. software or data flaw? by TheSHAD0W · · Score: 1

    Is this flaw in encoding or decoding? IOW, will the new version of GPG be able to sniff out modified signatures, or are all signatures made by old versions modifiable w/ no recourse?

    1. Re:software or data flaw? by Black+Copter+Control · · Score: 2, Informative

      no flaw in encoding or decoding..
      The problem is in display. It displays the unencoded preamble and postscript inline with the (properly) verified parts of the email. You then, essentially, have to guess which is which.

      --
      OS Software is like love: The best way to make it grow is to give it away.
    2. Re:software or data flaw? by Gemini · · Score: 1
      no flaw in encoding or decoding..
      The problem is in display. It displays the unencoded preamble and postscript inline with the (properly) verified parts of the email. You then, essentially, have to guess which is which.


      Not quite. Depending on how GnuPG is called, the output might be either the real signed data alone, the appended data alone, or a mix.
  7. Don't forget Win95! by Un-Thesis · · Score: 0, Troll

    Don't forget the RSA key that had the words "NSA key" in the debug symbols that first made it into windows 98 and stayed there until WinXP SP2!! I feel these things are probably very prevalent; it's already common knowledge every U.S. ISP is pwned by their black boxes, usually also loaned to the FBI and then false-flagged as 'carnivore' (in reality it's an outcropping of ECHELON...err, now ADVISE (see my slashdotted story...)

    --
    Promote freedom; fight fascism.
    1. Re:Don't forget Win95! by Isaac-Lew · · Score: 1

      Do you seriously think that the NSA would be stupid enough to call their backdoor "NSAkey"?

    2. Re:Don't forget Win95! by JustOK · · Score: 5, Funny

      Don't you think they're smart enough to think that you would think they weren't that stupid?

      --
      rewriting history since 2109
    3. Re:Don't forget Win95! by Sloppy · · Score: 4, Funny

      I'm not even smart enough to understand what you just said.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  8. Not a fundamental flaw. by aprilsound · · Score: 5, Interesting
    From TFA:
    The attack is to change a standard message to inject faked data (F). A simple case is this: F + O + D + S gpg now happily skips F for verification and does a proper signature verification of D and if this succeeds, prints a positive result. However when asked to output the actual signed data it will output the concatenation of F + D and thus create the impression that both are covered by the signature.

    So this is a simple mistake made by GPG, in an effort to coexist well with email and the like.

    In other words, GPG looks at an email message and sees headers and the like. Of course, the headers were not signed (just the message), so GPG skips them and when it encounters the signed message, it begins to verify the signature.

    So, if you are an attacker, you insert something before or after the signed message, and when GPG goes to verify it, the signed message passes, but GPG nicely prints out the whole message for you, instead of just the signed part. Oops, not a big deal, encryption isn't broken, in fact this is just an application bug.

    1. Re:Not a fundamental flaw. by Anonymous Coward · · Score: 0, Troll

      Ah, the famous "I want to be near the top, so I will reply to something that isn't related to what I am posting so I can get karma".

    2. Re:Not a fundamental flaw. by el+americano · · Score: 1

      Not a Troll, just a calling a Karma Whore a Karma Whore.

      --
      Those are my principles. If you don't like them I have others. -Groucho Marx
    3. Re:Not a fundamental flaw. by linhux · · Score: 3, Interesting

      Sorry, but this like a big deal to me. The whole point of digital signatures is that you can know exactly what has been signed by the signer -- and be sure that nothing has been added and removed on the way. Consider this e-mail:

      From: BOSS@CORPORATE.COM
      To: MIDDLEMANAGER@CORPORATE.COM
      Subject: Employee Burt Reynolds

      That's a fine lad! Let's give him a raise!

      -- Boss

      GPG SIGNATURE VERIFIED: BOSS@CORPORATE.COM


      Now, this message can be intercepted and a new part inserted before the actual message body, without the receiver being notified -- here I have marked the new part with bold text:

      From: BOSS@CORPORATE.COM
      To: MIDDLEMANAGER@CORPORATE.COM
      Subject: Employee Burt Reynolds

      Fire him immediately. He is a waste of space.

      Employee Foo Bar, on the other hand.
      That's a fine lad! Let's give him a raise!

      -- Boss

      GPG SIGNATURE VERIFIED: BOSS@CORPORATE.COM


      The message meaning has been completely altered, and GPG still verifies the signature. Feels like a big deal to me. But of course, I might have completely missed something.

    4. Re:Not a fundamental flaw. by xquark · · Score: 3, Insightful

      yeah you did, the signing would also include the part " -- Boss" within the signature,
      ergo the injection you proposed would not be valid and hence would be rejected
      by the signature verification process.

      try and add something before or after the actual e-mail message and see how much sense
      it would make to someone reading it...

      Arash

      --
      Arash Partow's Philosophy: Be a person who knows what they don't know, and not a person who doesn't know.
    5. Re:Not a fundamental flaw. by Anonymous Coward · · Score: 0

      What the hell are you talking about it, his description of the issue is totally accurate.

    6. Re:Not a fundamental flaw. by linhux · · Score: 1

      try and add something before or after the actual e-mail message and see how much sense
      it would make to someone reading it...


      Huh. That's exactly what I did. Note that the message body is not altered. And that the mail headers (From, To, Subject) are separate from the message body. The inserted text is inserted just before the actual e-mail message body.
    7. Re:Not a fundamental flaw. by Anonymous Coward · · Score: 0

      Nice job hijacking the thread you responded to. Your post has nothing to do with the GP.

    8. Re:Not a fundamental flaw. by ultranova · · Score: 2, Insightful

      But if I understood correctly, GPG doesn't include the headers in the signature; so even without this bug, you could just change the subject to refer to Foo Bar.

      Tricky business, security is :(.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  9. Well , What is GPG? by baomike · · Score: 4, Funny

    Sound like a movie rating.

  10. Aha! by evil+agent · · Score: 5, Funny

    She thought she could get rid of me with that rejection via email. Now I've got reasonable doubt about her feelings. Until I get that court order, of course.

    --
    End transmission.
    1. Re:Aha! by Anonymous Coward · · Score: 4, Funny

      well, if you're lucky the court order will come by email too.

    2. Re:Aha! by jav1231 · · Score: 1

      It's called a joke, morons. Don't breed.

  11. Shouldn't be a surprise... by Spy+der+Mann · · Score: 3, Insightful

    remember how many versions of OpenSSH we have? And why do you think new versions were released? And why should GPG be any different?

    1. Re:Shouldn't be a surprise... by glwtta · · Score: 1

      I don't think anyone's saying it's a surprise.

      --
      sic transit gloria mundi
    2. Re:Shouldn't be a surprise... by Anonymous Coward · · Score: 0

      Yep. But still, if a similar flaw would have been found from a commercial product, e.g., some M$ product, the slashdot monkeys would be masturbating out of joy.

  12. Re:Debian unstable's got me covered. Um NO. by Anonymous Coward · · Score: 3, Informative

    The parent AC is worng.
    1.4.2-2 is not equal to 1.4.2.2, and it is older than 1.4.2.2
    the -2 is the 2nd Debian modification of 1.4.2

  13. Double Bag That Burger by Doc+Ruby · · Score: 4, Informative

    Another good recommendation is to diversify your crypto. Sign/encrypt your data with multiple different crypto algorithms in the same message. It's like network redundancy: the odds of both methods failing at once are equal to the product of the low, but significant, probability of either failing. A single failure doesn't ever compromise your data, and buys time to get a new second method that works.

    Of course, sent messages can't be recovered for reprotection with the new second method. And eventually the other original method will be compromised, so the attacker can use the appropriate methods for each. But at least you've improved your security. Probably more than the next guy. Next lesson: when the bear is chasing y'all, you don't have to be the fastest; just not the slowest.

    --

    --
    make install -not war

    1. Re:Double Bag That Burger by Anonymous Coward · · Score: 0, Insightful

      go take a class on cryptography

    2. Re:Double Bag That Burger by Anonymous Coward · · Score: 0

      RTFA. This has nothing to do with the crypto; your suggestions in this case would be useless.

    3. Re:Double Bag That Burger by TPS+Report · · Score: 5, Funny

      Another good recommendation is to diversify your crypto. Sign/encrypt your data with multiple different crypto algorithms in the same message.

      That's an awesome idea. I'm going to start doing that right now! :P

      This is a multi-part message in MIME format.
      ------=_NextPart_000_0012_01C22048.805E68 00
      Content-Type: text/plain; charset="iso-8859-1"
      Content-Transfer-Encoding: 7bit Test ------=_
      NextPart_000_0012_01C22048.805E6800 Content-Type:

      application/x-pkcs7-signature; name="smime.p7s"

      Content-Transfer-Encoding: base64 Content-Disposition:
      attachment; filename="smime.p7s"</b>
      MIAGCSqGSIb3DQEHAqCAMIAC AQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAo
      IIKGDCC Ajww ggGlAhAyUDPPUNFW81yBrWVcT8glMA0GCSqGSIb3DQEBAgUAMF 8xC
      zAJBgNVBAYTAlVTMRcwFQYD VQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ
      2xhc3Mg MSBQdWJsaWMgUHJpbWFyeSBDZXJ0 aWZpY2F0aW9uIEF1dGhvcml0eTAeF
      w05NjAxMjkwMDAwMDBa Fw0yMDAxMDcyMzU5NTlaMF8xCzAJ BgNVBAYTAlVTMRcwF
      QYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3 MDUGA1UECxMuQ2xhc3MgMSBQdWJs aWMgU
      HJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCB nzANBgkqhkiG9w0BAQEFAA
      OBjQAw gYkCgYEA5Rm/baNWYS2ZSHH2Z965jeu3noaACpEO+jglr0aIgu VzqKCbJF
      0NH8xlbgyw0FaEGIea BpsQoXPftFg5a27B9hXVqKg/qhIGjTGsf7A01480Z4gJzR
      QR 4k5FVmkfeAKA2txHkSm7NsljXMXg 1y2He6G3MrB7MLoqLzGq7qNn2tsCAwEAAT
      ANBgkqhkiG9w0B AQIFAAOBgQBLRGZgaGTkmBvzsHLm lYl83XuzlcAdLtjYGdAtND
      3GUJoQhoyqPzuoBPw3UpXD2cnb zfKGBsSxG/CCiDBCjhdQHGR6uD6Z SXSX/KwCQ/
      uWDFYEJQx8fIedJKfY8DIptaTfXaJMxRYyqEL2 Raa2Nrngv2U2k8LS12vc3lnWojX
      RTCCAy4wggKXoAMCAQICE QDSdi6NFAw9fbKoJV2v7g11MA0GCSqGSIb3DQEBAgUAM
      F8xC zAJBgNV BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1 UEC
      xMuQ2xhc3MgMSBQdWJsaWMg UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0e
      TAeFw05 ODA1MTIwMDAwMDBaFw0wODA1MTIy MzU5NTlaMIHMMRcwFQYDVQQKEw5WZ
      XJpU2lnbiwgSW5jLjEf MB0GA1UECxMWVmVyaVNpZ24gVHJ1 c3QgTmV0d29yazFGM
      EQGA1UECxM9d3d3LnZlcmlzaWduLmNv bS9yZXBvc2l0b3J5L1JQQSBJbmNv cnAuI
      EJ5IFJlZi4sTElBQi5MVEQoYyk5ODFIMEYGA1UEAxM/ VmVyaVNpZ24gQ2xhc3MgMS
      BDQSBJ bmRpdmlkdWFsIFN1YnNjcmliZXItUGVyc29uYSBOb3QgVmFsaW RhdGVkMI
      GfMA0GCSqGSIb3DQEB AQUAA4GNADCBiQKBgQC7WkSKBBa7Vf0DeootlE8VeDa4DU
      qy b5xUv7zodyqdufBou5XZMUFweoFL uUgTVi3HCOGEQqvAopKrRFyqQvCCDgLpL/
      vCO7u+yScKXbaw NkIztW5UiE+HSr8Z2vkV6A+Hthzj zMaajn9qJJLj/OBluqexfu
      /J2zdqyErICQbkmQIDAQABo3ww ejARBglghkgBhvhCAQEEBAMCAQYw RwYDVR0gBE
      AwPjA8BgtghkgBhvhFAQcBATAtMCsGCCsGAQUF BwIBFh93d3cudmVyaXNpZ24uY29
      t L3JlcG9zaXRvcnkvUlBBMA8GA1UdEwQIMAYBAf8CAQAwCwYDVR 0PBAQDAgEGMA0
      GCSqGSIb3DQEB AgUAA4GBAIi4Nzvd2pQ3AK2qn+GBAXEekmptL/bxndPKZDjcG5 g
      MB4ZbhRVqD7lJhaSV8Rd9Z7R/ LSzdmkKewz60jqrlCwbe8lYq+jPHvhnXU0zDvcj
      jF7WkSUJj 7MKmFw9dWBpJPJBcVaNlIAD9GCDl X4KmsaiSxVhqwY0DPOvDzQWikK5
      uMIIEojCCBAugAwIBAgIQ BUy90AsJrAtbnO8CULdhXDANBgkq hkiG9w0BAQIFADC
      BzDEXMBUGA1UEChMOVmVyaVNpZ24sIElu Yy4xHzAdBgNVBAsTFlZlcmlTaWdu IFR
      ydXN0IE5ldHdvcmsxRjBEBgNVBAsTPXd3dy52ZXJpc2ln bi5jb20vcmVwb3NpdG9y
      eS9SUEEg SW5jb3JwLiBCeSBSZWYuLExJQUIuTFREKGMpOTgxSDBGBgNVBA MTP1Zl
      cmlTaWduIENsYXNzIDEg Q0EgSW5kaXZpZHVhbCBTdWJzY3JpYmVyLVBlcnNvbmEg
      Tm90 IFZhbGlkYXRlZDAeFw0wMTA3MTYw MDAwMDBaFw0wMjA3MTYyMzU5NTlaMIIB
      FDEXMBUGA1UEChMO VmVyaVNpZ24sIEluYy4xHzAdBgNV BAsTFlZlcmlTaWduIFRy
      dXN0IE5ldHdvcmsxRjBEBgNVBAsT PXd3dy52ZXJpc2lnbi5jb20vcmVw b3NpdG9y
      eS9SUEEgSW5jb

      --
      I was told that I could listen to the radio at a reasonable volume from nine to eleven...
    4. Re:Double Bag That Burger by larry+bagina · · Score: 1

      you can also bzip2 your gzip files to improve your compression.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    5. Re:Double Bag That Burger by Doc+Ruby · · Score: 1

      Actually, sometimes compression methods can squeeze extra reductions when used in series. But that's not a defense against failure - though the compression phase of most encryption methods might see that extra reduction as a bonus. The point is not just to make the encrypted message "more encrypted", but to guard against the eventual failure of one of the methods. The odds of both methods failing within a short time period are very odd indeed.

      --

      --
      make install -not war

    6. Re:Double Bag That Burger by LS · · Score: 5, Funny


      How in the F*** did THAT make it through the lameness filters?!

      --
      There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
    7. Re:Double Bag That Burger by patio11 · · Score: 1

      Sweet! Next time one of my programming code segments gets munched I'll just encrypt it and post! Thanks, Slashdot!

    8. Re:Double Bag That Burger by Anonymous Coward · · Score: 0

      It looks impressive yeah, but it can be done. There are trolling scripts that generate garbage with enough entropy to avoid tiggering the postercomment filter, but letter frequency distributions close enough to what /. expects. Actually I wonder if typical ASCII-armoured PGP blocks would get through without modification, after having spaces inserted by the anti-widening filter.

      The best bug I ever found was that it used to be possible to post blank posts / subjects by use of extended ASCII, they fixed that some time ago though.

    9. Re:Double Bag That Burger by Fortyseven · · Score: 1
      How in the F*** did THAT make it through the lameness filters?!


      Apparently 'fuck' didn't make it, however.

      Whoa, wait a minute...
    10. Re:Double Bag That Burger by gknoy · · Score: 1

      Go stick _Applied Cryptography_ up your (bleep), Anonymous (bleep) Coward.

      Well, I hate to say it but I agree with the AC, a little bit. Encrypting something twice makes the message weaker versus cryptanalysis, from what I remember reading in Applied Cryptography.

      Encrypting twice with DIFFERENT schemes ... that seems like it isn't significantly more secure. Remember that you should always assume that your attackers know which algorithms you are using, and thus the strength of your message depends on the strength of your key(s).

      I could be wrong, as far as using multiple different encryption algorithms. I do know that 2x encrypting with the same key/alg is considered VERY weak, though. It's been a while since I read this, though, and I certainly didn't absorb the information rectally.

      Now, for hashes ... I guess that makes sense. It's hard enough to create a hash colision with an arbitrary document, and making one that collides with two different hashing methods (which are a basis for digital signatures) would be VERY hard. So, your suggestion might work well for signing documents, even if I don't think it will work for encrypting them.

    11. Re:Double Bag That Burger by Doc+Ruby · · Score: 1

      Well, we are talking about signing/hashing in this story, so that's what inspired my post. Which is a clear enough cost:benefit*risk case.

      Double encrypting is valuable too. Encrypting the same message multiply in parallel with the same key/method may weaken the encryption, especially if the attacker knows it's the same original message, because they now have two different chances to guess - one will be easier to guess (first in their guessing sequence). Encrypting the message first with one method/key, then encrypting the encrypted message (f(h(m))) with a different method, but same key (f(k,h(k,m))) or different method and key (f(k,h(l,m))) will be harder to guess by the product of the probabilities of guessing.

      But, as I explained originally, double crypto envelopes are more beneficial protection against protocol attacks than pure cryptanalysis. Because whatever went wrong with the envelope they crack, won't go wrong with the other envelope (if you choose different enough methods). That's why it's a simple analysis: it's just like redundant network paths. It doesn't matter what went wrong with one path, as long as the other path survives.

      With the exception that I mentioned where attackers can store the half-decrypted message for later, when they have more success against the other method. Which is exactly inverse the risk of the redundant network, as the transmit/store values are themselves reciprocal in those two scenarios.

      --

      --
      make install -not war

  14. Re:Debian unstable's got me covered. Um NO. by Anonymous Coward · · Score: 0

    mod parent

  15. Aha! by jav1231 · · Score: 0, Flamebait

    Maybe Apple will finally appoint a Security Czar and take care of these flaws and all you Apple Fanboys....oh wait...

  16. GPG is: by Black+Copter+Control · · Score: 4, Informative
    what is GPG?

    GPG stands for Gnu Privacy Guard. It's the Free(tm) replacement for PGP (Pretty Good Privacy) which was originally developed by RSA. Between them, they are one of the standards for encryption and verification of sensitive data (including email).

    As opposed to X509/SSL which seems to be designed for centralized trusted certificate issuers, GPG/PGP depend on a (decentralized) web of trust -- You decide which signatures you wish to trust, and then those signatures can be used to signify who they trust... If you have enough trust in the signature web for a public key you have for someone, then it is presumed that the key is trustable.

    GPG seems to be supported by people who include some serious heavyweights in the encryption community.

    IANASE (I am not a security expert), so any corrections to this explanation would be much appreciated)

    --
    OS Software is like love: The best way to make it grow is to give it away.
    1. Re:GPG is: by Zeinfeld · · Score: 3, Informative
      GPG stands for Gnu Privacy Guard. It's the Free(tm) replacement for PGP (Pretty Good Privacy) which was originally developed by RSA.

      Given the lawsuits that RSA filed to stop PGP this statement could hardly be more wrong. Phil Zimmerman developed PGP as freeware, then released a commercial version of his code and reclaimed the name. GPG is a name chosen to describe the free version.

      This crack is not particularly new, the first version of PGP had the problem. The only part of the message that is secure is the part between the begin and end signature bars. PGP/MIME fixes this problem but MIME creates new ones.

      PGP Inc sells a fine PGP client that also does a pretty good S/MIME. I have no problem with the PGP protocol or a carefully designed, properly integrated plug in.

      What I do have a problem with is the idea that effective security can be delivered as an ad-hoc bolt on to be lashed into place with some perl scripts. If you want to do end-to-end security you have to come to terms with the fact that the real end point is the user.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    2. Re:GPG is: by Martin+Blank · · Score: 4, Informative
      It's the Free(tm) replacement for PGP (Pretty Good Privacy) which was originally developed by RSA.


      No, PGP wasn't developed by RSA; RSA had nothing at all to do with PGP's development. Use of the RSA asymmetric encryption algorithms has been in use since early versions, but PGP itself was developed by Phil Zimmerman, who got into a patent battle with RSA over his use of the algorithm without their permission (although patent co-holder MIT didn't have a problem with it, complicating the situation). A deal was eventually worked out, and the RSA algorithms have been in ever since.
      --
      You can never go home again... but I guess you can shop there.
    3. Re:GPG is: by Rikus · · Score: 3, Informative

      GPG is a name chosen to describe the free version.
      This sentence is neither informative nor funny.

      No, GnuPG is not the same as PGP. GnuPG was in fact developed to replace PGP, both because PGP is covered by a non-commercial use only license, and (probably) because it by default incorporates the patented IDEA algorithm. Yes, PGP Freeware and GPG are both free and interoperable, but they are not the same thing.

    4. Re:GPG is: by realbadjuju · · Score: 2, Funny

      Mod parent up, since he's right...

    5. Re:GPG is: by Chapter80 · · Score: 3, Informative
      Correct about Phil Zimmerman, and his battles with RSA. Phil also got in trouble with the NSA (National Security Agency branch of the US Government) for the release of PGP. It was a bold move by Phil for the freedom of the software around the world, and he's a freedom hero in my book.

      Back then (early '90s), simple encryption SOFTWARE was considered a munition, similar to if he snuck an atom bomb out of the country. The software was "released" onto the evil internet (perhaps not even by Phil), and as I recall, Phil was arrested or charged, or questioned.

      My history is based on memory from reading Boardwatch magazine (a GREAT internet publication in the hey-day). So I may not recall 100% correctly.

    6. Re:GPG is: by Zeinfeld · · Score: 2, Informative
      No, GnuPG is not the same as PGP. GnuPG was in fact developed to replace PGP, both because PGP is covered by a non-commercial use only license, and (probably) because it by default incorporates the patented IDEA algorithm. Yes, PGP Freeware and GPG are both free and interoperable, but they are not the same thing.

      The full story is a bit more complex. The original PGP used a lot of patented stuff only Phil Z. did not bother to get a license for any of it. This led Jim Bizdos to complain about the patent infringement which led to Louis Freeh's FBI persecuting Phil. That is why folk found the idea that Bizdos was behing PGP, he almost had Phil Z. sent to jail for distributing it (although in fairness to Jim he did not anticipate Freeh persuing the case in the way he did and his objective was to stop Phil infringing his patent not send him to jail.)

      The PGP code was rewritten quite a few times for a number of reasons. MIT brought out a legal version that used the non-commercial use license from MIT. The MIT portions were open source but the RSAREF part was encumbered.

      GPG started as an attempt to develop an entirely unencumbered version of PGP after the Diffie Hellman patent expired in 97. The IDEA algorithm would have been dropped even if it had not been patented as it had been compromised by then. A second implementation was in any case required to get OpenPGP accepted as an IETF standard.

      Around the same time Phil Z. was starting PGP inc and wanted to use PGP as the company name. Otherwise the FSF version would have probably been called something like GnuPGP.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    7. Re:GPG is: by Martin+Blank · · Score: 3, Interesting

      Not as bad as an atom bomb, but classified along with, say, machineguns and antitank rockets. The software actually got out of the country legally by way of printing it in book format (which was not considered software at the time) and then scanning it in another country and using character recognition and a good deal of editing time to get it to compile properly.

      This was also a primary catalyst for the argument of how strong exportable encryption should be, and which brought the encryption debate out into the public eye. Had he not done this, we might be a few years behind our current status, just having finished accepted the appropriateness of exporting heavy encryption.

      --
      You can never go home again... but I guess you can shop there.
  17. shock! by Anonymous Coward · · Score: 1

    So a bug was discovered in the older versions of an open source software and if you have a recent update, you are not affected? Really, stuff that matters, I am shocked and surprised!

  18. actually not by kelnos · · Score: 2, Informative

    Actually, 1.4.2-2 is the second *Debian* release of 1.4.2, probably to fix packaging bugs or minor bugs in the software that weren't yet available in an upstream release. 1.4.2-2 != 1.4.2.2. Debian users still need to upgrade when a new package is available.

    --
    Xfce: Lighter than some, heavier than others. Just right.
  19. Oddly enough by Orion+Blastar · · Score: 1

    I tried the Windows version of GNUPG and it refuses to recognize any public or private keys that it generates or that I imported from PGP. I counted on using it after switching to Thunderbird, but GNUPG broke and the updates do not seem to fix it. Maybe it has issues with XP SP2, NTFS or something?

    Ah well, maybe I can install it on my Linux machine?

    --
    Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    1. Re:Oddly enough by LookoutforChris · · Score: 1

      Works fine on WindowsXP here, using Thunderbird 1.5 and the Engimail plugin. I'm updating GPG right now too.

    2. Re:Oddly enough by mikeswi · · Score: 1

      It may already be on your Linux machine. My SuSe machine had it preinstalled and there is a KDE GUI front end that works almost exactly like PGP from pgp.com. Enigmail works fine with it along with T-bird, although it broke HTML by changing a config setting. I had to run that problem down and fix it.

    3. Re:Oddly enough by Orion+Blastar · · Score: 1

      I tried the latest update and it works now. Only the updated GNUPG does not work with Windows Privacy Tools.

      Anyway I have some PGP keys that I cannot revoke and I never set an expire date on them. Since they were not created with OpenPG, I cannot revoke them with GNUPG but I can disable them. Can I upload a disabled key to public key servers and let people know I am not using those keys anymore, or does that only work for revoked keys?

      --
      Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    4. Re:Oddly enough by flosofl · · Score: 1

      I stopped using WinPT a while ago. I began using GPGShell on my Win box at work. This thing rocks. It is much more flexible than WinPT IMHO.

      --
      "This calls for a very special blend of psychology and extreme violence" - Vyvyan "The Young Ones"
    5. Re:Oddly enough by Orion+Blastar · · Score: 1

      Thanks I was using WinPT via one of those Open Source CDs from the Internet. I am trying to switch to OSS solutions for Windows, and I still use Windows because I support Windows and have programs that only run on Windows. I have a Linux box, but it is mostly a server and it runs my web server, etc.

      I'll give GPGShell a try, thanks again.

      --
      Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
  20. wrong by penguin-collective · · Score: 1

    It's not the kind of bug that people would put in intentionally; it's more a conceptual error, made when trying to retrofit digital signatures into an email system not designed for it.

    As to where it came from, you can check the version control log files; it's all there.

  21. DEFCON by schneidafunk · · Score: 1

    Anyone else remember hearing about this at Defcon last year?

    --
    Some people die at 25 and aren't buried until 75. -Benjamin Franklin
  22. Someone should get fired by Yoik · · Score: 3, Funny

    That information should never have been released! The negative press will impact sales. It would have been better to pretend the bug never existed.

    Oh, it isn't corporate product, nevermind.

    1. Re:Someone should get fired by Anonymous Coward · · Score: 0

      Oh but wait!!! I thought the idea behind all those millions of pairs of eyes scrutinizing every character of source code was to prevent security BUGS.

      Which is exactly what happened, the system works.

  23. check.. by dotpavan · · Score: 4, Funny

    did anybody cross-check the authenticity of that warning? I wont accept that until I verify its GPG key :)

    1. Re:check.. by afaik_ianal · · Score: 1

      Yep, here's the signed version of the summary:

      A serious problem in the use of GPG to verify digital signatures has been discovered, which also affects the use of gpg in email. All versions of gnupg prior to 1.4.2.2 are affected, and it is thus recommended to update GnuPG as soon as possible to version 1.4.2.2.

      Please disregard the remainder of this email.
      -----BEGIN PGP SIGNED MESSAGE-----
      Joe,
      Are you coming to the pub tonight?
      Ben.
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.0.7 (Darwin)
      Comment: http://www.rbisland.cx/publickeys.html

      rpehy49gx,[09bglCRGBLYCG>L93074bio.crpkx,.crlp,
      lrcgbkp,l94bk,94gbxklbxoxbmopkbggbk/lr,=
      =fUm/
      -----END PGP SIGNATURE-----

  24. Short explanation if you're too lazy to RTFA by sidney · · Score: 4, Informative

    The bug allows someone to take a signed GPG message, stick in their own unsigned message in a certain way, and GPG will show you the combined message or even just the new message, but tell you that it is signed by the person who signed the original message.

    If you read the message using the new GPG 1.4.2.2 it will correctly not accept the hacked message. So if you have any question about signed mail you received, you can check it again after upgrading GPG.

    The bug only affects embedded signatures, such as in email messages using inline signatures or signed encrypted email. I think that excludes PGP/MIME signed unencrypted email, which is a common format for signed mail and would be a form of detached signature.

    The bug does not affect "detached signatures", which are the kind that are used to verify software downloads, which means it could not have been used to hack yum, apt-get, etc.

    All in all, not a big security flaw unless someone takes a signed email that you sent them, forges a GPG signed request to your domain registrar to transfer your million dollar domain name to them, and your registrar hasn't yet updated to GPG 1.4.2.2. Whoops -- if you upgrade GPG right now, it wouldn't help in that scenario.

  25. Security Flaw Discovered in GPG? by NullProg · · Score: 2, Interesting

    Shouldn't this read Security Flaw Discovered for users of GPG ?

    I'm guessing, but 95% of computing world doesn't use GPG. And isn't this a "Man In the Middle" attack? How many routers have been compromised that I need to worry about this?

    Are my GPG encrypted messages to the kremlin, CIA, or FBI less secure? Are my "lovey-dovey, are you naked" messages to my wife compromised? Thats about all I use GPG for.

    Enjoy.

    --
    It's just the normal noises in here.
    1. Re:Security Flaw Discovered in GPG? by oglueck · · Score: 1

      GPG is commonly used to sign source code tarballs such as the linux kernel. Those tarballs are mirrored across the world to hundreds of untrusted servers. With this flaw it's possible to modify signed source code (and introduce backdoors for instance). It's definitely not a theoretical problem.

    2. Re:Security Flaw Discovered in GPG? by Gemini · · Score: 1
      GPG is commonly used to sign source code tarballs such as the linux kernel. Those tarballs are mirrored across the world to hundreds of untrusted servers. With this flaw it's possible to modify signed source code (and introduce backdoors for instance). It's definitely not a theoretical problem.


      No. Software is signed with detached signatures (that abcd.sig file that is distributed with the abcd.tar.gz). Detached signatures are not affected by this bug.
    3. Re:Security Flaw Discovered in GPG? by NullProg · · Score: 1

      I don't know about you, but all the kernel source I've downloaded uses MD5 (which in itself has flaws). What source do you download that uses PGP?

      Enjoy,

      --
      It's just the normal noises in here.
    4. Re:Security Flaw Discovered in GPG? by oglueck · · Score: 1

      There are GPG signatures too (don't know if they use MD5 or SHA-1): ftp://mirror.switch.ch/mirror/kernel/linux/kernel/ v2.6/linux-2.6.15.6.tar.bz2.sign

      But as pointed out earlier the bug only affects "inline" signatures.

  26. Damn Microsoft!! by Anonymous Coward · · Score: 4, Funny

    I'm tired of their insecure crap! Oh wait, its GNU open source? In that case, you lazy bastard end users should have fixed it yourself!

  27. even worse sometimes by Anonymous Coward · · Score: 0

    I updated my compiler a while back and it actually claims to be 4.0.3 ,it should have been 4.0.2-1

  28. Re:Wonder... by JourneyExpertApe · · Score: 1

    I'd say at least since at least May, 2004. This is some pretty old news. Still, I hadn't been aware of it, so it's nice to know. You know, in case I ever actually have a need to digitally sign an email.

    --
    If you can read this sig, you're too close.
  29. Triple bag it by Anonymous Coward · · Score: 2, Informative

    "For instance, the use of double encryption does not provide the expected increase in security [MH81] when compared with the increased implementation requirements, and it cannot be recommended as a good alternative. Instead, triple-encryption is the point at which multiple encryption gives substantial improvements in security."

    From http://www.x5.net/faqs/crypto/q85.html

    1. Re:Triple bag it by Doc+Ruby · · Score: 0

      Any increase is valuable, its value depending on the total data protected by the total effort over time. Increased implementation requirements can be met by automation, which cost must as always be compared to its benefit.

      However, the principle in that FAQ is sound within its scope. In combination with the consideration I mention, the right approach is to use as many redundant methods as possible given costs, network and processing bandwidth.

      Again, the redundancy operates on exactly the same principle as the more familiar network redundancy. The second method is the biggest increase in utility, though going to redundancy in that step might also bring the biggest increase in cost. But the variety of failure scenarios against which redundancy protects has proven worth the effort for every serious practitioner, once the methods are commodities.

      --

      --
      make install -not war

    2. Re:Triple bag it by Anonymous Coward · · Score: 0

      That article is talking about encrypting multiple times using the _same_ cypher, whereas the grandparent post was talking about encrypting multiple times using _diverse_ algorithms.

  30. Re:Wonder... by JourneyExpertApe · · Score: 1

    Nevermind. That was a much older (and from what I can tell, much more serious) bug.

    --
    If you can read this sig, you're too close.
  31. Quick! by SuperKendall · · Score: 3, Funny

    Better assign a security Czar!

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Quick! by Anonymous Coward · · Score: 0

      That reminds me of the time I was freebasing with the Drug Czar. . .

  32. Are you his mother? by Duhavid · · Score: 1

    No, you are a nonymous coward, and you are not his mother.

    He had a mother!

    --
    emt 377 emt 4
  33. Well... by jd · · Score: 2, Informative
    It is true that 95% of users don't use GPG, but I'd regard that as a flaw in and of itself. Mind you, most e-mail programs (including, IIRC, thunderbird) don't support GPG, although some do support a limited range of digital certificates.


    Does it make the e-mails less safe? No. First, the flaw is for adding material, not reading it. Second, it's for signing, not encryption per-se. It DOES mean that you cannot trust e-mail for commercially sensitive transactions, but nobody should be trusting e-mail for that anyway.


    Does it affect routers or the infrastructure of the Internet? Only insofar as domain registrars never validate change requests properly. A carefully-crafted attack could use this to append a change-of-IP request to some ISP's routine request to a registrar, which means an attacker could create a phony DNS server for the express purpose of polluting the DNS namespace. If the registrar uses GPG's validation as proof of a legit request (and some are quite happy with a fax with no proof of origin at all) then it could have an impact.


    Is this a likely scenario? No. The problem with lack of validation has been around for decades and has been used by cybersquatters and porn merchants, but never (as far as I know) for Black Hat activities. The lack of any significant effort has never been due to security. My best guess is that it's due to skript kiddies being clueless. Which is just as well. If demonstrable and simple exploits aren't being used to cause catastrophic levels of mayhem, then I think we're pretty safe against this somewhat more sophisticated vulnerability requiring (as you coorectly point out) a MitM attack.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:Well... by slavemowgli · · Score: 4, Insightful

      It DOES mean that you cannot trust e-mail for commercially sensitive transactions, but nobody should be trusting e-mail for that anyway.

      I don't mean this to come across as flamebait, but that's one of the stupidest comments I've read on Slashdot today. You could just as well - and with the same justification - say that telephones shouldn't be used for conducting business (all business consists of commercially sensitive transactions, mind you), or that letters shouldn't be used, that the postal services can't be trusted, that pens and paper shouldn't be used for writing down contracts, and so on.

      All these things, just like email and just like GPG, are tools. Tools, like everything, are fundamentally insecure, at least theoretically; there is no absolute security. But you can minimise risks by using tools the right way, by making sure that malfunctions don't lead to a cascade of further malfunctions, and - maybe most importantly - by *realising* and *keeping in mind* that nothing is ever perfectly secure. If you do that, you can use email for sensitive things just like you can use the phone network or the postal services or direct face-to-face communication; you merely have to be aware of the risks and how to manage/minimise them.

      Panicking and crying "email is never secure!" isn't going to get you anywhere, really. You're just limiting yourself to other means of communication which are basically just as secure or insecure as email is, and given that statement, chances are you haven't really understood how security works, anyway, so you're probably less secure no matter what you do.

      --
      quidquid latine dictum sit altum videtur.
    2. Re:Well... by NullProg · · Score: 2, Interesting

      It is true that 95% of users don't use GPG, but I'd regard that as a flaw in and of itself. Mind you, most e-mail programs (including, IIRC, thunderbird) don't support GPG, although some do support a limited range of digital certificates.

      I agree. But again, the way I read the alert, isn't this a "Man In the Middle" attack?

      Does it affect routers or the infrastructure of the Internet? Only insofar as domain registrars never validate change requests properly. A carefully-crafted attack could use this to append a change-of-IP request to some ISP's routine request to a registrar, which means an attacker could create a phony DNS server for the express purpose of polluting the DNS namespace. If the registrar uses GPG's validation as proof of a legit request (and some are quite happy with a fax with no proof of origin at all) then it could have an impact.


      If your able to effect routers on an ISP infrastructure then were not talking script kiddies. We all know DNS hijacking. To do what your talking about requires leet skillz. Maybe I could, you possibly could, but how many others? How secure is GPG against an amatuer?

      BTW: my parent post is marked as Troll. Some idiot has moderator points.

      Thanks for the response.
      Enjoy.

      --
      It's just the normal noises in here.
    3. Re:Well... by mikeswi · · Score: 1

      "Mind you, most e-mail programs (including, IIRC, thunderbird) don't support GPG"

      The Enigmail extension for T-Bird works as a front-end to GPG. I don't know if it can work with GPG in any other way.

    4. Re:Well... by lspd · · Score: 4, Informative

      I agree. But again, the way I read the alert, isn't this a "Man In the Middle" attack?

      It's a replay attack. I take a very terse/vague signed message that you've written and append important evil data to the front or back and resend it. The signature checks out and the meat of the message (the stuff I've added on to the front or end) appears to come from you.

      This sort of problem has come up before in other contexts. When you sign an email, for example, it's doesn't include the headers or date. If your signed message is general enough, I can copy it and send it to someone else (GPG signatures verify the sender, not the recipient.) One of the situations where this has come up is in the Debian voting process. If a DD mistakenly sends their ballot to the wrong person, then changes their vote, anyone who has a copy of the old ballot can send it again and change the vote back. Debian safeguards against this by allowing each DD to see how their vote was cast after the vote is complete.

    5. Re:Well... by DrXym · · Score: 2, Informative
      The Enigmail extension for T-Bird works as a front-end to GPG.

      And very well it works too. I've been using it to communicate with someone who insists on encrypting their mail and it works fine. The biggest problem with it is that it somewhat assumes a familiarity with GPG in the first place to import keys and so on.

      It works much better than SMIME which apps like Mozilla, Outlook Express have supported natively for years. SMIME is close to being unusable. It's not those app's faults (although the companys are partly to blame for adopting the standard). It's just that getting a cert for email is like extracting teeth and the encryption is horribly slow and bloated.

    6. Re:Well... by Kjella · · Score: 1

      One of the situations where this has come up is in the Debian voting process. If a DD mistakenly sends their ballot to the wrong person, then changes their vote, anyone who has a copy of the old ballot can send it again and change the vote back. Debian safeguards against this by allowing each DD to see how their vote was cast after the vote is complete.

      That is not flaw in GPG, it is poor design. The vote should contain a timestamp and the most recent timestamp is the current vote. That doesn't cover the possbility that someone else got your key and casted another vote or that your vote never arrived in the first place, but better.

      The analogy to this security flaw would be if I could take your vote and replace it with the opposite vote, while still passing signing. That is a lot more serious because it doesn't require you to have ever sent that vote in the first place.

      --
      Live today, because you never know what tomorrow brings
    7. Re:Well... by gizmo_mathboy · · Score: 1
      It is true that 95% of users don't use GPG, but I'd regard that as a flaw in and of itself. Mind you, most e-mail programs (including, IIRC, thunderbird) don't support GPG, although some do support a limited range of digital certificates.


      I guess the Enigmail folks aren't really doing anything then? Not sure if poster deserves an "Informative" moderation.

      I think most of the major email clients support encryption beyond a "limited range of digital certificates". There are GPG plugins for Outlook. I'm not sure about Eudora, however.

      I will agree that a very large number of people don't use GPG in their email.
    8. Re:Well... by RedWizzard · · Score: 1
      I don't mean this to come across as flamebait, but that's one of the stupidest comments I've read on Slashdot today.
      And that's saying something.
  34. Enigmail is fine... by bazald · · Score: 2, Insightful

    ...as it is already designed to tell you precisely what part of the e-mail is signed. Is there a more convenient way to handle GPG for e-mail than enigmail anyway?

    --
    Insert self-referential sig here.
    1. Re:Enigmail is fine... by prasinos · · Score: 2, Informative

      FWIW, mutt handles signed messages just fine: it shows which parts were signed and which were not. So this bug is not such a big deal.

    2. Re:Enigmail is fine... by Anonymous Coward · · Score: 0

      Are you being deliberately dense? How do you think mutt determines which part of the message is signed and which is not? That's right, it asks gpg! So yes, of course mutt is vulnerable as is enigmail, evolution, and any other mua that uses gpg.

      jeez.

  35. Telephones by jd · · Score: 1
    You're correct that it's like saying telephones shouldn't be used by businesses. Indeed, I'm rather surprised that telephones are still used for such transactions, when bugging telephones is not difficult and apparently quite common. The military use "STUs" (Secure Telephone Units) that use strong encryption - probably in a manner very similar to GnuPG - for all sensitive communication.


    With the advent of VoIP, crypto chips that you can buy off the shelf, etc, it would neither be difficult nor unreasonable for businesses to support extremely secure lines of communication. Five, ten, years ago, it wasn't realistic to expect much in the way of particularly strong protection of communications. These days, the reverse holds true. It is no longer reasonable to expect businesses to maintain insecure lines of communication, simply because they always have done.


    "Absolute security" is one of those terms that gets banded about by cryptoraphy experts but it has no clear definition. It's easy to show that an undefined goal can't be reached!


    Let us start with a reasonable definition of "absolute security": The message, if intercepted, cannot be brute-forced, as it is impossible to distinguish between valid and invalid decryption attempts, AND the valid key cannot be intercepted or stolen, AND the message cannot be tampered with, AND the message must not be repudiatable.


    Part 1 is easy to achieve. You use a strong compression algorithm to essentially pre-randomize the data. Part 2 uses a stored copy of a natural, totally random source as the key for a One Time Pad to encrypt the data. Part 3 is to use a public-key encryption system with partial decryption keys (ie: no one person has enough of a key to decrypt the message, but perhaps two together or three together would). The encryption mode (how the key shifts between blocks) needs to be authenticating and validating. NIST have specifications for such modes.


    Now, if attacker A breaks into a person's house and lifts their partial key and the OTP, they can do what? The OTP will apply perfectly well to a corrupt message, so every possible attempt to break the public key will have equal likelihood of being correct, making it useless.


    Is this far too much for a typical business? Sure. The question I answered was not whether it would be practical, but whether it would be possible. I believe I have demonstrated here that it would be possible, although I can think of no way to make it practical.


    What, then, is practical? STU phones, or a reasonable facsimilie using a stream cipher and VoIP, along with virtually private messaging. ie: where some combination of strong authentication, strong validation, strong encryption, and VPN tunneling, is used to create an enviornment in which unauthorized individuals would find it impractical to identify the type of communication and would not likely be able to determine the contents within the meaningful lifetime of said contents.


    If you can meet these criteria - and it shouldn't be hard - then security may not be "perfect" in an absolute sense, but the liklihood of an intercept or a false message would be so close to zero in the next 20-30 years that unless you're dealing with national secrets, this would give you as close to perfect security as you need.


    NB: Since breaking into machines and installing keyloggers and event loggers is possible, I'm assuming both primary parties are using systems that are as hardened against direct attack as OpenBSD, and would meet a significant portion of the old Orange Book B3 standard.


    Red Hat Enterprise 5 is being evaluated for the following: EAL 4 Augmented with ALC_FLR.3, Controlled Access Protection Profile (CAPP) Version 1.d, Labeled Security Protection Profile (LSPP) Version 1.b, Role Based Access Control Protection Profile (RBACPP) Version 1.0. There are probably hardening patches out there - not to mention some excellent crypto hardware - that can improve the results further. Two systems like that, at the end points, with the best encryption methods in public use, is simply not going to be on anyone's list of targets, which means that it is de-facto absolutely secure, even if it is not literally so.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  36. Re:Bug Intentionally Placed? Well, msg headers? by davidsyes · · Score: 1

    Quote from parent: "Unfortunately, once it's verified, it will output the whole message, leading the user to believe that the whole message was signed."

    Well, then a little GOOD social engineering could resolve this, right? Some prepend and append markups could help identify what was injected.

    Example: (Pre-encrypted)

    Begin Encrypted Body HERE:

    We snatched the subject at building 232. Skyjack arrived at the field and extracted subject at 2200 hours, and headed 225 True north along evac corridor. Diverted to SSW 45 seconds later, avoiding ....

    End Encrypted Body HERE.

    =======
    Now, the injected part might be:

    You are discouraged from complying with the contents of this message.
    fasd; ;o7fp 2;4j2;o8ps98f j3;r

    Begin Encrypted Body HERE:

    We snatched the subject at building 232. Skyjack arrived at the field and extracted subject at 2200 hours, and headed 225 True north along evac corridor. Diverted to SSW 45 seconds later, avoiding ....

    End Encrypted Body HERE.
      485wiapeow8r-934-5834u

    ==========

    OK, so is this good enough? Everyone? Anyone?

    Alternatively, the message could be sent in duplicate, via another transmission method, or the first decrypt could contain the raw message, but the confirmation (if speed is not of the essence) could be in a plain text message with some of the NON-CLASSIFIED text in the same sequence. Having received it from another secure channel, the authentication could be had by comparing the sensitive with the non-sensitive "sanitized" version. Besides, how would Uncle Sam know when and what the contents of the out-of-channel authentication message be? You could be sending a red herring in the encrypted message JUST to see if they're tampering with your traffic...

    Now, if you want something to REALLY worry about... consider your using Amarok to receive songs. How do you KNOW that the packets entering your machine are SAFE. So much CPU processing is going on with your KDE or Gnome GUI and any music scopes and rotating desktops that you really can't KNOW WHAT the hell is in your machine even if you real-time scan or spot-check. Unless you've got a quantum computer or a brain-machine interface with your brain able to process terabytes to the terabyte power, (and enough hours in the day) how will you KNOW your machine isn't back-door attacked by NSA or someone smarter than you. Even if you run Tripwire and other stuff, do you REALY check ALL those checksums. Don't know bout U, but I change enough files all day to just not CARE anymore. Well, except to hope no one's PLANTING stuff or defacing my files.

    --
    Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
  37. You... by woolio · · Score: 1, Flamebait

    what is GPG?

    You are a disgrace to nerds!

  38. Re:Bug Intentionally Placed? Well, msg headers? by Schraegstrichpunkt · · Score: 1

    Better: Everyone uses HTML mail, so:

    Begin prepended text HERE:

    <!--

    End prepended text HERE.

    Begin Encrypted Body HERE:

    We snatched the subject at building 232. Skyjack arrived at the field and extracted subject at 2200 hours, and headed 225 True north along evac corridor. Diverted to SSW 45 seconds later, avoiding ....

    End Encrypted Body HERE.

    Begin appended text HERE:

    --> We're caught! Destroy the evidence... and kill Jack, that damned traitor!

    End prepended text HERE.

  39. Secured eMail by dekket · · Score: 1

    Geez... when are people gonna realize that software using digital signatures sucks? Grab Secured eMail instead and live life easier ;)

    1. Re:Secured eMail by Watson+Ladd · · Score: 1

      Straight From the Doghouse.

      --
      Inventions have long since reached their limit, and I see no hope for further development.-- Frontinus, 1st cent. AD
  40. P.S. Send a million dollars by Maximum+Prophet · · Score: 1

    Ok everyone, here's the deal. From now on, if you get a signed message from your friend that starts with, "How's the weather out there?" and ends with "P.S. Send me one million dollars and all your credit card numbers." *Don't do it*.

    --
    All ideas^H^H^H^H^Hprocesses in this post are Patent Pending. (as well as the process of patenting all postings)
  41. Your version number may not change by ajs · · Score: 2, Informative

    Please note that when you update, your version number may not change. Depending on what OS you use and who you get your updates from, you might get an old version with back-ported fixes. If your version number is not the one mentioned here, you need to check with your OS vendor. Most will have a Web site listing security updates and what vulnerabilities they address.

  42. It could happen... by Anonymous Coward · · Score: 1, Funny

    Dear Alice,
                            Have you heard? GPG has a bug in it that lets people append data to a signed email message! What are we going to do to stop Malory from attacking us?

    Sincerely,
    Bob

    PS. Jus7 k!dd!ng! 1ts n0t 7ru3! I'm t@lk!ng thr0ugh my @$$!! LOLOLOLOLOL

  43. Some facts about the flaw by Gemini · · Score: 2, Informative
    In an effort to inject some facts here:

    1. This does not apply to signed software tarballs (like the Linux kernel)

    2. This does not apply to PGP/MIME signed email messages (a la mutt, Enigmail, etc)

    3. This does not apply to clearsigned email messages (a la everything else)

    This applies to a very specific case where a message is constructed by hand with multiple data packets and a single signature packet, so:

    1. It might apply to PGP/MIME signed+encrypted email messages.

    2. It might apply to sign+encrypted messages in general.

    3. It might apply to unencrypted-but-binary-signed messages (essentially signed+encrypted without the encryption - generally not used much).


    I say "might" as in all of these cases it depends on how GnuPG is called.
  44. The reason why by rkuris · · Score: 1
    Probably, the people you deal with are less technical than you are. I sign all my outgoing emails anyway in an attempt to get people to consider using it, and still get very few encrypted emails also. When I do get one, the person is usually geekier than I am.

    I always have wondered why the spammers aren't using the database of PGP/GPG keys to send spam too. Maybe they are, but obviously aren't willing to sign it for computational reasons, even with a phony key.

    --
    Get rid of everything Micro and Soft: Buy Viagra and/or Linux
  45. You're ideas intrigue me by Cal+Paterson · · Score: 1

    and I wish to subscribe to your newsletter...

    I agree. Is there a site anywhere to replace the old slashdot we know and love?