Skip to content
Business logic Write-up Beginner

When Client-Side Validation Isn’t Enough — Porsche Contact Form Logic Bypass

The contact form's subject field was validated only in the browser, so the server accepted any arbitrary value sent directly. An attacker could submit unexpected or malicious content into the internal support queue, potentially causing misrouting or abuse.

ethan_hunt Follow

Published on medium.com

During my research under Porsche’s HackerOne Bug Bounty Program, I found a subtle yet revealing issue — the contact form’s subject field was being validated only on the client side.

Mandar Satam, 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

The server did not re-validate the subject parameter against the allowed list, relying solely on client-side enforcement.

Impact

Attackers could inject spam or phishing into the support queue, cause internal routing confusion, and potentially escalate privileges if automation relies on trusted subject values; the report rates severity as low to medium.

What the attacker needed

Access to the contact form; ability to intercept HTTP requests

The fix

The subject should be validated on the server side, accepting only whitelisted values and logging invalid attempts.

How it was found

  1. Intercept the POST request from the contact form.
  2. Modify the subject parameter to an arbitrary value.
  3. Send the request and observe that the server accepts and processes 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.

A website's contact form had a dropdown menu for the subject, and the browser checked that you picked one of the listed options. But the server behind the form did not check again, so someone could send a request with any subject they wanted. This matters because the server should always verify what it receives, not trust the browser.

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 ethan_hunt

View all

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