Skip to content
Access control Disclosed report Beginner

The email API to reset password is unlimited and can be used as a email bomb

xifengweiyu Follow

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

2.png
2.png From the original on HackerOne
3.png
3.png
1.png
1.png

The original report as published on HackerOne, by xifengweiyu. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by xifengweiyu

View all

8 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.