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.
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
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