Yahoo patches vulnerability allowing hackers to eavesdrop on emails

Edward Hudson By: Edward Hudson
2 minute read

Home » Yahoo patches vulnerability allowing hackers to eavesdrop on emails

Yahoo has fixed a flaw in its Mail service that could have allowed hackers to eavesdrop on user emails nearly a year after the same bug was disclosed and patched. Jouko Pynnonen from Finland received $10,000 from Yahoo for disclosing the new vulnerability, which Yahoo fixed last month.

The flaw concerned a cross-site scripting attack that gave an attacker the permission to read a user’s email or create a virus to infect Yahoo Mail accounts. Pynnonen explained that a user must view the email from an attacker for the bug to work.

The bug was similar to an old Yahoo Mail flaw that Pynnonen discovered last year that could give hackers complete control of a Yahoo Mail account.

Shortcoming in Yahoo filters

Pynnonen cited a shortcoming in Yahoo’s filter for HTML messages as the culprit for the latest vulnerability. The filter works to block malicious code from the user’s browser. According to the researcher, the filter failed to capture all of the malicious data attributes. A hacker could then execute malicious JavaScript just by sending a custom email to the victim.

The researcher discovered the flaw in the email composing view, where various attachment options called his attention to potential bug in basic HTML filtering. Pynnonen then created an email with various attachments and sent the message to an external mailbox. Upon inspecting the raw HTML contained in the email, some malicious attributes caught his attention.

“What caught my eye were the data-* HTML attributes. First, I realised my last year’s effort to enumerate HTML attributes allowed by Yahoo’s filter didn’t catch all of them.”

Pynnonen thought it was possible to embed several HTML attributes that would pass through Yahoo’s HTML filter. He eventually found a pathological case after composing an email with abusive data-* attributes.

Yahoo has been under fire earlier this year following reports that indicate at least 200 million Mail accounts were sold on the dark web.

Read also:

Discussions

Next up

Top 10 USB gadgets for computer to get for this Christmas

Milan Stanojevic avatar. By: Milan Stanojevic
Less than a 1 minute read

Christmas is almost here, and if you’re planning to do so shopping, we suggest that you have a look at these great USB gadgets for […]

Continue Reading

15 great Christmas gifts for Zelda fans that you can buy

Milan Stanojevic avatar. By: Milan Stanojevic
Less than a 1 minute read

Christmas season is almost here and if you’re planning to make your purchase, today we want to show you some great Christmas gifts for Zelda […]

Continue Reading

How to fix Unhandled Exception error in Windows 10

Sovan Mandal avatar. By: Sovan Mandal
5 minute read

6 solutions to fix  Unhandled Exception Errors Perform clean boot Perform SFC scan Run the Hardware Troubleshooter Perform virus scan Un-install and re-installing .NET Framework […]

Continue Reading