Skip to content
Access control Write-up Beginner

How I Found a €100 Bug at DCU: From “Not Applicable” to Cashing In!

An endpoint intended for authenticated users was accessible to anyone, allowing unauthenticated users to add content and host web pages. The reporter argued this was a vulnerability, and the issue was eventually fixed by restricting the endpoint to return 403 Forbidden.

trffnsec Follow

Published on medium.com

🔍 Once upon a time in the world of bug hunting… I received an invite from Dublin City University to test their digital realms. Armed with my trusty automation tools, Nuclei and Afrog, I went full throttle but hit a wall. 🤔 Not even a breadcrumb of vulnerability showed up!

TrffnSec, 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 endpoint lacked proper authentication checks, allowing unauthenticated access to functionality intended for authenticated users.

What the attacker needed

None

The fix

The endpoint was fixed by restricting it to return 403 Forbidden for unauthorised users.

How it was found

  1. Crawl the site and discover the /s/auth endpoint.
  2. Access the endpoint without authentication and observe that it allows adding content and hosting web pages.
  3. Create an HTML proof of concept and report it.

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 web application had a page that was supposed to be only for logged-in users, but anyone could access it and add content. This is a problem because it lets people who shouldn't have access do things they shouldn't. The organisation fixed it by blocking access to that page for everyone except authorised users.

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 trffnsec

View all

2 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.