CWE-79 Medium severity

Reflected XSS on MercadoLibre

Reflected XSS vulnerability in MercadoLibre's q parameter that allowed an attacker to inject JavaScript code and obtain session cookies.

Original release date
June 2018
Discovered by
Gonzalo Carrasco
Severity
6.1 / 10 CVSS v3.0
Affected product
MercadoLibre (myaccount.mercadolibre.com.ar)

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

Jun 08, 2018 Vulnerability discovered and reported to MercadoLibre.
Jun 13, 2018 Vulnerability patched.
Jun 25, 2018 Publication of the advisory.

References

Sobre Internet Security Auditors

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 us
Contact

Do 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

We will be in contact with you as soon as possible.
Global Presence

Our offices

Barcelona

C. Santander, 101. Building A-2
E-08030 Barcelona (Spain)

+34 93 305 13 18
Madrid

Arequipa St., 1
28043 Madrid (Spain)

+34 91 763 40 47
Bogotá

Transversal 22 # 98-82, Porta 100 Building, Office 1003
110221 Bogotá (Colombia)

+57 601 638 68 88
25
years of experience in cybersecurity
Contact us