Medium severity

Facebook HTML and Script code injection vulnerability

Cross-Site Scripting in the "Unblock email address" feature of Facebook's privacy settings.

Original release date
February 2010
Discovered by
Vicente Aguilera Díaz
Severity
4.9 / 10 CVSS v2.0
Affected product
www.facebook.com (privacy/ajax/block.php)

Antecedentes

Facebook is a social network operated and owned by Facebook, Inc. Users can add friends, send them messages, and update their profile.

Description

The "Unblock email address" feature in the "My Account > Privacy > Block" section of Facebook is vulnerable to Cross-Site Scripting because the unblock_email variable is not properly sanitized in privacy/ajax/block.php. An attacker can inject HTML or script code into the victim's browser and steal their cookies.

Business impact

An attacker can execute arbitrary HTML or script code in a user's browser, allowing them to steal their cookies or take control of their browser.

Affected systems

www.facebook.com.

Solución

Already corrected by the manufacturer.

Calendario de divulgación

22 Feb 2010 Vulnerability discovered by Internet Security Auditors.
1 Mar 2010 Contact with the Facebook security team.
1 Mar 2010 Facebook responds that it will apply the correction.
2010 Corrected without notification.
Mar 20, 2013 Publication for educational purposes.

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 in-depth experience 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 contact 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