Detect Sangoma FreePBX Remote Admin Authentication Bypass (CVE-2019-19006) in IBM QRadar
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
QRadar Detection Query
SELECT
sourceip,
destinationip,
URL,
"HTTP Response Code" AS response_code,
"User Agent" AS user_agent,
DATEFORMAT(starttime, 'yyyy-MM-dd HH:mm:ss') AS event_time,
COUNT(*) AS request_count
FROM events
WHERE
LOGSOURCETYPENAME(devicetype) IN ('Apache HTTP Server', 'Microsoft IIS', 'Nginx')
AND (
URL ILIKE '%/admin/config.php%'
OR URL ILIKE '%/admin/ajax.php%'
OR URL ILIKE '%/admin/page.php%'
OR URL ILIKE '%/admin/modules/%'
)
AND "HTTP Response Code" IN ('200', '302')
AND LAST 24 HOURS
GROUP BY sourceip, destinationip, URL, response_code, user_agent, DATEFORMAT(starttime, 'yyyy-MM-dd HH:mm:ss')
ORDER BY request_count DESC QRadar AQL query detecting successful HTTP access to FreePBX admin paths, aggregated by source IP to surface authentication bypass attempts leveraging CVE-2019-19006.
Data Sources
Required Tables
False Positives & Tuning
- Authorized administrator access from expected IP ranges
- Automated backup or configuration tools accessing admin APIs
- Network monitoring tools configured to poll FreePBX endpoints
- Scheduled tasks or scripts running against the admin interface
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.
- 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.
- 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.
- 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.
- 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.