Skip to content
Business logic Write-up Beginner

Hacking Microsoft Forms

Microsoft Forms accepted submitted answers without checking them against the question's allowed options on the server. By intercepting the submission request, a user could submit an answer that was not one of the listed choices, or a null value, and it would be saved and shown to the form owner.

Nishith P Follow

Published on infosecwriteups.com

From the growth of Online learning during this pandemic — students, researchers have been on a hunt for hacks on Microsoft Forms which could give them an unfair advantage in their tests, pop quizzes etc.

Nishith P, 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

Root cause

Likely the server trusted the answer values sent by the client and never validated them against the question's defined options.

Impact

An attacker could only alter their own response, not other users' responses, but could still skew ratings, scores and multiple-choice answers, which the author says could mislead form owners and harm trust in the service.

What the attacker needed

Access to a Microsoft Forms form; ability to intercept own requests

How it was found

  1. Create a new form in Microsoft Forms.
  2. Open the form.
  3. Submit the form while intercepting the outgoing request.
  4. Modify the answer value to a new option or a null string and forward it.

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 you fill in an online form, your browser sends your answers to the company's server. Normally the server should check that each answer is one of the choices the form offered. Here it did not, so someone could tamper with the message their browser sends and slip in an answer that was never an option.

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.