Description
This module exploits a stack-based buffer overflow in Ultra Shareware's Office Control. When processing the 'HttpUpload' method, the arguments are concatenated together to form a command line to run a bundled version of cURL. If the command fails to run, a stack-based buffer overflow occurs when building the error message. This is due to the use of sprintf() without proper bounds checking.
NOTE: Due to input restrictions, this exploit uses a heap-spray to get the payload into memory unmodified.
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/windows/browser/ultraoffice/httpuploadmsf undefined(httpupload) > show actions ...actions...msf undefined(httpupload) > set ACTION < action-name >msf undefined(httpupload) > show options ...show and set options...msf undefined(httpupload) > 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