Skip to content
Access control Write-up Beginner

When Anyone Can Be Admin: The Boat Booking App That Left the Back

The administrative endpoints of the SourceCodester Online Boat Reservation System 1.0 did not verify that a user had admin privileges. Any logged-in regular user could send requests directly to admin-only parts of the application to read sensitive data, modify information, or disrupt the service.

CyberPodcast Follow

Published on medium.com

A security vulnerability was discovered in a web application called the SourceCodester Online Boat Reservation System 1.0 — a free, open-source PHP app designed to let users book boat rentals online.[cve]

CyberPodcast, on medium.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 the application checked that a user was logged in but did not check that the user had an admin role before serving administrative endpoints.

Impact

Any logged-in regular user could read sensitive data, modify bookings, users, or settings, and potentially disrupt the service; the text does not mention any defence that limited the exploit.

What the attacker needed

A regular user account; network access to the application

The fix

The text does not state that a fix exists; it recommends taking the application offline or restricting access until a patched version is available.

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.

A website has different areas for different people. Normal users should only see their own pages, while admins see everything. Here, the website forgot to check if you were an admin before showing the admin pages, so any normal user could open them just by going to the right address.

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.

More by CyberPodcast

View all

8 more disclosed reports, best first.

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.