Skip to content
SQL injection Write-up Beginner

How I Hacked DePauw University Using Hidden Inputs

A hidden form field containing a student ID was not sanitised, allowing an attacker to change it and retrieve any student's mailbox number and combination. The same unsanitised input was also vulnerable to SQL injection, which could return all mailbox credentials at once.

medium.com

Published on medium.com

For the past month I have been in a conflict with my undergrad university, DePauw, over a vulnerability I found involving university provided student mailboxes. I have been threatened while also being told that they are grateful for what I’ve done.

Thomas Ring, 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

Impact

An attacker could view any student's mailbox number and combination, and potentially retrieve all such credentials, though the text does not confirm actual misuse.

What the attacker needed

Access to the student E-Services site; a student ID (own or obtained)

The fix

The vulnerability was fixed by sanitising the input, as the text states the problem was promptly fixed.

How it was found

  1. Find a form with hidden inputs on the student E-Services site.
  2. Use the browser inspector to edit the hidden Student ID field.
  3. Submit the form with a different student ID to retrieve that student's mailbox number and combination.
  4. Submit the form with a SQL injection payload to retrieve all mailbox numbers and combinations.

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 form can contain hidden fields that users do not see, but these can still be edited using browser tools. If the server trusts the value without checking it, an attacker can change it to access other people's data. Here, changing a student ID revealed mailbox codes, and adding a simple database command could reveal all codes.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.