Path Traversal in Xorcom CompletePBX Diagnostics Reporting Module
Xorcom CompletePBX contains a path traversal vulnerability in the Diagnostics reporting module. An attacker can manipulate the file path used by the reporting functionality to access files outside the intended directory scope. According to the provided content, successful exploitation allows an attacker to read arbitrary files and, additionally, causes the retrieved file to be deleted in place of the expected diagnostic report. The issue affects all CompletePBX versions up to and prior to 5.2.35.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthorized access to arbitrary files on the underlying system and can also result in deletion of those files. This creates both confidentiality and integrity/availability impact: sensitive configuration files, credentials, keys, logs, or other local data may be disclosed, and targeted files may be removed, potentially disrupting PBX operation or damaging system state.
If you can’t patch tonight, do this now.
Until a patch is applied, restrict access to the Diagnostics reporting module to trusted administrative users only, limit management interface exposure to internal networks or VPN-only access, and monitor for abnormal diagnostic report requests or unexpected file deletions. Where possible, disable or temporarily remove access to the affected diagnostics functionality. File-system permissions should also be minimized so the PBX application cannot read or delete unnecessary files.
Patch, then assume compromise.
Upgrade Xorcom CompletePBX to a fixed version later than 5.2.35 if available from the vendor. The vulnerable Diagnostics reporting module should be corrected to strictly validate and canonicalize user-supplied paths, restrict access to an allowlisted report directory, and prevent file operations on attacker-controlled paths. If vendor guidance or patches are available, apply them promptly.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.