Privilege escalation to allow non activated users to login and use uber partner ios app
The Uber Partner iOS app's login request contained a client-controlled flag that let a non-activated account bypass activation checks. By flipping that flag and also rewriting the server's activation response, an attacker could log in and use the full app without being activated.
- Disclosed after 3 months
Hi
It is possible for non activated users to login to partner app and use its full features!
Steps:
1- download uber partner iOS app
2- intercept the login request with burp suite and change “allowNotActivated":false to "allowNotActivated":true
3- Login failed because the server responded with isActivated":false
4- Go to burp suite Match and replace from proxy options tab
5- add a match/replace rule ( Type: Response body, Match: false, Replace: true )
6- repeat login process once again and intercept the login request and change allowNotActivated”:false to allowNotActivated”:true
7- you are logged in successfully :)
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 server trusted a client-supplied activation flag and the client trusted the server's activation response without enforcing activation server-side.
Impact
A non-activated user could log in and use the full partner app, bypassing the activation requirement.
What the attacker needed
An Uber partner account not yet activated; ability to intercept and modify app traffic; Burp Suite with match-and-replace
How it was found
- Install the Uber Partner iOS app.
- Intercept the login request and change the activation flag from false to true.
- Observe the login fails because the server replies that the account is not activated.
- Add a Burp match-and-replace rule on response bodies to swap false for true.
- Repeat the login and again flip the activation flag in the request.
- The login succeeds and the app is fully usable.
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.
The login request carried a flag the user could change, and the server's reply also had to be altered for login to succeed.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.