CVE-2019-19006 Elastic Security · Elastic

Detect Sangoma FreePBX Remote Admin Authentication Bypass (CVE-2019-19006) in Elastic Security

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

Elastic Detection Query

Elastic Security (Elastic)
eql
sequence by source.ip with maxspan=10m
  [network where event.category == "network" and
   url.path : ("/admin/config.php", "/admin/ajax.php", "/admin/page.php", "/admin/modules/*") and
   http.response.status_code in (200, 302) and
   not source.ip : ("10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16")]
  [network where event.category == "network" and
   url.path : ("/admin/*") and
   http.response.status_code == 200 and
   http.request.method in ("POST", "GET")]
critical severity medium confidence

EQL sequence detection identifying external IP addresses that successfully reach FreePBX admin endpoints followed by additional admin interactions, indicative of authentication bypass exploitation.

Data Sources

Elastic APMFilebeat HTTP logsPacketbeat network data

Required Tables

logs-network.*filebeat-*packetbeat-*

False Positives & Tuning

  • VPN egress IPs used by legitimate remote administrators
  • Cloud-hosted management platforms with non-RFC1918 source addresses
  • CDN or reverse proxy infrastructure forwarding admin traffic
  • Penetration testing activities from authorized external IP ranges

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