Description
This module exploits an authentication bypass and directory traversals in Cisco UCS Director < 6.7.4.0 to leak the administrator's REST API key and execute a Cloupia script containing an arbitrary root command.
Note that the primary functionality of this module is to leverage the Cloupia script interpreter to execute code. This functionality is part of the application's intended operation and considered a "foreverday." The authentication bypass and directory traversals only get us there.
If you already have an API key, you may set it in the API_KEY option. The LEAK_FILE option may be set if you wish to leak the API key from a different absolute path, but normally this isn't advisable.
Tested on Cisco's VMware distribution of 6.7.3.0.
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 exploit/linux/http/cisco/ucs_cloupia_script_rcemsf undefined(ucs_cloupia_script_rce) > show actions ...actions...msf undefined(ucs_cloupia_script_rce) > set ACTION < action-name >msf undefined(ucs_cloupia_script_rce) > show options ...show and set options...msf undefined(ucs_cloupia_script_rce) > 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