🐞 OTP Rate Limit Bypass via URL Obfuscation — A Critical Vulnerability📅 Reported on: June 16, 2025 ✍️ By: [Raghav Arora](https://www.linkedin.com/in/iamraghavarora) 🔒 Severity: High
The OTP request endpoint's rate limiting could be bypassed by appending path variations such as /.//, /./, or // to the URL, because the backend treated these as distinct endpoints. An attacker could send unlimited OTP requests, causing OTP bombing, denial of service, and increased infrastructure costs.
Published on thatraghavarora.medium.com
🐞 OTP Rate Limit Bypass via URL Obfuscation — A Critical Vulnerability� Reported on: June 16, 2025 ✍️ By: Raghav Arora 🔒 Severity: High
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the rate-limiting mechanism relied on the raw URL string without normalising the path first, so different-looking URLs were treated as separate endpoints.
Impact
An attacker could send unlimited OTP requests, leading to OTP bombing, denial of service for targeted users, and increased SMS/email costs.
What the attacker needed
Access to the OTP request endpoint; no authentication required
The fix
The text recommends normalising incoming URLs before applying rate limiting, using strict endpoint matching, and applying multi-factor rate limiting on phone number, IP address, device, and session ID.
How it was found
- Send a normal OTP request to the endpoint and observe the rate-limit error.
- Send the same request but with an obfuscated URL path such as /.// appended.
- Repeat with other variations like /./ and // to continue bypassing the rate limiter.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A website sends one-time passwords (OTPs) to verify a phone number, and normally limits how many times you can request one. The bug is that by adding extra slashes or dots to the end of the web address, the limit could be avoided, letting someone request many OTPs without restriction. This could flood a victim's phone with messages or cost the company money.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.