Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Nginx Source Code Disclosure/Download

Disclosed
N/A
Created
May 30, 2018

Description

This module exploits a source code disclosure/download vulnerability in
versions 0.7 and 0.8 of the nginx web server. Versions 0.7.66 and 0.8.40
correct this vulnerability.

Author

Tiago Ferreira [email protected]

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/nginx_source_disclosure
msf auxiliary(nginx_source_disclosure) > show actions
...actions...
msf auxiliary(nginx_source_disclosure) > set ACTION < action-name >
msf auxiliary(nginx_source_disclosure) > show options
...show and set options...
msf auxiliary(nginx_source_disclosure) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.