Rapid7 Vulnerability & Exploit Database

Apache Reverse Proxy Bypass Vulnerability Scanner

Back to Search

Apache Reverse Proxy Bypass Vulnerability Scanner

Created
05/30/2018

Description

Scan for poorly configured reverse proxy servers. By default, this module attempts to force the server to make a request with an invalid domain name. Then, if the bypass is successful, the server will look it up and of course fail, then responding with a status code 502. A baseline status code is always established and if that baseline matches your test status code, the injection attempt does not occur. "set VERBOSE true" if you are paranoid and want to catch potential false negatives. Works best against Apache and mod_rewrite

Author(s)

  • chao-mu

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/http/rewrite_proxy_bypass
msf auxiliary(rewrite_proxy_bypass) > show actions
    ...actions...
msf auxiliary(rewrite_proxy_bypass) > set ACTION < action-name >
msf auxiliary(rewrite_proxy_bypass) > show options
    ...show and set options...
msf auxiliary(rewrite_proxy_bypass) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;