In this blog post I will be showing a few recent vulnerabilities reported and patched by the Yahoo Security Team. In July of 2014 I was able to identify a SSRF vulnerability affecting all of Yahoo’s services that required an image processing (such as flickr and Yahoo groups). This vulnerability was patched a few weeks ago (June 2015). Now let’s get to the good stuff:
All older posts have been moved to archive.nahamsec.com
YIMG SSRF/XSPA and XSS:
Flickr allows users to use the IMG tag in the comments section as well as the Flickr group rules. When the picture is posted (whether it’s via comments or in the group’s info/rules) it gets processed and posted like this:
Where 5.gif is a an HTML file with a few XSS payloads (which weirdly enough gets parsed on their servers).
Seeing that I decided to play around with the processor which oddly enough was stripping off any word before :// and making it impossible for me to read local files using file://path/to/file which leads on to the next attack: Cross Site Port Attacks. The trick to this vulnerability is that you can’t simply just replace the url parameter to your designated URL and had to create new comments/rules with different targets which resulted in requesting:
as well as:
After being able to find this issue I was able to reproduce the same exact thing while inserting an image in Yahoo Groups:
2014-07-11 Marked as N/A by Yahoo!
2014-11-21 – 2015-06-03 Direct communication via Twitter in regards to the vulnerability (Big thanks to Junot)