CVE-2019-19006 CrowdStrike LogScale · LogScale

Detect Sangoma FreePBX Remote Admin Authentication Bypass (CVE-2019-19006) in CrowdStrike LogScale

CVE-2019-19006 is an improper authentication vulnerability (CWE-287) in Sangoma FreePBX that allows remote unauthenticated attackers to bypass administrative authentication controls. This vulnerability is listed on CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild. Successful exploitation grants attackers full administrative access to the FreePBX VoIP management interface, enabling call interception, configuration tampering, toll fraud, and potential lateral movement into the broader network.

MITRE ATT&CK

Tactic
Initial Access Privilege Escalation Credential Access

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#event_simpleName=NetworkReceiveAccept OR #event_simpleName=NetworkConnectIP4
| ProcessImageFileName=/freepbx|asterisk|httpd|nginx|php/i
| LocalPort IN (80, 443, 8080, 8443)
| groupBy([SourceIP, LocalPort, ProcessImageFileName], function=[count(aid, as=ConnectionCount), min(timestamp, as=FirstSeen), max(timestamp, as=LastSeen)])
| ConnectionCount >= 1
| eval CVE="CVE-2019-19006"
| eval Product="Sangoma FreePBX"
| eval Description="Potential FreePBX authentication bypass - network connection to VoIP admin process from external host"
| sort -ConnectionCount
high severity low confidence

CrowdStrike Falcon query detecting network connections to FreePBX-related processes (Asterisk, PHP, web servers) from external hosts, which may indicate reconnaissance or exploitation of CVE-2019-19006.

Data Sources

CrowdStrike Falcon network eventsProcess network activity telemetry

Required Tables

NetworkReceiveAcceptNetworkConnectIP4

False Positives & Tuning

  • Legitimate SIP trunk providers connecting to Asterisk on standard VoIP ports
  • Authorized remote administrators connecting to management interfaces
  • VoIP monitoring tools polling FreePBX processes
  • Load balancers performing health checks against web server processes

Other platforms for CVE-2019-19006


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Unauthenticated FreePBX Admin Panel Access Probe

    Expected signal: Web server access log entry showing GET /admin/config.php returning HTTP 200 with no prior authenticated session POST to login endpoint. No Set-Cookie with valid session token in prior requests.

  2. Test 2FreePBX Admin AJAX Endpoint Enumeration Without Auth

    Expected signal: Multiple HTTP GET requests to /admin/ajax.php with varying query parameters from the same source IP within a short time window. Response codes of 200 indicate the endpoints are reachable without authentication.

  3. Test 3FreePBX Unauthorized Admin Account Creation Simulation

    Expected signal: HTTP POST to /admin/config.php with user creation parameters visible in request body. If exploitation succeeds, FreePBX audit logs should show a new user account creation without a corresponding prior admin login. MySQL binary logs capture INSERT into user tables.

  4. Test 4Network Scan for Exposed FreePBX Admin Interfaces

    Expected signal: Network scan traffic visible in IDS/IPS logs and firewall flow logs. HTTP probes to /admin/ path generate web server access log entries. Port scan signatures may trigger on receiving host if endpoint detection is installed.

Unlock Pro Content

Get the full detection package for CVE-2019-19006 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections