Threat reportVulnerabilityTL-2026-0058
Sangoma FreePBX Authentication Bypass & Command Injection - CISA KEV
Sangoma FreePBX Authentication Bypass (CVE-2019-19006) + Endpoint Manager Command Injection (CVE-2025-64328) — INJ3CTOR3 VoIP Exploitation Campaign, EncystPHP Web Shell, International Premium Rate Number (IPRN) Toll Fraud, CISA KEV Dual Entry, Asterisk PBX Monetization
Key facts
| Identifiers | TL-2026-0058, CVE-2019-19006, CVE-2025-64328, CVE-2025-57819 |
|---|---|
| Severity | CRITICAL |
| CVSS | 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| Exploitation status | Linked CVE exploited in the wild; Listed in CISA KEV: CVE-2019-19006 (added ), CVE-2025-64328 (added ) |
| EPSS | CVE-2025-64328: 84.6% (99.7th percentile); CVE-2019-19006: 55.9% (99.0th percentile) |
| Affected products | Sangoma FreePBX; Sangoma FreePBX Endpoint Manager |
| Weaknesses (CWE) | CWE-287, CWE-78, CWE-89, CWE-288 |
| Attribution | INJ3CTOR3 (medium confidence) |
| Nation-state nexus | Palestine |
| Malware | EncystPHP webshell in FreePBX web root, HTTP POST with cmd=/exec=/shell= parameters to PHP files in FreePBX admin directories, New .php file created in FreePBX web root via php file_put_contents(), PHP/EncystPHP.A!tr, BASH/EncystPHP.A!tr |
| Tools | EncystPHP 'Ask Master' web shell interface, SIPVicious (svmap module) for SIP server scanning and discovery |
| MITRE ATT&CK techniques | T1005 Data from Local System, T1016 System Network Configuration Discovery, T1021 Remote Services, T1027 Obfuscated Files or Information, T1036 Masquerading, T1036.005 Masquerading, T1037 Boot or Logon Initialization Scripts, T1040 Network Sniffing, T1041 Exfiltration Over C2 Channel, T1046 Network Service Discovery, T1053 Scheduled Task/Job, T1053.003 Scheduled Task/Job and 44 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | Telecommunications, Technology, Healthcare, Financial Services, Government, Education, Small/Medium Business |
| Target regions | Global, Middle East, South Asia, Latin America |
| Detection rules | 22 (1 shown free) |
| Sources | 11 cited sources |
Detection coverage
As of 2026-10-31, Threadlinqs Intelligence publishes 22 detection rule(s) for TL-2026-0058 across Splunk SPL, Microsoft KQL and Sigma, covering 133 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: FreePBX Command Injection via SSH Test
Detects exploitation of CVE-2025-64328 via testconnection endpoint
- Languages: Splunk SPL, Microsoft KQL
- Data sources: web, apache
- Severity: critical
- Confidence: high
Splunk SPL
index=web sourcetype=access_combined OR sourcetype=apache:access
| where match(uri_path, "(?i)testconnection")
| where match(uri_query, "(?i)(;|\||`|\$\(|%0a|%0d)")
| table _time, src_ip, uri_path, uri_query, status, user_agent
| sort -_timeMicrosoft KQL
W3CIISLog
| where csUriStem contains "testconnection"
| where csUriQuery matches regex @"[;|`]|\$\(|%0[aAdD]"
| project TimeGenerated, cIP, csUriStem, csUriQuery, scStatus, csUserAgent
| order by TimeGenerated descKnown false positives:
- None expected
Tuning notes: None needed
- FreePBX Admin Panel Unauthenticated Access — CVE-2019-19006 · unlock with TL Creds
- EncystPHP Webshell Creation in FreePBX Web Root · unlock with TL Creds
- VoIP Toll Fraud — Anomalous International Call Patterns · unlock with TL Creds
- FreePBX Command Injection — PHP File Write to Web Root · unlock with TL Creds
- SIP Trunk Registration from Webshell Context · unlock with TL Creds
- Webshell HTTP Request Pattern — EncystPHP POST with Command Parameters · unlock with TL Creds
- EncystPHP Webshell Detection — PHP with Eval and Base64 in PBX Directory · unlock with TL Creds
- FreePBX Admin Config Access Without Authentication Event · unlock with TL Creds
- Asterisk CLI Command Execution from Web Server Process · unlock with TL Creds
- FreePBX Authentication Bypass Attempt · unlock with TL Creds
- EncystPHP Web Shell Detection · unlock with TL Creds
- FreePBX Process Spawning Shell · unlock with TL Creds
- Root-Level Backdoor User Creation — EncystPHP UID 0 Account ([indicator]) · unlock with TL Creds
- Cron Job Downloading from Known EncystPHP/[indicator] C2 Infrastructure · unlock with TL Creds
- SSH Authorized Keys Modification by Web Server Process — EncystPHP Backdoor Installation · unlock with TL Creds
- SIPVicious SIP Scanner Detection on UDP Port 5060 — [indicator] Reconnaissance · unlock with TL Creds
- File Timestamp Forgery via touch -r in FreePBX Web Directory — EncystPHP Anti-Forensics · unlock with TL Creds
- High-Volume Outbound Calls to IPRN Premium Rate Country Codes — Toll Fraud Detection · unlock with TL Creds
- FreePBX Authentication Bypass via Array Parameter — CVE-2019-19006 Exploitation · unlock with TL Creds
- Shell Command Execution by Asterisk User Following Web Request — CVE-2025-64328 Command Injection · unlock with TL Creds
- EncystPHP Web Shell File Creation in FreePBX Directories — ajax.php Masquerade · unlock with TL Creds
Indicators of compromise
As of 2026-10-31, Threadlinqs Intelligence tracks 133 indicators of compromise for TL-2026-0058.
Sample indicators (3 of 133)
- IP address:
45.234.176[.]202 - Domain:
crm[.]razatelefonia[.]pro - File hash:
71d94479d58c32d5618ca1e2329d8fa62f930e0612eb108ba3298441c6ba0302
Defanged, TLP:CLEAR. Full set of 133 indicators: unlock with TL Creds.
Technical analysis
Dual-CVE critical vulnerability chain in Sangoma FreePBX/Asterisk PBX systems, both in CISA's Known Exploited Vulnerabilities catalog. CVE-2019-19006 (CVSS 9.8) is an authentication bypass in FreePBX Framework where sending the password parameter as an array element (password[0]) causes the authentication function to fail before unsetting the session, granting admin access without valid credentials. CVE-2025-64328 (CWE-78, CVSS 8.6) is a post-authentication command injection in FreePBX Endpoint Manager v17.0.2.36-17.0.3 via the testconnection → check_ssh_connect() function, allowing authenticated users to execute arbitrary shell commands as the asterisk user. These vulnerabilities are chained by the INJ3CTOR3 threat actor group (active since 2020, Gaza/West Bank/Egypt nexus): CVE-2019-19006 provides unauthenticated admin access, then CVE-2025-64328 or the asterisk-cli module provides command execution for deploying web shells. The latest campaign (Dec 2025-present) deploys 'EncystPHP' — a sophisticated PHP web shell discovered by FortiGuard Labs that masquerades as legitimate FreePBX files (ajax.php), features multi-layer persistence via cron jobs + SSH key injection + multiple web shell copies, deletes competing web shells, creates root-level backdoor users, and exposes an 'Ask Master' command panel for arbitrary execution and PBX call control. The business model: compromise PBX → make calls to International Premium Rate Numbers (IPRN) → generate revenue per minute. Asterisk is the world's most popular VoIP PBX system used by Fortune 500 companies. CISA deadlines: CVE-2019-19006 due Feb 24, 2026; CVE-2025-64328 due Feb 24, 2026.
MITRE ATT&CK techniques by tactic:
collection
T1005 Data from Local System; T1213 Data from Information Repositories
discovery
T1016 System Network Configuration Discovery; T1046 Network Service Discovery; T1082 System Information Discovery; T1083 File and Directory Discovery; T1087 Account Discovery
lateral-movement
T1021 Remote Services; T1210 Exploitation of Remote Services
defense-evasion
T1027 Obfuscated Files or Information; T1036 Masquerading; T1036.005 Masquerading; T1070 Indicator Removal; T1070.004 Indicator Removal; T1070.006 Indicator Removal; T1078 Valid Accounts; T1140 Deobfuscate/Decode Files or Information; T1222.002 File and Directory Permissions Modification; T1564 Hide Artifacts; T1564.001 Hide Artifacts
persistence
T1037 Boot or Logon Initialization Scripts; T1053.003 Scheduled Task/Job; T1098 Account Manipulation; T1098.004 Account Manipulation; T1136 Create Account; T1136.001 Create Account; T1505 Server Software Component; T1505.003 Server Software Component; T1546.004 Event Triggered Execution
credential-access
T1040 Network Sniffing; T1110 Brute Force; T1552 Unsecured Credentials; T1552.001 Unsecured Credentials; T1555 Credentials from Password Stores
exfiltration
T1041 Exfiltration Over C2 Channel; T1567 Exfiltration Over Web Service
execution
T1053 Scheduled Task/Job; T1059 Command and Scripting Interpreter; T1059.004 Command and Scripting Interpreter; T1203 Exploitation for Client Execution
privilege-escalation
T1068 Exploitation for Privilege Escalation
command-and-control
T1071 Application Layer Protocol; T1071.001 Application Layer Protocol; T1090 Proxy; T1102 Web Service; T1105 Ingress Tool Transfer
initial-access
T1190 Exploit Public-Facing Application
impact
T1496 Resource Hijacking; T1657 Financial Theft
stealth
resource-development
T1583 Acquire Infrastructure; T1587 Develop Capabilities; T1588 Obtain Capabilities
reconnaissance
T1595 Active Scanning; T1595.002 Active Scanning
defense-impairment
Remediation
Patches
- [object Object]
Immediate actions
- Update FreePBX to the latest patched version immediately
- Apply vendor security fixes per CISA guidance
- If patches unavailable, consider disabling the Endpoint Manager module
- Restrict admin interface access to trusted IPs only
Workarounds
- Disable Endpoint Manager module
- Restrict admin interface to trusted IPs only
Longer-term hardening
- Monitor for web shell artifacts on FreePBX servers
- Implement web application firewall (WAF) rules
- Regular security audits of VoIP infrastructure
Affected and fixed versions
- Sangoma — FreePBX
Vulnerable versions: All versions prior to patch
Fixed in: Patched versions - Sangoma — FreePBX Endpoint Manager
Vulnerable versions: All versions prior to patch
Fixed in: Patched versions
Timeline
Last updated · 3 updates · revalidated 3× · latest source
Showing the 20 most recent tracked events.
- Vulnerability introduced in FreePBX Endpoint Manager around March 2025. Command injection in filestore module testconnection → check_ssh_connect() function. Source: https://github.com/FreePBX/security-reporting/security/advisories/GHSA-vm9p-46mv-5xvw
- CVE-2025-64328 vulnerability introduced in FreePBX Endpoint Manager around March 2025 in the filestore module's check_ssh_connect() function. Source: https://github.com/FreePBX/security-reporting/security/advisories/GHSA-vm9p-46mv-5xvw
- Earliest observed exploitation of CVE-2025-57819 (FreePBX Endpoint module pre-auth SQL injection leading to RCE via the cron_jobs table); later reported as a probable entry vector for the INJ3CTOR3 campaign.
- Sangoma publishes its advisory and CISA adds CVE-2025-57819 to the KEV catalog; fixes in FreePBX 15.0.66, 16.0.89 and 17.0.3.
- GHSA-vm9p-46mv-5xvw published — Authenticated Command Injection in FreePBX Administration GUI. CVE-2025-64328 assigned. Fixed in Endpoint Manager 17.0.3. Source: https://github.com/FreePBX/security-reporting/security/advisories/GHSA-vm9p-46mv-5xvw
- GitHub Security Advisory GHSA-vm9p-46mv-5xvw published for CVE-2025-64328 — authenticated command injection in FreePBX Administration GUI via filestore SSH testconnection. CVSS 8.6. Fixed in Endpoint Manager 17.0.3. Source: https://github.com/FreePBX/security-reporting/security/advisories/GHSA-vm9p-46mv-5xvw
- FortiGuard Labs observes first EncystPHP incidents — exploitation of CVE-2025-64328 to deploy sophisticated PHP web shell. Attack originates from Brazil, targets Indian IT company. Source: https://www.fortinet.com/blog/threat-research/unveiling-the-weaponized-web-shell-encystphp
- FortiGuard Labs observes EncystPHP web shell deployment incidents exploiting CVE-2025-64328. Attacks originate from Brazil (locked-ioc-45 / locked-ioc-42) targeting an Indian technology company managing cloud and communication infrastructure. Source: https://www.fortinet.com/blog/threat-research/unveiling-the-weaponized-web-shell-encystphp
- Fortinet publishes comprehensive EncystPHP analysis documenting: 4-stage persistence, 12+ web shell deployment paths, root user creation, SSH key injection, anti-forensics capabilities, and link to INJ3CTOR3 group. Source: https://www.fortinet.com/blog/threat-research/unveiling-the-weaponized-web-shell-encystphp
- CISA adds BOTH CVE-2019-19006 and CVE-2025-64328 to KEV catalog on the same day. Federal remediation deadline: February 24, 2026. Confirms active exploitation of both vulnerabilities. Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- CISA adds CVE-2025-64328 to Known Exploited Vulnerabilities catalog. Remediation deadline: 2026-02-24. Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-64328
- FortiGuard Labs publishes comprehensive EncystPHP analysis — web shell features, persistence mechanisms, IOCs. Links campaign to INJ3CTOR3 group. IPS signature released: 59448. Source: https://www.fortinet.com/blog/threat-research/unveiling-the-weaponized-web-shell-encystphp
- JOMANGY variant first seen on VirusTotal; staging host locked-ioc-52 reported operational since April 2026.
- Alternate locked-ioc-54 dropper variant retrieved from VirusTotal.
- JOMANGY webshell first observed in the wild (ANY.RUN first-seen date).
- Cyble CRIL reports the previously undocumented JOMANGY webshell (with ZenharR), six-layer self-healing persistence, 18 backdoor accounts (9 UID-0) and an inventory of 3,080 compromised IPs (~39% on Alibaba Cloud), used by INJ3CTOR3 for SIP trunk toll fraud.
- As of 2026-05-29, this is still active: though CVE-2025-64328 was patched in FreePBX 17.0.3 and both CVEs sit in CISA KEV (deadline 2026-02-24), INJ3CTOR3 is still operating and self-healing EncystPHP/JOMANGY web shells persist. Cyble/Cryptika report 700+ of the 900+ compromised systems still infected in May 2026, with toll-fraud ongoing.
- Artifacts from operator staging servers analyzed: /x script grown from 367 to 620 lines, locked-ioc-54 exfiltrating SIP trunk, AMI, database and mail-relay credentials from 17 file types, webshell watermarks rotated and gate script hash changed (Cyble CRIL, via The Cyber Express).
- C2 hosts locked-ioc-53 and locked-ioc-52 stop responding (late September 2026; exact day not stated). Infected hosts and stolen credentials remain at risk.
- GBHackers (summarizing Cyble) reports locked-ioc-54 exfiltrating 17 config files (SIP/PJSIP, manager.conf, DB and Postfix SMTP credentials) to /hima_data/index.php on locked-ioc-52 and collector locked-ioc-53; .htaccess log evasion and forged ampuser/setAdmin() sessions let fraudulent calling persist after cleanup (September 2026 artifacts).
Update history
- 2026-10-31 — INJ3CTOR3 JOMANGY Webshell Steals FreePBX Credentials, Enabling Toll Fraud After Cleanup (CVE-2019-19006, CVE-2025-57819): What changed No severity, exploitability or status change. The record already covers the credential-collector update and the 2026-10-29 reporting. New indicators (5) Indicator values are withheld at this access level.
- 2026-10-29 — INJ3CTOR3 Malware Steals FreePBX Credentials to Enable Fraudulent Calls Even After Server Cleanup: What changed No whitelisted field escalation: severity (CRITICAL), exploitability (ACTIVE) and status (ACTIVE) already meet or exceed the newer report's values; the report's lower severity (HIGH) is not applied.
- 2026-10-28 — INJ3CTOR3 FreePBX Campaign: JOMANGY Webshell, Six-Layer Self-Healing Persistence and SIP Trunk Toll Fraud (CVE-2025-64328, CVE-2025-57819): What changed No severity, exploitability or status change: the record is already CRITICAL / ACTIVE and the new report is HIGH / ACTIVE.
Sources cited
- NVD: CVE-2025-64328 NVD (NIST) · Advisory · 2025-12-10
- NVD: CVE-2019-19006 NVD (NIST) · Advisory · 2019-11-21
- GitHub Advisory: GHSA-vm9p-46mv-5xvw GitHub · Advisory · 2025-11-20
- CISA KEV: CVE-2025-64328 CISA · Government advisory · 2026-02-03
- CISA KEV: CVE-2019-19006 CISA · Government advisory · 2021-11-03
- CISA KEV Catalog — CVE-2019-19006 + CVE-2025-64328 CISA · Government advisory · 2026-02-03
- FreePBX Security Blog freepbx.org · Vendor report · 2025-11-20
- FreePBX Community Advisory: SEC-2019-001 community.freepbx.org · Vendor report · 2019-11-20
- Fortinet: Unveiling the Weaponized Web Shell EncystPHP Fortinet · Blog · 2026-01-15
- Check Point Research: INJ3CTOR3 Operation Check Point Research · Blog · 2020-11-05
- FreePBX Vulnerable Source Code GitHub · Other · 2025-03-01
More from INJ3CTOR3
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 11 sources; published ; last updated .