Skip to content
Access control Disclosed report Beginner

Unauthorized access to employee panel with default credentials.

The login page relied on a client-side JavaScript check to decide whether a login attempt was allowed, and the form field controlling the selected centre could be edited in the browser console. An attacker could set that field to an administrative value and log in to the employee panel.

7azimo Follow

Originally disclosed on HackerOne

  • Triaged in 7 days
  • Fixed in 14 days
  • Disclosed after 11 months

Summary:

Hello, When hunting for your web application.

I have managed to go https://cars.fas.gsa.gov/cars/cars and get displayed with a form. I have already tried to login to Cars and without success. However i've noticed the loginChk() function and change the value of the form hence bypassing it and logging in succesfuly.

Steps To Reproduce:

  1. go to https://cars.fas.gsa.gov/cars/cars
  2. type loginChk() function in console.
  3. It would return false.
  4. Now type in console ( can be opened using F12). document.forms[0].scSelCen.value = "admin"
  5. Now try to login by clicking on CARS button.

Supporting Material/References:

Navigator used : google chrome.

If you need any additional information. feel free to ask me.

PS : I think the website went for a maintenance right now. Even though i didn't use anything of that panel.

Impact

Any attacker would have the access to admin panel and do whatever he wants. As i can see , it's a platform for reporting accidents.

The original report as published on HackerOne, by 7azimo. 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 server trusted a client-side check and a client-supplied form field to decide the user's role or centre, instead of enforcing authorisation on the server.

Impact

An attacker could potentially gain access to the admin panel of a platform for reporting accidents.

What the attacker needed

Access to the login page; a browser with a developer console

How it was found

  1. Open the CARS login page in a browser.
  2. Call the login check function in the browser console and see it return false.
  3. Change the centre selection field in the page's form to an administrative value.
  4. Submit the login form using the CARS button.

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 page used a JavaScript check in the browser, and the form values could be changed in the developer console, which let the person log in.

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 from U.S. General Services Administration

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.