Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Up and Running » Security » Security » SSL security flaw with MD5 certificates announces today
Search Topic:
Uniqs:
3539
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Old AVG issues »
« Website viruses can't infect you if you use Firefox?  
page: 1 · 2 · 3
AuthorAll Replies


TKJunkMail
Enjoy the sun
Premium
join:2002-03-03
Avalon, NJ
·Sprint Mobile Broa..
·Comcast


1 edit
 SSL security flaw with MD5 certificates announces today

The problem is that many sites like banks, brokerages, credit card companies, and major online web sellers are all using MD5 certificates. I checked and my credit card company, my bank, & Google Gmail are all still using MD5 certificates.

»news.cnet.com/8301-1009_3-101296···1_3-0-20
A key piece of Internet technology that banks, e-commerce sites, and financial institutions rely on to keep transactions safe suffers from a serious security vulnerability, an international team of researchers plans to announce Tuesday.

They plan to demonstrate how to forge security certificates used by secure Web sites, a process that would allow a sufficiently sophisticated criminal to fool the built-in verification methods used by all modern Web browsers--without the user being alerted that anything was amiss.

Their work has focused on finding vulnerabilities in a technology known as Secure Sockets Layer, or SSL, which was designed to provide Internet users with two guarantees: first, that the Web site they're connecting to isn't being spoofed, and second, that the connection is encrypted and is proof against eavesdropping. SSL is used whenever a user navigates to an address beginning with "https://".

The attack exploits a mathematical vulnerability in the MD5 algorithm, one of the standard cryptographic functions used to check that SSL certificates (and thus the corresponding Web sites) are valid. This function has been publicly known to be weak since 2004, but until now no one had figured out how to turn this theoretical weakness into a practical attack.

When MIT professor Ron Rivest developed MD5 in 1991, it was considered sufficiently secure. But starting in 1996, a series of increasingly serious flaws started calling the continued viability of MD5 into question.

"The main message here is to stop issuing MD5 certificates, now," said Molnar. He believes that MD5 is so weak it no longer should be used for any applications: "More secure, freely available alternatives exist." (In November 2005, the U.S. government announced plans to find successors to MD5 and SHA-1, an official federal standard with its own problems. The new federal standard will be called SHA-3.)

Appelbaum estimates that 30 percent to 35 percent of all SSL certificates currently in use have an MD5 signature somewhere in their authentication chain. "The CAs should contact every customer that currently uses an MD5-signed certificate and offer a free replacement."
--
My BLOG .. .. Internet News .. .. My Web Page
Ask yourself one question: 'Do I feel lucky?' Well, do ya punk?


TKJunkMail
Enjoy the sun
Premium
join:2002-03-03
Avalon, NJ
·Sprint Mobile Broa..
·Comcast


1 edit
Here is a link that does a nice job of explaining how this vulnerability can be exploited:
»www.freedom-to-tinker.com/blog/f···ificates

An example of the MD5 & SHA1 hashes for google gmail:


It is these fingerprints that would be forged.


Steve
I'm a PC, so shut up
Consultant
join:2001-03-10
Yorba Linda, CA

... and here's an excellent backgrounder on Crypto Hashing

An Illustrated Guide to Cryptographic Hashes


amungus
Premium
join:2004-11-26
America
clubs:

reply to TKJunkMail
When looking at the details for "Certificate Signature Algorithm" for gmail, I see:

"PKCS #1 SHA-1 With RSA Encryption"

The "general" tab simply shows both SHA-1 and MD5 fingerprints.

Does this mean that it's still vulnerable, even if both hashes are present? Does that not matter since MD5 is there at all???

If these are still vulnerable, what a headache it will be to update all kinds of certificates.


TKJunkMail
Enjoy the sun
Premium
join:2002-03-03
Avalon, NJ
·Sprint Mobile Broa..
·Comcast


2 edits
said by amungus See Profile :

When looking at the details for "Certificate Signature Algorithm" for gmail, I see:

"PKCS #1 SHA-1 With RSA Encryption"

The "general" tab simply shows both SHA-1 and MD5 fingerprints.

Does this mean that it's still vulnerable, even if both hashes are present?
Does that not matter since MD5 is there at all???

If these are still vulnerable, what a headache it will be to update all kinds of certificates.
According to the news item MD5 & SHA1 have the same vulnerability exposure.
--
My BLOG .. .. Internet News .. .. My Web Page
Ask yourself one question: 'Do I feel lucky?' Well, do ya punk?


EGeezer
Go Bobcats
Premium
join:2002-08-04
Country!
·Callcentric
·RoadRunner Cable
·AT&T CallVantage


1 edit
reply to TKJunkMail
Re: SSL security flaw with MD5 certificates-MS Advisory

Microsoft advisory here;
»www.microsoft.com/technet/securi···509.mspx

said by suggested actions :

Do not sign digital certificates with MD5

Certificate Authorities should no longer sign newly generated certificates using the MD5 algorithm, as it is known to be prone to collision attacks. Several alternative and more secure technologies are available, including SHA-1, SHA-256, SHA-384 or SHA-512.


Until then, however, the typical non-technical user will remain in the dark, and owning a MAC will not help you here.
--
The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandeis


geekamongus
Real Slump Quality
Premium,MVM
join:2004-07-27
Asheville, NC
reply to TKJunkMail
Re: SSL security flaw with MD5 certificates announces today

Wouldn't the blocking of certs using MD5 at the browser level be a helpful stopgap until this thing gets resolved at the root level?
--
o o


Sir Meowmix III



reply to TKJunkMail
said by TKJunkMail See Profile :

According to the news item MD5 & SHA1 have the same vulnerability exposure.
I do not see this to be the case in my reading. I show that only those signed with MD5 are vulnerable, not those with SHA-1. Even Microsoft seems to indicate this as well, although they're certainly not authoritative source in security.

quote:
Microsoft is not aware of any active attacks using this issue and is actively working with certificate authorities to ensure they are aware of this new research and is encouraging them to migrate to the newer SHA-1 signing algorithm.

amungus
Premium
join:2004-11-26
America
clubs:

That's how I read it too... which is why I still think the question has some merit.

Barring SHA-1 only hashes, what's the story if you see both??? Is it still (more) secure when both are present, or is it completely irrelevant if one is breakable?

As for the browser idea... that's not a bad thought, but I don't think it'd work as smoothly - it's also incumbent on the user to patch their browser. Would be a more "certain" solution if the server certs themselves were guaranteed to be not using MD5.

Once that's done, the browser wouldn't care. There simply wouldn't be any MD5 hash present to begin with, which would then eliminate the chance of having an insecure hash being present...

doppler

join:2003-03-31
Blue Point, NY
reply to TKJunkMail
A picture and links found on:

»hackaday.com/

More of the hardware, that did the deed. There maybe a
surprise to some folks, how it was done.


antiphishing
Phishing Scam Terminator
Premium
join:2004-06-09
Wilkes Barre, PA

 reply to TKJunkMail
Researchers devise undetectable phishing attack

Researchers devise undetectable phishing attack
Researchers were able to hack Verisign's RapidSSL.com certificate authority and create fake digital certificates for any Web site on the Internet

* By Robert McMillan, IDG News Service
December 30, 2008

With the help of about 200 Sony Playstations, an international team of security researchers have devised a way to undermine the algorithms used to protect secure Web sites and launch a nearly undetectable phishing attack.

To do this, they've exploited a bug in the digital certificates used by Web sites to prove that they are who they claim to be. By taking advantage of known flaws in the MD5 hashing algorithm used to create some of these certificates, the researchers were able to hack Verisign's RapidSSL.com certificate authority and create fake digital certificates for any Web site on the Internet.

Hashes are used to create a "fingerprint" for a document, a number that is supposed to uniquely identify a given document and is easily calculated to verify that the document has not been modified in transit. The MD5 hashing algorithm, however, is flawed, making it possible to create two different documents that have the same hash value. This is how someone could create a certificate for a phishing site having the same fingerprint as the certificate for the genuine site.

Using their farm of Playstation 3 machines, the researchers built a "rogue certificate authority" that could then issue bogus certificates that would be trusted by virtually any browser. The Playstation's Cell processor is popular with code breakers because it is particularly good at performing cryptographic functions.

They plan to present their findings at the Chaos Communication Congress hacker conference, held in Berlin Tuesday, in a talk that has already been the subject of some speculation in the Internet security community.

The research work was done by an international team that included independent researchers Jacob Appelbaum and Alexander Sotirov, as well as computer scientists from the Centrum Wiskunde & Informatica, the Ecole Polytechnique Federale de Lausanne, the Eindhoven University of Technology and the University of California, Berkeley.

Although the researchers believe that a real-world attack using their techniques is unlikely, they say that their work shows that the MD5 hashing algorithm should no longer be used by the certificate authority companies that issue digital certificates. "It's a wake up call for anyone still using MD5," said David Molnar a Berkeley graduate student who worked on the project.

In addition to Rapidssl.com, TC TrustCenter AG, RSA Data Security, Thawte and Verisign.co.jp all use MD5 to generate their certificates, the researchers say.

Launching an attack is hard, because the bad guys must first trick a victim into visiting the malicious Web site that hosts the fake digital certificate. This could be done, however, by using what's called a man-in-the-middle attack. Last August, security researcher Dan Kaminsky showed how a major flaw in the Internet's Domain Name System could be used to launch man-in-the-middle attacks. With this latest research, it's now become easier to launch this type of attack against Web sites are secured using SSL (Secure Sockets Layer) encryption, which relies on trustworthy digital certificates.

"You can use kaminsky's DNS bug, combined with this to get virtually undetectable phishing," Molnar said.

Make Your Enterprise More Effective - read this white paper.

"This isn't a pie-in-the-sky talk about what may happen or what someone might be able to do, this is a demonstration of what they actually did with the results to prove it," wrote HD Moore, director of security research at BreakingPoint Systems, in a blog posting on the talk.

Cryptographers have been gradually chipping away at the security of MD5 since 2004, when a team lead by Shandong University's Wang Xiaoyun demonstrated flaws in the algorithm.

Given the state of research into MD5, certificate authorities should have upgraded to more secure algorithms such as SHA-1 (Secure Hash Algorithm-1) "years ago," said Bruce Schneier, a noted cryptography expert and the chief security technology officer with BT.

RapidSSL.com will stop issuing MD5 certificates by the end of January and is looking at how to encourage its customers to move to new digital certificates after that, said Tim Callan, vice president of product marketing with Verisign.

But first, the company wants to get a good look at this latest research. Molnar and his team had communicated their findings to Verisign indirectly, via Microsoft, but they have not spoken directly with Verisign, out of fear that the company might take legal action to quash their talk. In the past, companies have sometimes obtained court orders to prevent researchers from talking at hacking conferences.

Are you ready for event-driven business? - watch this webcast.

Callan said that he wished that Verisign had been given more information. "I can't express how disappointed I am that bloggers and journalists are being briefed on this but we're not, considering that we're the people who have to actually respond."

While Schneier said he was impressed by the math behind this latest research, he said that there are already far more important security problems on the Internet -- weaknesses that expose large databases of sensitive information, for example.

"It doesn't matter if you get a fake MD5 certificate, because you never check your certs anyway," he said. "There are dozens of ways to fake that and this is yet another."
--

Specializing in "takes downs" of phishing and advance fee scams
Send your Phishing/Advance fee scams to: phish@antihotmail.com
»/profile/1021645
»fraudwatchers.org/forums/


EGeezer
Go Bobcats
Premium
join:2002-08-04
Country!
·Callcentric
·RoadRunner Cable
·AT&T CallVantage

Another opportunity for Cain & Abel and Rock Phish

Although the researchers believe that a real-world attack using their techniques is unlikely, ...

Launching an attack is hard, because the bad guys must first trick a victim into visiting the malicious Web site that hosts the fake digital certificate. This could be done, however, by using what's called a man-in-the-middle attack.

...
"You can use kaminsky's DNS bug, combined with this to get virtually undetectable phishing," Molnar said.
...
I'd also guess that it's very feasible for a miscreant to enter a wireless hotspot with a laptop and use ARP cache poisoning to redirect and serve other users hacked certificates to fake sites created with Rock Phish kits. Before, with Cain & Abel, the cert would have been flagged as "unknown issuer". Now, a perfectly legit looking cert can be handed to the client system.

This certificate vulnerability will also present opportunities for folks setting up rogue hotspots.
--
The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandeis

amungus
Premium
join:2004-11-26
America
clubs:

reply to TKJunkMail
Re: SSL security flaw with MD5 certificates announces today

Very interesting. Thank you doppler for the link.

Some selected quotes from: »www.win.tue.nl/hashclash/rogue-ca/ - a link from the article found at doppler's link above
"Even if SHA-1 would have lived up to its design objectives, its output length of 160 is too small to justify its prolonged use for more than the short term. NIST recognized this at an early stage, and came in 2001 with the new SHA-2 family of hash functions. So far these have withstood all cryptanalysis. Nevertheless NIST saw the need for mobilizing the cryptographic community to get a deeper understanding of hash function design and to come up with better hash functions for the next 10 years. Therefore it has started an open competition for selecting the successor of SHA-2, dubbed for the moment SHA-3. The winner of this competition is expected to be selected by 2012, and will most probably become the de facto hashing standard for the next decade."

---

"Any website, whether it is secure (i.e. uses SSL) or not, whether it has an MD5-based, SHA-1-based, SHA-256-based, or any other type of certificate, irrespective of which Certification Authority issued the certificate, can be impersonated, in particular not only genuine websites that have an MD5-based certificate are vulnerable."

---

"The used hash function is visible in the "Signature algorithm" field, see the picture to the right, where "md5RSA" means that MD5 was used for signing the certificate. When all certificates in the chain up to the root CA certificate use other hash functions than MD5 such as SHA-1, our attack has not been used.

When MD5 has been used, fraud may be detected by inspection of the certificate at bit level."


---

"Browser and Operating System vendors such as Microsoft (vendor of Windows and Internet Explorer) and Mozilla (vendor of Firefox) can implement pop-up warnings to the users when an MD5-based certificate is encountered. Blocking MD5-based certificates is also possible, but rather drastic. Browser vendors can implement path length checking. Furthermore, it is the browser vendors who determine which Certification Authorities are present in the trust lists inside the browsers or operating systems. This puts them in a good position to put pressure on the Certification Authorities to adopt proper procedures and use strong cryptographic primitives. We have contacted the mentioned browser vendors so that they are aware of the problem.

Website owners can check whether their Certification Authority has proper procedures, notably does not use unacceptable hash functions such as MD5. Website owners can ask their CAs to switch to more secure hash functions such as SHA-2."
The second bolded part means to me that it's still "safer" to have SHA-1 than purely MD5 hashes...

Gmail, as mentioned by TK, is actually using "PKCS #1 SHA-1 With RSA Encryption" - as are many other sites I've checked...

Looks like their work was also rather involved. Spent some money on certs, lots of trial and error, very tricky timings for some parts, and, well, 200 PS3 systems clustered together

Scammers won't likely invest that much time/money/pure geek brainpower into this just yet. Then again, you never know.


nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
·AT&T U-Verse
·AT&T Midwest

reply to amungus
The "general" tab simply shows both SHA-1 and MD5 fingerprints.

Does this mean that it's still vulnerable, even if both hashes are present? Does that not matter since MD5 is there at all???
One should distinguish between the fingerprint and the hash used in the signature. Only one hash is used in the digital signature. Any hash of choice could later be used as a fingerprint.
--
AT&T dsl; Westell 327w modem/router; openSuSE 11.0; firefox 3.0.5

amungus
Premium
join:2004-11-26
America
clubs:

Thanks for the clarification on that

In short, TK's screenshot is what I was originally looking at - hence confusion...

Here's a screenshot of what the quotes I referenced are talking about - how to see what algorithm is being used on the signature.

mysec
Premium
join:2005-11-29

reply to TKJunkMail
Some other quotes from »www.win.tue.nl/hashclash/rogue-ca/

description of how our attack scenario may be used to impersonate an existing website.

When a user wants to visit the secure website, the web browser will look on the Internet for the genuine web server. There exist "redirection attacks", by which the communication from the browser can be redirected to the rogue website.

It seems to me that this attack scenario is no different than any other pharming exploit. So, how do you protect against pharming?

Would disabling "redirection" in the browser work in this case? You should get the 302 error:



______________________________________________

Also, if your https addresses are stored in a custom address group in your firewall,
a redirection will trigger an alert:



______________________________________________

Any other preventative measures?

----
rich


nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
Would disabling "redirection" in the browser work in this case?
No, that wouldn't help at all, and might cause other problems.
--
AT&T dsl; Westell 327w modem/router; openSuSE 11.0; firefox 3.0.5

mysec
Premium
join:2005-11-29

Can you explain?

A friend always disables redirection when going to her financial sites. She's never mentioned encountering any problems.

I've not done it except in the screenshot I showed when testing the old sloantreefarm Google redirect exploit.

----
rich


nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
·AT&T U-Verse
·AT&T Midwest

The type of redirection that is a concern is the one done by DNS that the browser does not even know about.

If you go to the bank site, and there is a browser redirection, that is specified by the bank site. You really do want to follow that redirect.
--
AT&T dsl; Westell 327w modem/router; openSuSE 11.0; firefox 3.0.5

mysec
Premium
join:2005-11-29

Thanks for the explanation.

The Google redirect exploit appended the fake URL into the browser, so DNS did not come into play.

Any other preventative measures that will keep a user from being redirected to a fake site?

----
rich
-
Forums » Up and Running » Security » SecurityOld AVG issues »
« Website viruses can't infect you if you use Firefox?  
page: 1 · 2 · 3


Friday, 27-Nov 17:38:04 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [119] Time Warner Cable Fires Broadside At Broadcasters
· [109] New AT&T Ad Campaign Hits Back At Verizon
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [70] TiVo Sees Record Customer Losses
· [68] In-Flight Internet Headed For Bumpy Landing?
· [60] Thanksgiving Open Thread
· [55] Verizon CEO: Hulu Will Be Dead Soon
· [38] EFF Wages War On Fine Print
· [38] ICANN Slams DNS Redirection
Most people now reading
· Windows 7 boot manager editing questions [Microsoft Help]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Leveling to 85 [World of Warcraft]
· Newegg Black Friday Sale started [Users Find Hot Deals]
· 5 hour energy for diabetic [General Questions]
· HOW-TO: QoS and Tomato (fixes "choppy voice") [MagicJack]
· Bell Response to PIPEDA Request [TekSavvy]
· What to use while demonoid is down? [Filesharing Software]
· Whats the big deal about being "Old School"....? [World of Warcraft]
· [ Classes] Druid tanking: rotation and glyphs [World of Warcraft]