Course Registration Form Allowing an attacker to dump all the candidate name who had enrolled for the course
The registration confirmation page used a sequential numeric student identifier in the URL, so changing that number showed the names of other applicants. An attacker could cycle the value to enumerate thousands of candidate names.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 14 days
- Disclosed after 3.5 years
Summary:
The given application has a form to fill in the details of the candidates in order to seek admission to various courses. The application has the functionality to submit the given form and provide a registration confirmation to the candidate with their name on the page. By cycling the parameter we can enumerate all the applicant's names who had applied for the specific courses.
Description: We can cycle the numeric value after the registration process and enumerate all the candidate names.
Impact
The attacker might carry out targeted attacks against the given organization by exfiltrating details from the candidates. The attacker can also find the candidates easily on social media sites to carry out further attacks.
Step-by-step Reproduction Instructions
- Fill in the form in order to apply/register for the courses online https://www2.█████████/asops/CESET/DotNet/(S(zxfdh3222tuxim4qkyddqkc4))/Register.aspx?s=1&c=SOC-E
- After the form is filled, the confirmation messaged is displayed in a URL as https://www2.████████/asops/CESET/DotNet/(S(y4xw2rqkzk1zzzej0mu2atng))/RegistrationConfirmation.aspx?stu=490504
- The attacker can cycle the stu value from the beginning and enumerate thousand of candidates enrolled for the courses.
- Here we have automated the attack in order to get user details in a short period of time. Please refer to the screenshot below having the results.
Suggested Mitigation/Remediation Actions
The application shall generate hashed values instead of numeric values so that the attacker cannot guess the user details.
Impact
The attacker might carry out targeted attacks against the given organization by exfiltrating details from the candidates. The attacker can also find the candidates easily on social media sites to carry out further attacks.
System Host(s)
www2.██████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- Fill in the form in order to apply/register for the courses online https://www2.███████/asops/CESET/DotNet/(S(zxfdh3222tuxim4qkyddqkc4))/Register.aspx?s=1&c=SOC-E
- After the form is filled, the confirmation messaged is displayed in a URL as https://www2.██████/asops/CESET/DotNet/(S(y4xw2rqkzk1zzzej0mu2atng))/RegistrationConfirmation.aspx?stu=490504
- The attacker can cycle the stu value from the beginning and enumerate thousand of candidates enrolled for the courses.
- Here we have automated the attack in order to get user details in a short period of time. Please refer to the screenshot below having the results.
Suggested Mitigation/Remediation Actions
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 confirmation page looked up a student record directly from a predictable sequential number in the URL without checking that the requester was entitled to see that record.
Impact
An attacker could exfiltrate candidate details and use them for targeted attacks or to find candidates on social media.
What the attacker needed
Access to the public registration form; submit a registration to obtain a confirmation URL
The fix
The application should use unguessable hashed values instead of sequential numeric identifiers so that records cannot be enumerated.
How it was found
- Fill in the online course registration form.
- After submitting, note the confirmation page URL containing a numeric student value.
- Change the numeric value to other numbers to view other candidates' names.
- Automate the cycling to collect many candidate names quickly.
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.
After registering, the confirmation page shows the candidate's name and its address ends with a simple number identifying the student. Anyone can change that number to see other people's names.
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.