Skip to content
File upload Write-up Intermediate

Hack Stories: Hacking Hackers EP:2

A crowdfunding website had an arbitrary file upload, SQL injection and an administrator login bypass. An attacker could use these to gain unauthorised access and control over the site's data and systems.

infosecwriteups.com

Published on infosecwriteups.com

Hack Stories: Hacking Hackers EP:1 When cockiness backfires and put your company at risk.infosecwriteups.com

c0d3x27, 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

Impact

An attacker could upload malicious files, access or modify sensitive data, and gain administrator access, potentially leading to a full compromise of the platform.

What the attacker needed

Access to the crowdfunding website

The fix

The vulnerabilities should be fixed by implementing proper file upload validation, parameterised queries to prevent SQL injection, and robust authentication mechanisms.

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.

The website let people upload files without proper checks, and it also had a flaw in how it handled database queries and a way to get around the admin login. This means someone could upload harmful files, read or change data in the database, and log in as an administrator without a password.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.