IDOR at https://demo.sftool.gov/TwsHome/ScorecardManage/ via scorecard name
A broken access control vulnerability allowed an authenticated attacker to access and modify another user's scorecard by guessing or knowing its name in the URL. The attacker could view, edit, download, and assign permissions to the victim's scorecard.
- Triaged in 43 hours
- Fixed in 9 days
- Disclosed after 39 days
Hi Team,
I have found a broken access control vulnerability on https://demo.sftool.gov/ under your /tws directory. I made two accounts. One account i browsed to /tws and created a new scorecard. Here i can submit all information I need. The scorecard name is in the end of the URL https://demo.sftool.gov/TwsHome/ScorecardManage/testdsfdfsf I logged out this account I logged into attacker account. I browse to https://demo.sftool.gov/TwsHome/ScorecardManage/testdsfdfsf (the last part is the name of the other accounts score card). I can now view the scorecard and even edit the score card from the attackers account. I can add accounts to read only and edit permissions on the score card and change information as-well as download the score card.
Log back into the victim account and the scorecard information has been changed, downloaded and attacker has assigned permissions.
We can brute force scorecard names but i am not doing this as the above on my accounts already shows the issue.
Many thanks Holla
Impact
An attacker can read, edit and download and assign permissions to another users scorecard.
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 failed to verify that the authenticated user owned the scorecard identified by the name in the URL before allowing access.
Impact
An attacker could read, edit, download, and assign permissions to another user's scorecard.
What the attacker needed
Two accounts on the target site; knowledge of the victim's scorecard name
How it was found
- Create two accounts on the target site.
- Log in with the first account and create a new scorecard, noting its name in the URL.
- Log out of the first account.
- Log in with the second account and browse to the URL of the first account's scorecard.
- Observe that the second account can view and edit the scorecard, assign permissions, and download it.
- Log back into the first account to confirm the changes made by the second account.
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.
When you log into a website, the site should check that you are allowed to see or change each piece of data. Here, the site used a name in the web address to decide which scorecard to show, but it did not check if the logged-in user actually owned that scorecard. So anyone who knew or guessed the name could mess with someone else's scorecard.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.