/admin/config.php Web access log Triage: medium Known exploited (CISA KEV)

GET /admin/config.php in Your Logs: Scanning for FreePBX (CVE-2025-57819)

Published

An automated check for a FreePBX administration panel on this host. FreePBX's admin interface lives under /admin/, and its endpoint module was exploited without authentication (CVE-2025-57819) from August 2025, so finding one is worth a scanner's request.

What it looks like

203.0.113.24 - - [21/Nov/2026:07:12:09 +0000] "GET /admin/config.php HTTP/1.1" 404 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
198.51.100.61 - - [21/Nov/2026:09:40:31 +0000] "GET /admin/config.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0 Safari/537.36"
192.0.2.17 - - [19/Nov/2026:02:05:44 +0000] "GET /admin/ajax.php?module=FreePBX%5Cmodules%5Cendpoint%5Cajax&command=model&template=x&model=model&brand=x HTTP/1.1" 404 162 "-" "-"

On our own server, the 30 days to 23 November 2026

217

requests · about 7.2 a day

38

source addresses

Most requested variantsRequests
/admin/config.php216
/admin/ajax.php1

LogTriage's production API server (Hetzner, Germany): port 22 open to the internet, key-only since 6 October 2026 (password and keyboard-interactive authentication off); nginx in front of the API on ports 80 and 443. Paths as requested, query strings dropped and identifiers redacted; counted weekly from the nginx access log. More in the monthly attack report; which free blocklists already list these attackers is measured in the IP blocklist report, and you can check the addresses in your own log.

The vulnerability it targets

CVE-2025-57819 CVSS 3.1 9.8 critical CISA KEV since August 29, 2025

Sangoma · FreePBX — Sangoma FreePBX Authentication Bypass Vulnerability

FreePBX is an open-source web-based graphical user interface. FreePBX 15, 16, and 17 endpoints are vulnerable due to insufficiently sanitized user-supplied data allowing unauthenticated access to FreePBX Administrator leading to arbitrary database manipulation and remote code execution. This issue has been patched in endpoint versions 15.0.66, 16.0.89, and 17.0.3.

NVD description, quoted verbatim · published August 28, 2025

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Sources: NVD and CISA's Known Exploited Vulnerabilities catalog, re-checked weekly.

What the request is

FreePBX is an open-source web interface for managing Asterisk telephone systems. Its Administrator Control Panel is served from /admin/: the panel’s pages go through /admin/config.php and its background requests through /admin/ajax.php, which is also where watchTowr’s published detection script sends its exploit and its login check. One GET for /admin/config.php therefore tells a scanner whether a FreePBX panel answers on the host, without needing credentials.

On our own server, which runs no PHP at all, the counts above show what that looks like: a couple of hundred requests in 30 days from a few dozen addresses, nearly all for /admin/config.php, plus a request for /admin/ajax.php.

The reason these requests are worth a scanner’s time is CVE-2025-57819. According to FreePBX’s advisory, starting on or before August 21st, 2025, an unauthorized user began accessing FreePBX 16 and 17 systems that were connected directly to the internet with inadequate IP filtering, by exploiting a validation error in the commercial endpoint module, and chained it to root-level access. The NVD text above has the details: unauthenticated access to the administrator, arbitrary database manipulation and remote code execution. CISA added it to its Known Exploited Vulnerabilities catalog the day after it was published.

watchTowr’s script shows the shape of the attack request: a GET to /admin/ajax.php with module=FreePBX\modules\endpoint\ajax, command=model and SQL injected into the brand parameter, which it uses to add a scheduled job or an administrator user. The third example line above is that request with the injection removed.

Who sends it

Internet-wide scanners that keep lists of where each product answers, and exploitation tools that follow a known-exploited vulnerability across the address space. Nothing about receiving these requests means your organisation was chosen: the same sweep reaches every address.

The user agent is no help in telling them apart. Some copy a browser string, some name a scanning framework, and the exploit itself can send none. The shape of the traffic is more telling: a request for /admin/config.php with no Referer, no follow-up requests for the panel’s scripts and images, and, from the exploiting tools, /admin/ajax.php with the endpoint module’s parameters.

Is your server exposed?

Start with what your web server already logged, then ask the host itself:

# Every /admin/config.php and /admin/ajax.php request, with the status it received
LOG=/var/log/nginx/access.log   # FreePBX's own Apache: /var/log/httpd/access_log or /var/log/apache2/access.log
grep -E '"[A-Z]+ /admin/(config|ajax)\.php' "$LOG" | awk '{print $9, $7}' | sort | uniq -c | sort -rn | head

# The exploit's request: the endpoint module through ajax.php
grep -F 'endpoint' "$LOG" | grep -F '/admin/ajax.php'

# Does anything answer locally? A 200 or a login page means a panel is reachable
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1/admin/config.php

If you run FreePBX, check the version the advisory names and its indicators of compromise:

fwconsole ma list | grep endpoint          # fixed: 15.0.66, 16.0.89, 17.0.3
ls -la /etc/freepbx.conf /var/www/html/.clean.sh
grep -F 'modular.php' "$LOG" | grep -F '"POST'
mysql asterisk -e 'SELECT username FROM ampusers'   # every user should be one you created

An internet-facing FreePBX on an older endpoint module, or any of those indicators, is a compromise to investigate, not just a patch to apply: the advisory’s indicators include files and administrator users, and an update removes neither.

How to block it

If you do not run FreePBX, and nothing of yours lives at these two paths, make the 404 cheap and quiet in every server block:

# Not our software: answer 404 without touching the backend or the log
location ~ ^/admin/(?:config|ajax)\.php$ {
    access_log off;
    log_not_found off;
    return 404;
}

If you do, follow the advisory’s advice and keep the administrator interface off the internet. Behind nginx, allow only your management network or VPN:

location ^~ /admin/ {
    allow 10.0.0.0/8;
    allow 192.0.2.0/24;      # VPN egress
    deny all;
    proxy_pass http://127.0.0.1:8080;
    proxy_set_header Host $host;
}

Restricting /admin/config.php alone is not enough, because the exploit goes to /admin/ajax.php; the whole /admin/ path has to be limited, and the endpoint module updated. Blocking the scanning addresses is not worth the effort: the sources rotate constantly and the sweep is aimed at address ranges, not at you. Other products scanned the same way are in the web probe reference.

Probes that arrive with it

Detect it

MITRE ATT&CK: T1595.002T1190

Frequently Asked Questions

We do not run FreePBX and every /admin/config.php request got a 404. Is there anything to do?
Nothing was served, so there is no incident. These are untargeted checks for a FreePBX panel that sweep whole address ranges. It is still worth confirming that no virtual host, reverse-proxy rule or forgotten container forwards /admin/ to something, and alerting on any answer to these paths other than 404 or 403 rather than on the requests themselves.
Is every request for /admin/config.php aimed at FreePBX?
No. The path is short and generic, so other PHP applications can have a file with that name, and some scanners request it while sweeping many products. What makes it a FreePBX check is the pair with /admin/ajax.php and its module, command and brand parameters, which is the request the published CVE-2025-57819 exploit sends.
How do I tell whether a FreePBX server was compromised through CVE-2025-57819?
FreePBX's own advisory lists the indicators: /etc/freepbx.conf recently modified or missing, a file /var/www/html/.clean.sh, POST requests to modular.php in the web server log, calls to extension 9998 in the call records, and unknown users in the ampusers table. Any one of them on an internet-facing server is a reason to treat it as compromised, not just unpatched.
Which versions fix CVE-2025-57819?
The fix is in FreePBX's commercial endpoint module, at versions 15.0.66, 16.0.89 and 17.0.3 for FreePBX 15, 16 and 17. The advisory's commands are fwconsole ma upgradeall to update all modules and fwconsole ma list | grep endpoint to read the installed endpoint version.
Does blocking /admin/config.php stop the exploit?
No. The published exploit goes to /admin/ajax.php, and other administration pages live under /admin/ too. The vendor's own advice is to lock down administrator access as a whole, so restrict the entire /admin/ path to trusted addresses and patch the endpoint module.

See what else is probing your server

Drop an nginx or Apache access log into the free browser analyzer: secret-file sweeps, exploit probes, scanners and credential stuffing are grouped by source with the evidence lines, and every known probe links back here. Nothing is uploaded.

Investigating something right now? LogTriage checks every address in the file against threat intelligence and writes the incident report: 10 analyses a month free. The incident pack adds the in-depth AI analysis and files up to 100 MB: 25 analyses for $19, one payment, no subscription. Pricing

How this page was made. The official definitions, field names and examples on it are copied by script from the sources it links and re-checked against them on every build. The counts come from the logs of our own internet-facing server, refreshed weekly. The investigation advice was drafted with AI from those sources and passed a separate review before publishing. What is checked, and how · found a mistake? [email protected]