Skip to content
Access control Write-up Beginner

How I Found a Broken Access Control That Exposed Interview Answers?

An API endpoint returned the correct answers alongside interview questions, so anyone who could reach it could learn the answers before taking the interview. This undermined the fairness of the assessment process.

osintteam.blog

Published on osintteam.blog

Hi Infosec Community, I’m back with another intriguing finding and this time, a Broken Access Control vulnerability that exposed interview answers before the interview even started! In the world of cybersecurity, not all vulnerabilities are about deep exploitation, sometimes, it’s the small oversights that can have a…

Sri Shavin Kumar, on osintteam.blog

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the API returned the full question object, including the correct answer field, to the client instead of stripping sensitive fields before sending the response.

Impact

A candidate could obtain all correct answers before starting the interview, gaining an unfair advantage and damaging trust in the platform's assessment integrity.

What the attacker needed

Access to the API endpoint

The fix

The platform removed the correctAnswer field from API responses and changed the system so answers are only revealed after the interview is completed.

How it was found

  1. Manually inspect the platform's API.
  2. Find the interview questions endpoint.
  3. Observe that the response includes the correct answer for each question.

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 write-up has not been written yet. The Original tab links to the source.

An API is the way a website's front end talks to its servers, often returning data in a structured format. Here, the server sent back not just the questions but also which option was correct. Anyone who could call that endpoint could read the answers in advance, which defeats the purpose of an interview test.

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.

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.