Description
Jetty suffers from a vulnerability where certain encoded URIs and ambiguous paths can access protected files in the WEB-INF folder. Versions effected are: 9.4.37.v20210219, 9.4.38.v20210224 and 9.4.37-9.4.42, 10.0.1-10.0.5, 11.0.1-11.0.5. Exploitation can obtain any file in the WEB-INF folder, but web.xml is most likely to have information of value.
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/gather/jetty_web_inf_disclosuremsf undefined(jetty_web_inf_disclosure) > show actions ...actions...msf undefined(jetty_web_inf_disclosure) > set ACTION < action-name >msf undefined(jetty_web_inf_disclosure) > show options ...show and set options...msf undefined(jetty_web_inf_disclosure) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub