Client-Side Vnerability in VDP
The registration form relied only on client-side JavaScript validation to enforce an email-domain restriction and a US-only signup rule. By editing the email and password fields directly through the browser's developer tools, an attacker could avoid triggering the validation events and complete registration with an arbitrary email address.
medium.com
Published on medium.com
EchoStar VPD has an issue in registration because You must have an email on different domain to create an account on the vulnerable site, vulnerable site is store so if you wanna add product to your cart you should have an account and this site restrict American users only in Creation account process so this front end…
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 email-domain and region restrictions were enforced only by client-side JavaScript events, with no matching validation on the server.
Impact
An attacker outside the US could create an account with an email on a disallowed domain, bypassing the signup restrictions the site intended to enforce.
What the attacker needed
Access to the signup page; a browser with developer tools
The fix
The email-domain and region checks should be enforced on the server when the account is created, not only in browser JavaScript.
How it was found
- Open the create account page and enter a full name and email.
- Notice that leaving the email field triggers validation that hides the create account button.
- Open the browser inspector and set the email field value directly to an arbitrary address.
- Repeat the same direct value change for the password field.
- Observe that the create account button stays visible and submit the form.
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 can check things in your browser (the 'front end') or on its own server. Here the check that your email had to be from a certain domain, and that you had to be in the US, only ran in the browser. By changing the form fields with the browser's built-in inspector, the check never ran, so the account was created anyway.
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.