Skip to content
Access control Write-up Intermediate

How I Turned $3 Into 8 Paid Bugs

The report describes eight vulnerabilities in a game server hosting platform, including mass assignment of email, broken access control on invite and server endpoints, unauthenticated information disclosure, privilege escalation via socket tokens, and RCE through JVM parameter injection. An attacker could chain these to take over servers, crash them, or extract private TLS keys.

0xs3fo Follow

Published on medium.com

بِسْ� ِ اللَّـهِ الرَّحْ� َـٰنِ الرَّحِي� ِ اللَّهُ� َّ صَلِّ وَسَلِّ� ْ وَبَارِكْ عَلَى سَيِّدِنَا � ُحَ� َّدٍ

Saif Eldin, 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 multiple root causes: missing server-side permission checks, mass assignment, and improper isolation of server processes.

Impact

An attacker could take over any server by chaining the email change and invite disclosure bugs, and could also crash servers, access sensitive information, and extract private keys.

What the attacker needed

Attacker has a sub-user account with Members View; victim has invited a co-owner; attacker can register a new account

The fix

The platform should enforce permission checks on the backend for all endpoints, validate and restrict mass assignment, require authentication for invite resolution, and properly isolate server processes to prevent access to sensitive files.

How it was found

  1. The victim owns a server and invites a co-owner.
  2. The attacker is a sub-user with Members View permission only.
  3. The attacker retrieves the invite code and invitee email via the invites endpoint.
  4. The attacker registers a new account and changes its email to the invitee's email using the mass assignment bug.
  5. The attacker uses the invite link to accept the invitation as the intended co-owner.
  6. The attacker gains full control of the server.

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 shows how small mistakes in a web application can combine into serious attacks. For example, a user could change their email to any address without verification, and another bug let them see secret invite codes. By chaining these, an attacker could take control of someone else's game server.

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 0xs3fo

View all

1 more disclosed report, 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.