Categories: Digital IDHacking

Facebook hacked with an SMS, excellent the bug management

The hacker “fin1te”  revealed that Facebook account was hackable within a minute simply with an SMS. Excellent the bug management in the Bug Bounty program.

Facebook hacked again, this time hackers have done it without using any other malicious code neither user interaction. UK based Security Researcher, “fin1te” revealed that attack could compromise any Facebook account in less than a minute simply exploiting an SMS message.

The hacker exploits the possibility provided by Facebook to link user’s mobile number with user’s account, the feature allows him to receive updates via SMS and to login using the number rather than the email address.

The hackers have found a bug the component

 /ajax/settings/mobile/confirm_phone.php 

which receive various parameters, most importantly for the hack are “code” (verification code received via mobile), and “profile_id” (account identifier linked the number).

The webpage works in the background when user submits his phone number and verification code, sent by Facebook to mobile. Despite the parameter profile_id is linked to the user’s account it’s modification to the hacker’s target doesn’t trigger an error.

Following the sequence of the attack to Facebook described by “fin1te”:

Change value of profile_id to the Victim’s profile_id value by tampering the parameters.

 Send the letter F to 32665, which is Facebook’s SMS shortcode in the UK.  The attacker will receive an 8 character verification code back.

 

Use the received verification Box entering it in the box or providing it as value for the parameter confirmation_code and Submit the form.

The attack is completed, Facebook will accept the confirmation code linking the attacker’s mobile number to victim’s Facebook profile and allowing the attacker to impersonate him.

At this point the attacker just has to execute the procedure for “Password forgotten” and initiate the password reset request against of the victim’s account.

“Attacker now can get password recovery code to his own mobile number which is linked to the victim’s account using the above steps. Enter the code and Reset the password!”

Facebook response was very fast no longer accepting the profile_id parameter from the user end after the warning provided by fin1te that also received from the company $20,000 as recompense for the Bug Bounty program.

Pierluigi Paganini

(Security Affairs – Facebook, hacking )

 

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Silent Ransom Group targeting law firms, the FBI warns

FBI warns Silent Ransom Group has targeted U.S. law firms for 2 years using callback…

13 hours ago

Leader of Qakbot cybercrime network indicted in U.S. crackdown

The U.S. indicted Russian Rustam Gallyamov for leading the Qakbot botnet, which infected 700K+ devices…

18 hours ago

Operation RapTor led to the arrest of 270 dark web vendors and buyers

Law enforcement operation codenamed 'Operation RapTor' led to the arrest of 270 dark web vendors…

2 days ago

Chinese threat actors exploited Trimble Cityworks flaw to breach U.S. local government networks

A Chinese threat actor, tracked as UAT-6382, exploited a patched Trimble Cityworks flaw to deploy…

2 days ago

U.S. CISA adds a Samsung MagicINFO 9 Server flaw to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a Samsung MagicINFO 9 Server vulnerability to its…

2 days ago

New Signal update stops Windows from capturing user chats

Signal implements new screen security on Windows 11, blocking screenshots by default to protect user…

3 days ago