Skip to content
Business logic Write-up Beginner

How I Found 3 Security Bugs as a Beginner — My Real Bug Bou

The payment amount was controlled by a client-side parameter, allowing a user to set a lower price. An identifier in the billing summary URL lacked authorisation checks, exposing other users' billing details. Two input fields reflected unencoded input, leading to reflected XSS.

Priyagita Follow

Published on medium.com

Until recently, I had never imagined myself poking around websites to uncover security flaws. I was just getting started with web application security, mostly watching videos, reading writeups, completing labs, and learning common vulnerabilities.

Priyagita, 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 server trusted client-supplied values for price, used an unverified identifier for access to billing data, and reflected user input without encoding.

Impact

An attacker could pay a lower price, view other users' billing details, and run script in a victim's browser via reflected XSS.

What the attacker needed

Access to the booking site; ability to intercept requests; victim clicks a crafted link for XSS

The fix

The text does not state that fixes were applied; the issues should be fixed by validating prices server-side, enforcing authorisation on billing records, and encoding output.

How it was found

  1. Intercept the payment request and note the amount parameter.
  2. Change the amount to a small positive value and observe the payment gateway update.
  3. Open the billing summary page and note the id parameter in the URL.
  4. Change characters in the id and observe another user's billing details.
  5. Enter a script payload into the Name and Place fields and submit the form.
  6. Observe alert pop-ups confirming reflected XSS.

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 write-up describes three common web flaws found on a ticket-booking site. One let the author change the price in the browser before paying; another let them see other people's billing pages by altering a code in the web address; the third let them type a small script into a form that ran in the page. These are basic mistakes: trusting the browser for prices, not checking who is allowed to see a page, and not cleaning user input before showing it.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.