Skip to content
Access control Write-up Beginner

Vapt Report Example

The report describes four vulnerabilities in OWASP Juice Shop: privilege escalation via user registration API, OAuth account takeover through predictable passwords, SQL injection in product search, and arbitrary file download via null byte injection. An attacker could create admin accounts, take over OAuth accounts, extract database data, and download sensitive backup files.

Aryan Sharma Follow

Published on infosecwriteups.com

This report documents multiple security vulnerabilities identified in the OWASP Juice Shop application. Each finding is described in detail, including severity assessment, exploitation steps and remediation guidance.

Aryan Sharma, on infosecwriteups.com

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 missing server-side authorization and input validation, combined with insecure design choices such as client-side password generation and unsafe file handling.

Impact

An attacker could gain full administrative access, take over OAuth accounts, extract sensitive database information, and download restricted backup files, potentially exposing credentials and business data.

What the attacker needed

Access to the application; no authentication required

The fix

The report suggests enforcing server-side role control, never generating passwords client-side, using parameterized queries, and rejecting null bytes with allow-listed file access.

How it was found

  1. Send a POST request to the user registration API endpoint.
  2. Add a role parameter set to admin in the request body.
  3. Submit the request using Burp Suite.
  4. The server responds with a successful user creation message.
  5. Log in using the created credentials.

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.

This report lists several security holes in a deliberately vulnerable practice app. One lets anyone create an admin account by adding a role field when signing up. Another lets attackers guess a user's password because it is generated from their email in a predictable way. A third lets attackers run database commands through a search box, and a fourth lets them download backup files by tricking the server with a special character.

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.