The email API to reset password is unlimited and can be used as a email bomb
Originally disclosed on HackerOne
- Disclosed after 32 hours
Description:
The email API https://demo.nextcloud.com/qazxsw/lostpassword/email to reset password is unlimited and can be used as a email bomb
Reproduce steps:
1.Every Instant trial's link is https://demo.nextcloud.com/yourname,and it always has a default user admin
2.then I try to visit one https://demo.nextcloud.com/qazxsw/login?user=admin,then I try to login it using username:admin || password:xxxxx(password can be any wrong password) .see screenshot(1)
3.Then nextcloud will prompt you to reset password,if you click it,admin's email box will receive an email.see screenshot(2)
4.So I can use chrome console network panel to replay XHR continuously,then my email box receive many email.see screenshot(3)
How to harm other people:
1.visit any project which you don't own,for example https://demo.nextcloud.com/test
2.If this people has set email address for his admin,then you can try the above reproduce steps.
Attachments



Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A low-severity access control bug in Nextcloud. HackerOne made it public on 20 April 2017.
About 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.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
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.