Medium severity

Facebook social network vulnerable to CSRF

CSRF in the "Change password" function of the Facebook social network.

Original release date
August 2011
Discovered by
Vicente Aguilera Díaz
Severity
4.9 / 10 CVSS v2.0
Affected product
Facebook: www.facebook.com, m.facebook.com and touch.facebook.com

Antecedentes

Facebook is a social networking service (www.facebook.com) launched in February 2004 and operated by Facebook, Inc. In July 2011, it had more than 750 million active users.

Description

Cross-Site Request Forgery (CSRF, also known as a one-click attack or session riding) transmits unauthorized commands from a user in whom the site trusts. Facebook is vulnerable to CSRF in the "Change password" feature: the only element that authenticates the user is the session cookie, which the browser automatically sends with every request and which is not associated with other typical parameters (such as the IP address), so the authenticated request can be made from different physical locations. An attacker can create a page with multiple requests (password guessing attack) to that feature and change the passwords of the authenticated users who visit it.

Business impact

Selective denial of service to Facebook users (changing their password) and possible access to other users' accounts.

Affected systems

The Facebook social network: www.facebook.com (main site), m.facebook.com and touch.facebook.com (mobile versions).

Solución

The manufacturer has not provided any solution.

Calendario de divulgación

31 Jul 2011 Vulnerability discovered.
Aug 3, 2011 Facebook is notified of the vulnerability.
7 Aug 2011 Internet Security Auditors asks Facebook for the status of the analysis.
8 Aug 2011 Facebook responds that there are other protections that mitigate this risk.
8 Aug 2011 Internet Security Auditors explains that the risk is low but the solution is trivial: validate the value of the security tokens, as is already done in other functions.
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