Skip to content
Business logic Write-up Intermediate

One Parameter, Three Different Answers: A Parser Disagreement Sto

A filtering layer and the backend application disagreed on which duplicate HTTP parameter value to use, so a request with a safe value first and a dangerous value second passed the filter but the backend acted on the dangerous value. An attacker could bypass access controls or business logic restrictions on sensitive parameters such as environment, role, or price.

Yamini Yadav_369 Follow

Published on osintteam.blog

I was testing a lab environment that sat behind a fairly typical stack: a filtering layer in front, then an application server behind it. The filter was doing its job.

Yamini Yadav_369, on osintteam.blog

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

The filtering layer and the backend application used different rules for resolving duplicate parameter names, so the value that was validated was not the value that was acted upon.

Impact

The severity depends entirely on the parameter: on a role, permission, price, or environment parameter it becomes a full access control or business logic bypass, effectively giving the same outcome as if the filter were not there at all.

What the attacker needed

A filtering layer in front of the application; ability to craft raw HTTP requests; a business-sensitive parameter

The fix

The clean fix is to reject any request containing a duplicate parameter name outright, or where duplicates are legitimate, to document and apply the same resolution rule identically at every layer in the request path.

How it was found

  1. Identify a business-sensitive parameter such as environment, role, or price.
  2. Send the parameter once normally and confirm the expected behaviour.
  3. Duplicate the parameter, placing the safe value first and the desired value second, in the query string, body, or split across both.
  4. Compare the filtering response with what was actually persisted or acted on.
  5. Repeat using array-style syntax to test framework-specific handling.

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.

When a web request contains the same parameter name twice, different software components may pick different values: one might take the first, another the last. If a security filter checks the first value but the application uses the last, an attacker can hide a dangerous value behind a safe-looking one. This is called HTTP parameter pollution.

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.

More by Yamini Yadav_369

View all

13 more disclosed reports, best first.

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.