PoC Monitor
← All CVEs
CVE-2025-57819published 28 Aug 2025 16:45 UTCData: JSON · API

FreePBX endpoint

FreePBX Affected by Authentication Bypass Leading to SQL Injection and RCE

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.

First public PoC 6 h beforebefore publication · 28 Aug 2025
Public PoCs3027 on GitHub · 3 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS10.0critical · scored by CNA · CWE-89
CISA KEV 29 Aug 20251 day after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

FreePBX endpoint
  • < 15.0.66
  • < 16.0.89
  • < 17.0.3

Fixed in 15.0.66, 16.0.89, 17.0.3

Mitigation

Upgrade endpoint to 15.0.66 or 16.0.89 or 17.0.3 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8First public PoC28 Aug 2025 · t−6hCVE published28 Aug 2025 · t = 0Added to CISA KEV29 Aug 2025 · t+1d

First public PoC 6 h before publication; added to CISA KEV 1 day after publication. First PoC: rxerium/CVE-2025-57819 (created 28 Aug 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

27 PoCs · 4 pending · 3 informational · 1 not a PoC · 1 suspicious or fake

PoCs 27
RepositoryCreatedStarsAssessment
rxerium/CVE-2025-57819 28 Aug 2025 −6 h 1 PoC
cybertechajju/cve-2025-57819 30 Aug 2025 +2.1 d 6 PoC
blueisbeautiful/CVE-2025-57819 1 Sep 2025 +4 d 7 PoC
brokendreamsclub/CVE-2025-57819 1 Sep 2025 +4 d 7 PoC
ImBIOS/lab-cve-2025-57819 4 Sep 2025 +6.4 d 1 PoC
watchtowrlabs/watchTowr-vs-FreePBX-CVE-2025-57819 8 Sep 2025 +11 d 30 PoC
MuhammadWaseem29/SQL-Injection-and-RCE_CVE-2025-57819 12 Sep 2025 +15 d 8 PoC
xV4nd3Rx/CVE-2025-57819_FreePBX-PoC 14 Sep 2025 +17 d 1 PoC
orange0Mint/CVE-2025-57819_FreePBX 18 Sep 2025 +21 d 2 PoC
b4sh2/CVE-2025-57819-poc 6 Jun 2026 +282 d 7 PoC
0xEhab/FreePBX-CVE-2025-57819-RCE 6 Jun 2026 +282 d 19 PoC
Jeanback1/CVE-2025-57819-exploit 7 Jun 2026 +282 d 2 PoC
jf-gondim/freepbx-endpoint-sqli-rce 7 Jun 2026 +283 d 0 PoC
YuvrajSHAD/FreePBX-CVE-2025-57819 8 Jun 2026 +284 d 1 PoC
0xyngtg/FreePBX-CVE-2025-57819-CVE-2025-61678 12 Jun 2026 +288 d 1 PoC
ozcanpng/CVE-2025-57819-FreePBX-RCE2Root 18 Jun 2026 +294 d 2 PoC
HexBytee/FreePBX-SQLi-RCE 24 Jun 2026 +300 d 1 PoC
JazzTheRabbit/FreePBX-SQLi-RCE 24 Jun 2026 +300 d 1 PoC
RokuSec/FreePBX-SQLi-RCE 24 Jun 2026 +300 d 1 PoC
TheScriptKiddoz/FreePBX-SQLi-RCE 24 Jun 2026 +300 d 1 PoC
Its1Zero/cve-2025-57819-exploit 1 Jul 2026 +307 d 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Neobee714/CVE-2025-57819-POC 20 Jul 2026 +326 d 0 PoC
TeteREN/CVE-2025-57819-RCE 1 Aug 2026 +338 d 0 PoC
r3vpwnx/CVE-2025-57819 6 Sep 2026 +1.0 y 0 PoC
shivammittal2403/cve-2025-57819-freepbx-range 17 Sep 2026 +1.1 y 0 PoC
kelltich-756/FreePBX-Breaker 5 Oct 2026 +1.1 y 0 PoC
Wayang1337/CVE-2025-57819 11 Oct 2026 +1.1 y 0 PoC
Pending 4
RepositoryCreatedFound by usStarsAssessment
Amoru-Bek/FreePBX-CVE-2025-057819-Remote-Code-Execution 17 Nov 2026 +1.2 y 18 Nov 2026 0 Pending · listed by PoC Index; via PoC Index
alinaclark672377250/SQL-Injection-and-RCE_CVE-2025-57819 18 Nov 2026 +1.2 y 18 Nov 2026 0 Pending
B1ack4sh/Blackash-CVE-2025-57819 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
net-hex/CVE-2025-57819 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
Informational 3
RepositoryCreatedStarsAssessment
Sucuri-Labs/CVE-2025-57819-ioc-check 29 Aug 2025 +19 h 0 Informational · detection
Jeanback1/exploit-vault 20 Jul 2026 +326 d 0 Informational · list
foxcornlab/freepbx-rce-detector 8 Oct 2026 +1.1 y 0 Informational · detection
Not a PoC 1
RepositoryCreatedStarsAssessment
jasonbernier/CVE-2025-5781 11 Aug 2026 +348 d 0 Not a PoC · unrelated
Suspicious or fake 1
RepositoryCreatedStarsAssessment
donggle0802/cve-2025-57819 23 Sep 2026 +1.1 y 0 Suspicious · score 50
Why suspicious
  • README asks to download a release/binary/archive
  • owner account created less than 30 days before the repo

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
Exploit-DBFreePBX 17.0.2 - Remote Code Execution (RCE)3 Sep 202614 Nov 2026
MetasploitMetasploit exploit: FreePBX ajax.php unauthenticated SQLi to RCE (exploit/unix/http/freepbx_unauth_sqli_to_rce)21 Sep 202514 Nov 2026
nuclei templatenuclei template: FreePBX - Remote Code Execution11 Sep 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 27 PoC repos

POST /admin/ajax.php

Query
module=endpoint command=upload_cust_fw module=userman command=checkPasswordReminder
Key headers
Referer: {var}/admin/config.php?display=epm_advanced Referer: {var}/admin/config.php X-Requested-With: XMLHttpRequest
Body markers
name="dzuuid" name="dzchunkindex" name="dztotalfilesize" name="dzchunksize" name="dztotalchunkcount" name="dzchunkbyteoffset" name="# traversal out of /tftpboot/customfw/ into the web root; new dir so mkdir() succeeds "fwbrand"" name="fwmodel" name="fwversion" name="file" module=core command=backup backup_id=' OR 1=1-- - username=watchTowr password= loginpanel=admin in multipart/form-data
Seen in
5 repos: 0xEhab/FreePBX-CVE-2025-57819-RCE, Jeanback1/CVE-2025-57819-exploit, TeteREN/CVE-2025-57819-RCE, cybertechajju/cve-2025-57819, watchtowrlabs/watchTowr-vs-FreePBX-CVE-2025-57819
Evidence
0xEhab/FreePBX-CVE-2025-57819-RCE/exploit.py:144 Jeanback1/CVE-2025-57819-exploit/cve_2025_57819_aio.py:286 TeteREN/CVE-2025-57819-RCE/CVE-2025-57819_PoC.py:144 cybertechajju/cve-2025-57819/cve-2025-57829.yaml:54 watchtowrlabs/watchTowr-vs-FreePBX-CVE-2025-57819/watchTowr-vs-FreePBX-CVE-2025-57819.py:77

GET /admin/config.php#

Seen in
1 repo: rxerium/CVE-2025-57819
Evidence
rxerium/CVE-2025-57819/template.yaml:19

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /admin/ajax.php
(?i)^/admin/ajax\.php\?(?:.*&)?module=FreePBX\\modules\\endpoint\\ajax.*command=model.*template=x.*model=model.*brand=.*brand=x';.*cmd=echo.*template=.*model=.*brand=x' AND EXTRACTVALUE\(1,CONCAT\('~USER:',\(SELECT USER\(\)\),'~'\)\) --.*module=endpoint.*brand=Cisco.*module=.*command=.*brand=Cisco\)
POST /admin/config.php
(?i)^/admin/config\.php(?:[?#].*)?$
POST /admin/ajax.php
(?i)^/admin/ajax\.php\?(?:.*&)?module=endpoint.*command=upload_cust_fw.*module=userman.*command=checkPasswordReminder
GET /admin/config.php
(?i)^/admin/config\.php(?:[?#].*)?$
GET /{var}
(?i)^/[^/?#]*\?(?:.*&)?cmd=echo.*cmd=id\).*cmd=id.*cmd=

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /admin/ajax.php
alert http any any -> $HOME_NET [443,8080,8082] (msg:"GG PoC-Monitor CVE-2025-57819 FreePBX endpoint exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/ajax.php"; http.uri; content:"module=FreePBX|5c|modules|5c|endpoint|5c|ajax"; http.uri; content:"command=model"; http.uri; content:"template=x"; http.uri; content:"model=model"; http.uri; content:"brand="; http.uri; content:"brand=x'|3b|"; http.uri; content:"cmd=echo"; http.uri; content:"template="; http.uri; content:"model="; http.uri; content:"brand=x' AND EXTRACTVALUE(1,CONCAT('~USER:',(SELECT USER()),'~')) --"; http.uri; content:"module=endpoint"; http.uri; content:"brand=Cisco"; http.uri; content:"module="; http.uri; content:"command="; http.uri; content:"brand=Cisco)"; reference:url,poc.griffinguard.io/cve/CVE-2025-57819; classtype:web-application-attack; sid:9707815; rev:1;)
POST /admin/config.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-57819 FreePBX endpoint exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/config.php"; http.request_body; content:"username="; http.request_body; content:"password="; http.request_body; content:"username=pbx_"; reference:url,poc.griffinguard.io/cve/CVE-2025-57819; classtype:web-application-attack; sid:9310597; rev:1;)
POST /admin/ajax.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-57819 FreePBX endpoint exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/ajax.php"; http.uri; content:"module=endpoint"; http.uri; content:"command=upload_cust_fw"; http.uri; content:"module=userman"; http.uri; content:"command=checkPasswordReminder"; http.header_names; content:"Referer"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"name=|22|dzuuid|22|"; http.request_body; content:"name=|22|dzchunkindex|22|"; http.request_body; content:"name=|22|dztotalfilesize|22|"; http.request_body; content:"name=|22|dzchunksize|22|"; http.request_body; content:"name=|22|dztotalchunkcount|22|"; http.request_body; content:"name=|22|dzchunkbyteoffset|22|"; http.request_body; content:"name=|22|# traversal out of /tftpboot/customfw/ into the web root|3b| new dir so mkdir() succeeds
            |22|fwbrand|22||22|"; http.request_body; content:"name=|22|fwmodel|22|"; http.request_body; content:"name=|22|fwversion|22|"; http.request_body; content:"name=|22|file|22|"; http.request_body; content:"module=core"; http.request_body; content:"command=backup"; http.request_body; content:"backup_id=' OR 1=1-- -"; http.request_body; content:"username=watchTowr"; http.request_body; content:"password="; http.request_body; content:"loginpanel=admin"; reference:url,poc.griffinguard.io/cve/CVE-2025-57819; classtype:web-application-attack; sid:9074953; rev:1;)
GET /admin/config.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-57819 FreePBX endpoint exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/config.php"; reference:url,poc.griffinguard.io/cve/CVE-2025-57819; classtype:web-application-attack; sid:9826763; rev:1;)
GET /{var}
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-57819 FreePBX endpoint exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"cmd=echo"; http.uri; content:"cmd=id)"; http.uri; content:"cmd=id"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2025-57819; classtype:web-application-attack; sid:9290212; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /admin/ajax.php
title: FreePBX endpoint exploit attempt (CVE-2025-57819)
id: gg-pocmon-cve-2025-57819-9707815
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-57819. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-57819
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/admin/ajax.php'
    cs-uri-query|contains|all:
      - 'module=FreePBX\modules\endpoint\ajax'
      - 'command=model'
      - 'template=x'
      - 'model=model'
      - 'brand='
      - 'brand=x'';'
      - 'cmd=echo'
      - 'template='
      - 'model='
      - 'brand=x'' AND EXTRACTVALUE(1,CONCAT(''~USER:'',(SELECT USER()),''~'')) --'
      - 'module=endpoint'
      - 'brand=Cisco'
      - 'module='
      - 'command='
      - 'brand=Cisco)'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.57819
POST /admin/config.php
title: FreePBX endpoint exploit attempt (CVE-2025-57819)
id: gg-pocmon-cve-2025-57819-9310597
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-57819. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-57819
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/admin/config.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.57819
POST /admin/ajax.php
title: FreePBX endpoint exploit attempt (CVE-2025-57819)
id: gg-pocmon-cve-2025-57819-9074953
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-57819. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-57819
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/admin/ajax.php'
    cs-uri-query|contains|all:
      - 'module=endpoint'
      - 'command=upload_cust_fw'
      - 'module=userman'
      - 'command=checkPasswordReminder'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.57819
GET /admin/config.php
title: FreePBX endpoint exploit attempt (CVE-2025-57819)
id: gg-pocmon-cve-2025-57819-9826763
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-57819. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-57819
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/admin/config.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.57819
GET /{var}
title: FreePBX endpoint exploit attempt (CVE-2025-57819)
id: gg-pocmon-cve-2025-57819-9290212
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-57819. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-57819
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-query|contains|all:
      - 'cmd=echo'
      - 'cmd=id)'
      - 'cmd=id'
      - 'cmd='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.57819