An unpatched Yahoo Messenger vulnerability that allows attackers to change people's status messages and possibly perform other unauthorized actions can be exploited to spam malicious links to a large number of users.
The vulnerability was discovered in the wild by security researchers from antivirus vendor BitDefender while investigating a customer's report about unusual Yahoo Messenger behavior.
The flaw appears to be located in the application's file transfer API (application programming interface) and allows attackers to send malformed requests that result in the execution of commands without any interaction from victims.
"An attacker can write a script in less than 50 lines of code to malform the message sent via the YIM protocol to the victim," said Bogdan Botezatu, an e-threats analysis & communication specialist at BitDefender.
"Status changing appears to be only one of the things the attacker can abuse. We're currently investigating what other things they may achieve," he added.
Victims are unlikely to realize that their status messages have changed and if they use version 11.5 of Yahoo Messenger, which supports tabbed conversations, they might not even spot the rogue requests, Botezatu said.
This vulnerability can be leveraged by attackers to earn money through affiliate marketing schemes by driving traffic to certain websites or to spam malicious links that point to drive-by download pages.
Drive-by download attacks exploit unpatched vulnerabilities in browser plug-ins like Java, Flash Player, or Adobe Reader, and are currently one of the primary methods of distributing malware.
Links included in status messages usually have a high click-through rate because they are addressed to the victim's friends. This means that URLs spammed in this way will be clicked by most of their contacts, the BitDefender researchers said.
According to the antivirus vendor, Yahoo was notified about the vulnerability through the appropriate channels. However, the company did not immediately respond to a request for comment sent by IDG.
Until this vulnerability is fixed, users can protect themselves by configuring Yahoo Messenger to ignore anyone who is not in their Messenger list. However, this option will not prevent attacks from their current contacts.