Description
This exploit finds the HMAC secret key used in Java serialization by Apache Tapestry. This key is located in the file AppModule.class by default and looks like the standard representation of UUID in hex digits (hd) : 6hd-4hd-4hd-4hd-12hd If the HMAC key has been changed to look differently, this module won't find the key because it tries to download the file and then uses a specific regex to find the key.
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/cve/2021_27850_apache_tapestry_hmac_keymsf undefined(2021_27850_apache_tapestry_hmac_key) > show actions ...actions...msf undefined(2021_27850_apache_tapestry_hmac_key) > set ACTION < action-name >msf undefined(2021_27850_apache_tapestry_hmac_key) > show options ...show and set options...msf undefined(2021_27850_apache_tapestry_hmac_key) > 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