Skip to content
Business logic Write-up Beginner

Content Spoofing Vulnerability in RosarioSIS Student Information

A theme preference field in the user settings panel lacked server-side input validation, so an authenticated user could submit an arbitrary string instead of a predefined theme value. The application stored the malformed value and the front-end then failed to render correctly, causing layout breakage and spoofed display behaviour.

Rudransh Singh Rajpurohit Follow

Published on medium.com

During a routine assessment of a publicly accessible demo web application, I discovered a content spoofing vulnerability related to improper input validation in a user preference setting.

Rudransh Singh Rajpurohit, 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 authenticated user could break the interface layout and spoof display behaviour for themselves, and the report suggests this validation gap could potentially be chained into XSS or user setting manipulation in future iterations.

What the attacker needed

A valid user account; access to the preferences panel; an HTTP proxy tool

The fix

The vendor fixed it by whitelisting acceptable theme values, adding server-side validation of preferences, sanitising inputs with safe fallback logic, logging manipulation attempts, and extending QA coverage.

How it was found

  1. Log in and open the user preferences panel.
  2. Select a valid theme and observe the request that is sent.
  3. Intercept the configuration update request with an HTTP proxy.
  4. Replace the theme parameter value with an invalid arbitrary string.
  5. Submit the tampered request and observe that the application fails to render the malformed data correctly.

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 web application lets you pick a theme (like light or dark mode) in your preferences. The server trusted whatever value the browser sent without checking it was one of the allowed themes. By sending a made-up value, a logged-in user could make the page display incorrectly, which could confuse other users or hide parts of the interface.

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 Rudransh Singh Rajpurohit

View all

5 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.