A user with only [MODIFY_SETTINGS] permmision could takeover any user accounts
A user with only the modify_settings permission could change the email SMTP configuration to a public server they control. When an administrator later triggered a password reset or added a user, the attacker captured the reset link or new account credentials from the SMTP logs, enabling account takeover.
Originally disclosed on HackerOne
- Triaged in 2 days
- Fixed in 5 months
- Paid in 26 days
- Disclosed after 5 months
a user with modify_settings permission only is not allowed to view team, edit users or groups or manage extensions which allows code execution.

however, modifying settings allows to configure email settings therefore, the attacker could submit a public SMTP that can view its logs, and whenever an administrator or a user with a permssion to edit or add user ask a reset password for a user or add a user via its account , the attacker will capture the added / existed edited user email and password reset link.
Proof of Concept
- Create a user with Modify settings permission only.
- Login into the account you created.
- Navigate to email from settings , change SMTP information to a public one , you can create a free smtp from here
- Set up the info from your account and save it.

- Login to an administrator account and to users , press reset password for any user and observe logs in https://elasticemail.com/ dashboard.
You will get that user : username , email and password reset link .


it will be similar case in case of an administrator in the dashboard or someone with similar role try to add a user + attacker could read any message for any action that sends email from enterprise burp dashboard.
Impact
any user with modify_settings permission is able to takeover other users account ( needs interaction either by reset password or user addition functionalities )
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 application allowed a low-privileged user to change the outbound email (SMTP) settings without additional authorisation or verification, so all outgoing email could be intercepted.
Impact
Any user with the modify_settings permission could take over other users' accounts, but this required an administrator or privileged user to trigger a password reset or user addition.
What the attacker needed
A user account with modify_settings permission; an admin triggers password reset or user addition; attacker controls a public SMTP service
How it was found
- Create a user with only the Modify settings permission.
- Log in as that user and go to the email settings.
- Change the SMTP configuration to a public SMTP service you control and save it.
- Log in as an administrator, go to the users section, and trigger a password reset for any user.
- Check the SMTP service's dashboard logs to capture the reset link and user details.
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 'modify_settings' permission lets a user change how the system sends email. The attacker pointed that email sending at a mail service they controlled, so any password reset or new-account email sent by an admin went through the attacker's server. The attacker could then read the reset link or new password and take over the account.
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.