Worries Arise About Security of New WebAuthn Protocol (zdnet.com)
An anonymous reader writes: "A team of security researchers has raised the alarm about some cryptography-related issues with the newly released WebAuthn passwordless authentication protocol," reports ZDNet. "The new WebAuthn protocol will allow users of a device -- such as a computer or a smartphone -- to authenticate on a website using a USB security key, a biometric solution, or his computer or smartphone's password." But researchers say that because WebAuthn uses weak algorithms for the operations of registering a new device, they can pull off some attacks against it.
"If converted into a practical exploit, the ECDAA attacks discussed in the article would allow attackers to steal the key from a [server's] TPM, which would allow attackers to effectively clone the user's hardware security token remotely," Arciszewski, one of the researchers, told ZDNet. "The scenarios that follow depend on how much trust was placed into the hardware security token," he added. "At minimum, I imagine it would enable 2FA bypasses and re-enable phishing attacks. However, if companies elected to use hardware security tokens to obviate passwords, it would allow direct user impersonation by attackers." Attacks aren't practical, and experts say the root cause relies in badly written documentation that may fool some implementers into supporting the old algorithms instead of newer and more solid ones. The FIDO Alliance was notified and has started work on updating its docs so it won't look like it's recommending ECDAA or RSASSA-PKCS1-v1_5. "PKCS1v1.5 is bad. The exploits are almost old enough to legally drink alcohol in the United States," Arciszewski said.
"If converted into a practical exploit, the ECDAA attacks discussed in the article would allow attackers to steal the key from a [server's] TPM, which would allow attackers to effectively clone the user's hardware security token remotely," Arciszewski, one of the researchers, told ZDNet. "The scenarios that follow depend on how much trust was placed into the hardware security token," he added. "At minimum, I imagine it would enable 2FA bypasses and re-enable phishing attacks. However, if companies elected to use hardware security tokens to obviate passwords, it would allow direct user impersonation by attackers." Attacks aren't practical, and experts say the root cause relies in badly written documentation that may fool some implementers into supporting the old algorithms instead of newer and more solid ones. The FIDO Alliance was notified and has started work on updating its docs so it won't look like it's recommending ECDAA or RSASSA-PKCS1-v1_5. "PKCS1v1.5 is bad. The exploits are almost old enough to legally drink alcohol in the United States," Arciszewski said.
If algorithms are known to be weak, why are they included in new standards? Are they expensive or are there compatibility reasons why we don't implement the "best" in the newest standards?
I know nothing about this, but the way the summary was written would imply only the registration of the devices is weak, does that mean the actual authentication uses a strong algorithm?
I hope the update is "implementations under all circumstances MUST prevent use of know insecure methods like ECDAA or RSASSA-PKCS1-v1_5".
Everything less is a joke for a brand new protocol essentially nobody is using yet.
And yet people still don't seem to get why WireGuard will support one and only one algorithm.
Yes, I know. It's easy to choose a weak password. And then you write it with a sharpie on your smartphone's back and things.
But there is one enormous advantage to a password: it's in *my* head. When I pass away, then it is gone too -- unless I've left a copy to someone I trust. This is a feature I won't give up on.
So: use a password generator (that's the only way to really put a controlled amount of entropy on that). Fucking memorize it (the first times it seems impossible, but my most important three to four passwords, like HD LUKS password, backup encryption are pwgen -n 16 -- no problem memorizing that after a modicum of training).
Don't trust schemes like this that *make people dumber*. Rather make people smarter.
Wait. RSA insecure? I doubt it. Not, at least, until high-qbit quantum cryptography becomes a reality (and enough accesible outside labs).
Of course, RSA needs more than just pure RSA, and hash algorithms and padding systems needs to be strong. But I see too much confidence into elliptic curve vs RSA and I suspect that it's more because EC is more recent than to be more solid.
the algorithm is fine its the encoding... i.e. this RFC which to give the authors credit they updated...
To be honest I suspect that this was driven by hardware and the "standard" defines other algorithm's so its simply a case of getting rid of that combination
Its a good thing that people are auditing these before they become enshrined and I hope WebAuthn becomes stronger because of it
WebAuthn is so so much better than the current in place alternatives... we really really needs to give an alternative to the password that is widely adopted
regards
John Jones
The exploits are almost old enough to legally drink alcohol in the United States,
Exploitability is the #1 thing I look for in drinking buddies.
Corruption is convincing someone that the selfless ideal is the same as their selfish ideal.
Do your web apps also still run too fast?
Do you hate using well-established platforms with APIs that were refined for decades years?
Do you want more remote-execution of completely unknown code in a shitty VM disguised as a document viewer?
Then download WebWebBrowser today! The new browser by the WtfWG!
The only browser that runs IN your browser!
The only browser that naturally limits code to 3.141 MIPS, due to the entirely new league of simplicity of its clickwheel-compatible TardScript language environment, running entirely in GNU/Linux JS/HTML5!
The only browser that runs entirely in the cloud botnet. Executing unverified volatile remote code ... IN unverified volatile remote code!
Now with direct hardware access to rings 0 up to -3 (IME), and fully remote-executed authentication!
WebWeb ALL the things! ... WebApps? ... WebWebApps! ... WebSockets? ... WebWebSockets! ... VM? ... WebVM! ... WebAuthn? ... WebWebAuthn! ... WebGL? ... WebWebGL! ... WhatWG? ... WHAT THE FUCK WG!
Apps?
Sockets?
Hardware?
Authentication?
OpenGL?
Developers?
Get. It . NOW!(?)
Now why would you do that, unless you support legacy systems that are positively ancient? It's like all of the healthcare and insurance websites that say you can only use 8-16 characters and provide a tiny whitelist of special characters. Why are those even allowed to be online if that's all they can handle? That's all but an admission you're too cheap to update anything to make it really secure.
I thought it supported <s> ... or was it <strike>? Just like what the SlashCode developers' brains are on?
I was wondering if this kind of system could be used to enable admin access. Admin access would be enabled remotely from a Microsoft server using two factor authorization, say, and no malware would be able to access admin privileges as this would be the only way to escalate. Made robust, it would destroy malware ability to take over machines by escalation of privileges. It could be a feature across all users, or, an enterprise addition for a fee with the purpose of increasing security for critical systems.
E Proelio Veritas.
Do you remember? That was the standard that split an 8 digit key, which was actually 7 digits and a checksum digit. into two parts in the protocol, one with 4 digits and one with 3 digits and the checksum digit. The documentation was suggestively written in a way that made implementers check the parts separately and return a right-or-wrong information for the first part separately from the second part, not just for both parts together. This reduced the necessary attempts from 10,000,000 possible keys down to 11000. Yeah, surely that was an oversight.
By any chance, did the NSA help them with the algorithms?
But uses passwords and uses weak algorithms and can easily be attacked? Did NSA pay for any of the research behind this or did they contribute some cool deterministic random number generator perhaps?
The protocol is tight enough that they had to attack the cryptography. That in itself is a win.
Know that regardless of standard, protocol or algorithm, some 2FA device implementations will be poor. There will always be some reliance on brand reputation, and a need to replace devices when compromises are exposed.
As a second factor, WebAuthn seems much better than anything else reasonably available. That said, I would never use it as the only factor.
NSA etc. are not really typical attackers
I think they are very typical attackers. Kids fooling around won't operate on a large scale. Anyone else does. It does not matter if these actors are intelligence agencies vacuuming up all internet traffic, half-legal copyright "cops", or downright criminal organizations that are only after your *coins and banking details. The main difference is the amount of time it takes for these data to fall into the wrong hands.
That said, it might be perfectly possible that criminal organizations are trying to promote backdoors as well in open standards.
Nae king! Nae laird! Nae yurrupiean pressedent! We willna be fooled again!