Twitter fix for bug that left accounts open to imposters less than ideal

Twitter has released a less-than-optimal fix for a well-known text-messaging bug that enables an attacker with the mobile phone number associated with an account to impersonate the user.

The flaw, disclosed on Monday by security consultant Jonathan Rudenberg, enables someone to use text messaging to send tweets under the name of the mobile phone user. In addition, an attacker can change profile information, follow and unfollow other Twitter users and send direct messages.

Twitter partially fixed the bug by preventing account holders from using their phone numbers to send tweets when a so-called short code is available. Short codes are shortened telephone numbers used in a variety of services, such as TV program voting and making charity donations. Unlike regular telephone numbers, short codes are not susceptible to impersonation attacks.

[See also: Twitter users delt malicious links via direct messages]

The fix leaves out a significant number of Twitter users, because the social network does not have short codes available for many mobile operators. For example, Twitter has no short codes available with U.S. carriers.

Those users will have to continue to use their phone numbers, leaving them open to attack. The workaround is to use their account settings to require a PIN each time a text message is sent.

The problem stems from a flaw in the short messaging service (SMS) gateways used by carriers. Like email, SMS allows the originating address of a message to be set to an arbitrary identifier, including someone else's phone number, Rudenberg said.

Facebook and Venmo, a mobile payment service, were also open to the same type of spoofing attacks. They recently fixed the bug, Rudenberg said..

The SMS flaw is well known among security researchers, said Timothy Whitman, spokesman for Kaspersky Lab. "[Nevertheless,] it's something that should be addressed, even if it's not a highly critical issue," he said.

Another way to fix the problem is for Twitter to have text messaging through its app, rather than relying on SMS. "It's generally best to steer clear from using text messages for these types of functionality," Whitman said.

Rudenberg claimed he notified Twitter about the bug via a Web form on Aug. 17. On Sept. 6, Twitter asked him not to disclose the vulnerability until after it was fixed. After an Oct. 15 request for an update went unanswered, Rudenberg notified Twitter he would be going public.

A hijacked Twitter account can be humiliating. Early this year, actor Ashton Kutcher's Twitter account was hacked and embarrassing tweets posted in his name. Kutcher has 9 million followers.

Like all social media, Twitter battles attacks constantly. In September, cybercriminals were using compromised accounts to distribute messages disguised as coming from friends. The messages contained a link to a Website that tried to install malware on to a PC. (

Among the major reasons accounts are hijacked on social networks is weak password security, Sophos said. Users are too often allowed to use weak passwords in opening accounts.

Read more about social networking security in CSOonline's Social Networking Security section.

Join the CSO newsletter!

Error: Please check your email address.

Tags applicationsData Protection | Social Networking Securitysoftwaretwitterdata protection

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Antone Gonsalves

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts