Authentication Bypass via Commented Guest Button in CSBF Aquila System
The login page contains a commented-out Guest button whose server-side event handler still processes requests. An attacker can set the event target to that button and submit the form to bypass authentication.
Originally disclosed on Bugcrowd
- Fixed in 18 days
- Disclosed after 3 months
Summary by Ghost-2099
An authentication bypass vulnerability exists in the NASA CSBF Aquila login system at https://www.csbf.nasa.gov/aquila/Default.aspx. Attackers can bypass authentication by triggering a commented-out "Guest" button event handler.
Trigger Guest Authentication Bypass Execute in browser console:
document.getElementById('__EVENTTARGET').value = 'btnGuest';
document.forms[0].submit();
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-side event handler for the guest button remained active even though the button was commented out in the client-side markup.
Impact
An attacker could bypass authentication and access the system as a guest without valid credentials.
What the attacker needed
Access to the login page; ability to run JavaScript in the browser console
How it was found
- Open the browser console on the login page.
- Set the hidden event target field to the guest button identifier.
- Submit the login form.
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.
A login page has a hidden 'Guest' button that was disabled in the page's code but not removed from the server. By changing a hidden form field to point at that button, a visitor can make the server think the guest button was clicked and get in without a password.
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.