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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 17.0.2.36, < 17.0.3
Fixed in 17.0.3
Mitigation
Upgrade filestore to 17.0.3 or later.
References
- Vendor advisory github.com/FreePBX/security-reporting/security…
Timeline
Days relative to CVE publicationFirst 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection | 15 Nov 2025 +8.5 d | 0 | Scanner
Flags · score 30
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.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: FreePBX filestore authenticated command injection (exploit/unix/http/freepbx_filestore_cmd_injection) | 11 Mar 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: FreePBX >= 17.0.2.36 && < 17.0.3 - Authenticated Command Injection | 7 Mar 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /admin/ajax.php
- Query
module=filestorecommand=testconnectiondriver=SSHhost=127.0.0.1user=port=22key=path=user={var}key={var}`{var}`path={var}- Key headers
Referer: {var}- Ports
- 80
- Seen in
- 1 repo: mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection
- Evidence
- mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/CVE-2025-64328.yaml:63 mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/CVE-2025-64328.yaml:61-65 mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/README.md:12
POST /admin/config.php
- Body markers
username=password=username={var}password={var}inapplication/x-www-form-urlencoded- Ports
- 80
- Seen in
- 1 repo: mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection
- Evidence
- mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/CVE-2025-64328.yaml:47 mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/CVE-2025-64328.yaml:45-50 mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/README.md:10
GET /rcetest.txt
POST /tmp/freepbx-cookie
- Key headers
Cookie: /tmp/freepbx-cookieReferer: http://192.168.122.206- Body markers
username=lowprivuserpassword=inapplication/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.
(?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\}
(?i)^/admin/config\.php(?:[?#].*)?$
(?i)^/rcetest\.txt(?:[?#].*)?$
(?i)^/tmp/freepbx-cookie(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
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;)
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;)
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;)
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.
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
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
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
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