Skip to content
Access control Disclosed report Beginner

Missing Access Control Allows for User Creation and Privilege Escalation

The user management endpoint lacked access controls, allowing any unauthenticated person to create new users and assign them the administrator role. An attacker could then log in to another application as an administrator and view, modify, or delete restricted information.

bulldawg Follow

Originally disclosed on HackerOne

  • Triaged in 33 hours
  • Fixed in 5 days
  • Disclosed after 4 months

Hello,

The RSI Test Environment application at https://███████████████/ords/f?p=842:1 does not enforce access controls on the user management endpoint. This allows any unauthenticated person to both create new users as well as give them the administrator role. This then provides access to https://███████████████/ords/f?p=303 as an administrator.

The user management endpoint can be accessed at https://████████████/ords/f?p=842:9::::::

I have attached screenshots which show this misconfiguration.

If there are any questions or concerns please let me know as I am more than happy to provide additional information!

Impact

This is a critical security issue which poses risk to the confidentiality and integrity of data within the ███████████████ application. An attacker would be able to view, modify, and/or delete the restricted information and documents within the application as well as manage other user accounts. This provides unauthorized access that is otherwise restricted to USG-authorized individuals per the disclaimer.

System Host(s)

█████████████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Visit https://█████████████████/ords/f?p=842:9, which is the user management endpoint for the environment.
  2. Under "Add New User", enter an email address, first name, last name, and select an Agency.
  3. Under "Assign User Roles", select the newly created user and apply the administrator role.
  4. Retrieve the credentials for the new account that were sent to the email address entered.
  5. Go to https://███████████/ords/f?p=303 and login using the credentials.
  6. Change to a new password on prompt.
  7. View the logged in username in the top right with the Administrator role.

Suggested Mitigation/Remediation Actions

Enforce access controls on page 9 of the application with an ID of 842.

The original report as published on HackerOne, by bulldawg. 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.

How it worked

Root cause

Likely the user management page did not check whether the requester was authenticated or authorised before allowing user creation and role assignment.

Impact

An attacker could view, modify, and/or delete restricted information and documents, and manage other user accounts, gaining unauthorized access otherwise restricted to authorized individuals.

What the attacker needed

No authentication required; access to the user management endpoint

The fix

Access controls should be enforced on the user management page to restrict it to authorized users.

How it was found

  1. Visit the user management endpoint.
  2. Fill in the new user form with an email, first name, last name, and agency.
  3. Assign the administrator role to the new user.
  4. Retrieve the credentials sent to the email address.
  5. Log in to the other application with those credentials.
  6. Change the password when prompted and see the administrator role.

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.

Access control is like a lock on a door: it checks who is allowed to enter. Here, the door to the user management page was left open, so anyone could walk in and create a new account with full admin rights. That let them access another system as an administrator without permission.

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 bulldawg

View all

3 more disclosed reports, best first.

More from U.S. Dept Of Defense

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.