Monday, February 17, 2025
HomeCyber Security NewsTwitter Bug That Enables Third-party apps to get Unauthorized Access to User's...

Twitter Bug That Enables Third-party apps to get Unauthorized Access to User’s Direct Messages

Published on

SIEM as a Service

Follow Us on Google News

Twitter fixed a bug that allows a third-party app to read the user message without user consent. The bug resides in the apps that uses PIN to complete the authorization instead of OAuth token-based procedure.

Terence Eden discovered the Twitter bug and submitted to Twitter through HackerOne platform. He was awarded $2,940 for reporting the bug.

Twitter bug Allows Unauthorized Access

Eden says the Twitter API keys are available freely, which allows an unapproved Twitter app can still use the Twitter API.

Twitter has enforced some security restriction for the apps, the important one is the callback URLs which limits the apps access only to the predefined URLs.

But not every app has the URL or supports callbacks, instead some app use secondary authorization which lets users log in by typing a PIN into your app and the PIN app don’t display the correct OAuth information to the user.

For some reason, Twitter’s OAuth screen says that these apps do not have access to Direct Messages. But they do! In short, users could be tricked into allowing access to their DMs, reads Eden’s blog post.

Twitter bug

The bug has been reported to Twitter by Eden on 2018-11-06 and Twitter fixed the issue by 2018-12-06. Here you can find the proof-of-concept python code.

Twitter reported that we do not believe anyone was mislead by the permissions that these applications had or that their data was unintentionally accessed by the Twitter for iPhone or Twitter for Google TV applications as those applications use other authentication flows. To our knowledge, there was not a breach of anyone’s information due to this issue. There are no actions people need to take at this time.

Recently Facebook fixed and revealed a new photo API bug that may have been affected by nearly 68 million users and 1,500 apps built by 876 developers.

Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

Ransomware Gangs Encrypt Systems 17 Hours After Initial Infection

Ransomware gangs are accelerating their operations, with the average time-to-ransom (TTR), the period between...

Stealthy Malware in WordPress Sites Enables Remote Code Execution by Hackers

Security researchers have uncovered sophisticated malware targeting WordPress websites, leveraging hidden backdoors to enable...

Xerox Printer Vulnerability Exposes Authentication Data Via LDAP and SMB

A critical security vulnerability in Xerox’s Versalink C7025 Multifunction Printer (MFP) has been uncovered,...

New XCSSET Malware Targets macOS Users Through Infected Xcode Projects

Microsoft Threat Intelligence has identified a new variant of the XCSSET macOS malware, marking...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Ransomware Gangs Encrypt Systems 17 Hours After Initial Infection

Ransomware gangs are accelerating their operations, with the average time-to-ransom (TTR), the period between...

Stealthy Malware in WordPress Sites Enables Remote Code Execution by Hackers

Security researchers have uncovered sophisticated malware targeting WordPress websites, leveraging hidden backdoors to enable...

Xerox Printer Vulnerability Exposes Authentication Data Via LDAP and SMB

A critical security vulnerability in Xerox’s Versalink C7025 Multifunction Printer (MFP) has been uncovered,...