eMudhra's one-time-password login can be bypassed by anyone with its public key
A complete bypass of eMudhra’s 1FA OTP login system
A Mastodon user demonstrates a complete bypass of eMudhra's one-factor OTP login. The service encrypts OTPs to a public key and gates requests behind Cloudflare Turnstile, but the key is public, so an attacker can encrypt OTP requests themselves. Brute-forcing is fast and needs only one Turnstile pass. By OSINTing the email tied to a certificate, someone could log into any existing eMudhra cert account.
It's not as cool as a leaked CA cert key, but you can basically just rob any existing eMudhra cert with this by just OSINTing the associated email and logging in.
- bragr
The anti AI scraping on this site doesn't work that well. I'm being served non-sense text about buttplugs. I'm human, I swear.
- jttnr
Oh man, good that they are leaving the CA business.
- ignatella
I understand it in the following way:
They put the public key into js and encrypt the body of the request. This is common practice to protect users' important data from being accessed by a proxy (in this case, Cloudflare) and is ok.
But the real bug is that they don't rate-limit, invalidate, or protect the endpoint related to OTP checks, so it can be brute-forced, as the search space is limited.
- buildbot
So basically anyone who used this CA is screwed if someone knows your email?
- hoherd
The number the tool found was 1861. The e-mailed OTP code was 1858. What am I missing?