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.
Exploit database
Vulnerability
CVE-2025-30004
Xorcom CompletePBX <= 5.2.35 Task Scheduler Authenticated Command Injection
Vulnerability details
- Score
- 8.8
- Severity
- high
CVSS 3.1 · VulnCheck
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDescription
Xorcom CompletePBX is vulnerable to command injection in the administrator Task Scheduler functionality, allowing for attackers to execute arbitrary commands as the root user. This issue affects CompletePBX: all versions up to and prior to 5.2.35
CVE ProgramExploit source choices
1 sourceXorcom CompletePBX Authenticated Command Injection via Task Scheduler
2025-03-02xorcom_completepbx_scheduler.rb