Description
Froxlor v2.0.7 and below suffer from a bug that allows authenticated users to change the application logs path to any directory on the OS level which the user www-data can write without restrictions from the backend which leads to writing a malicious Twig template that the application will render. That will lead to achieving a remote command execution under the user www-data.
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/froxlor_log_path_rcemsf undefined(froxlor_log_path_rce) > show actions ...actions...msf undefined(froxlor_log_path_rce) > set ACTION < action-name >msf undefined(froxlor_log_path_rce) > show options ...show and set options...msf undefined(froxlor_log_path_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