PoC Monitor
← All CVEs
CVE-2025-64328published 7 Nov 2025 03:32 UTCData: JSON · API

FreePBX filestore

FreePBX Administration GUI is Vulnerable to Authenticated Command Injection

FreePBX Endpoint Manager is a module for managing telephony endpoints in FreePBX systems. In versions 17.0.2.36 and above before 17.0.3, the filestore module within the Administrative interface is vulnerable to a post-authentication command injection by an authenticated known user via the testconnection -> check_ssh_connect() function. An attacker can leverage this vulnerability to obtain remote access to the system as an asterisk user. This issue is fixed in version 17.0.3.

First public PoC 8.5 daysafter publication · 15 Nov 2025
Public PoCs31 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS8.6high · scored by CNA · CWE-78
CISA KEV 3 Feb 202688 days after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

FreePBX filestore
  • >= 17.0.2.36, < 17.0.3

Fixed in 17.0.3

Mitigation

Upgrade filestore to 17.0.3 or later.

References

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84CVE published7 Nov 2025 · t = 0First public PoC15 Nov 2025 · t+8.5dAdded to CISA KEV3 Feb 2026 · t+88d

First public PoC 8.5 days after publication; added to CISA KEV 88 days after publication. First PoC: mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection (created 15 Nov 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection 15 Nov 2025 +8.5 d 0 Scanner
Flags · score 30
  • README gives an archive password

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

Only PoCs count toward the first-PoC date and the characteristics below. 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.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /tmp/freepbx-cookie

Key headers
Cookie: /tmp/freepbx-cookie Referer: http://192.168.122.206
Body markers
username=lowprivuser password= in application/x-www-form-urlencoded
Seen in
1 repo: mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection
Evidence
mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/README.md:9

Regex

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

GET /admin/ajax.php
(?i)^/admin/ajax\.php\?(?:.*&)?module=filestore.*command=testconnection.*driver=SSH.*host=127\.0\.0\.1.*user=.*port=22.*key=.*path=.*user=\{var\}.*key=\{var\}`\{var\}`.*path=\{var\}
POST /admin/config.php
(?i)^/admin/config\.php(?:[?#].*)?$
GET /rcetest.txt
(?i)^/rcetest\.txt(?:[?#].*)?$
POST /tmp/freepbx-cookie
(?i)^/tmp/freepbx-cookie(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /admin/ajax.php
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2025-64328 FreePBX filestore exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/ajax.php"; http.uri; content:"module=filestore"; http.uri; content:"command=testconnection"; http.uri; content:"driver=SSH"; http.uri; content:"host=127.0.0.1"; http.uri; content:"user="; http.uri; content:"port=22"; http.uri; content:"key="; http.uri; content:"path="; http.uri; content:"user={var}"; http.uri; content:"key={var}`{var}`"; http.uri; content:"path={var}"; http.header_names; content:"Referer"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-64328; classtype:web-application-attack; sid:9214288; rev:1;)
POST /admin/config.php
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2025-64328 FreePBX filestore 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="; http.request_body; content:"password="; reference:url,poc.griffinguard.io/cve/CVE-2025-64328; classtype:web-application-attack; sid:9221820; rev:1;)
GET /rcetest.txt
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-64328 FreePBX filestore exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/rcetest.txt"; reference:url,poc.griffinguard.io/cve/CVE-2025-64328; classtype:web-application-attack; sid:9005948; rev:1;)
POST /tmp/freepbx-cookie
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-64328 FreePBX filestore exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/tmp/freepbx-cookie"; http.header; content:"Cookie: /tmp/freepbx-cookie"; nocase; http.header; content:"Referer: http://192.168.122.206"; nocase; http.request_body; content:"username=lowprivuser"; http.request_body; content:"password="; reference:url,poc.griffinguard.io/cve/CVE-2025-64328; classtype:web-application-attack; sid:9722235; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /admin/ajax.php
title: FreePBX filestore exploit attempt (CVE-2025-64328)
id: gg-pocmon-cve-2025-64328-9214288
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-64328. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-64328
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/admin/ajax.php'
    cs-uri-query|contains|all:
      - 'module=filestore'
      - 'command=testconnection'
      - 'driver=SSH'
      - 'host=127.0.0.1'
      - 'user='
      - 'port=22'
      - 'key='
      - 'path='
      - 'user={var}'
      - 'key={var}`{var}`'
      - 'path={var}'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.64328
POST /admin/config.php
title: FreePBX filestore exploit attempt (CVE-2025-64328)
id: gg-pocmon-cve-2025-64328-9221820
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-64328. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-64328
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/admin/config.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.64328
GET /rcetest.txt
title: FreePBX filestore exploit attempt (CVE-2025-64328)
id: gg-pocmon-cve-2025-64328-9005948
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-64328. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-64328
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/rcetest.txt'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.64328
POST /tmp/freepbx-cookie
title: FreePBX filestore exploit attempt (CVE-2025-64328)
id: gg-pocmon-cve-2025-64328-9722235
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-64328. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-64328
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/tmp/freepbx-cookie'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.64328