Description
This module exploits an authenticated command injection vulnerability in Xorcom CompletePBX versions <= 5.2.35. The issue resides in the task scheduler functionality, where user-controlled input is improperly sanitized, allowing arbitrary command execution with web server privileges.
Only the superadmin user (admin) has the necessary permissions to trigger this exploit. Even when creating a new user with maximum privileges, the vulnerability does not work.
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/xorcom/completepbx_schedulermsf undefined(completepbx_scheduler) > show actions ...actions...msf undefined(completepbx_scheduler) > set ACTION < action-name >msf undefined(completepbx_scheduler) > show options ...show and set options...msf undefined(completepbx_scheduler) > 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