Reflected XSS on MercadoLibre
Reflected XSS vulnerability in MercadoLibre's q parameter that allowed an attacker to inject JavaScript code and obtain session cookies.
Antecedentes
MercadoLibre is the leading e-commerce platform in Latin America.
Description
The application contained a reflected XSS vulnerability that allowed attackers to inject JavaScript code. An attacker could send a malicious URL to their victim and obtain their session cookies. The vulnerable parameter was q via the GET method, exploitable with "recent" or "archived" type values.
Business impact
The impact of the discovered vulnerability is rated as medium-critical, as if the user has an active session, their current cookies could be captured by the attacker.
Sistemas afectados
MercadoLibre website (myaccount.mercadolibre.com.ar)
Solución
Proper escaping of untrusted data according to the HTML context, positive server-side validation, auto-sanitizing libraries (OWASP AntiSamy), and implementation of Content Security Policy (CSP) are recommended.
Calendario de divulgación
References
The information contained within this advisory is supplied 'as-is' with no warranties or guarantees of fitness for use or otherwise. Internet Security Auditors accepts no responsibility for any damage caused by the use or misuse of this information.
Company based in Spain and Colombia, specializing in web application auditing, network security, penetration testing, and compliance implementation and assessment. Our clients include some of the largest finance, telecommunications, insurance, and ICT companies. A vendor-independent provider with deep expertise since 2001. Our R&D efforts include vulnerability research, collaboration on open security projects, whitepapers, and participation in industry events.
Would you like us to review your product?
Contact usDo you need a security audit?
Tell us about your situation and our team will get in touch with you to provide guidance or schedule a technical call.
Request information
Our offices
Transversal 22 # 98-82, Porta 100 Building, Office 1003
110221 Bogotá (Colombia)
