FreePBX framework
FreePBX Endpoint Manager Allows Unauthenticated Logins to Administrator Control Panel via Forged Basic Auth Header
FreePBX Endpoint Manager is a module for managing telephony endpoints in FreePBX systems. Versions are vulnerable to authentication bypass when the authentication type is set to "webserver." When providing an Authorization header with an arbitrary value, a session is associated with the target user regardless of valid credentials. This issue is fixed in versions 16.0.44 and 17.0.23.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 16.0.44
- >= 17.0.1, < 17.0.23
Fixed in 16.0.44, 17.0.23
Mitigation
Upgrade framework to 16.0.44 or 17.0.23 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 4.4 days after publication; not in CISA KEV. First PoC: BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX (created 14 Dec 2025, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX | 14 Dec 2025 +4.4 d | 1 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| rxerium/FreePBX-Vulns-December-25 | 15 Dec 2025 +6 d | 47 | Scanner
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| cyberleelawat/FreePBX-Multiple-CVEs-2025 | 16 Dec 2025 +6.4 d | 1 | Scanner
Flags · score 15
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 auxiliary: FreePBX Custom Extension SQL Injection (auxiliary/gather/freepbx_custom_extension_injection) | 15 Jan 2026 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: FreePBX endpoint SQLi to RCE (exploit/unix/http/freepbx_custom_extension_rce) | 9 Jan 2026 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: FreePBX firmware file upload (exploit/unix/http/freepbx_firmware_file_upload) | 9 Jan 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposGET /admin/config.php#
- Seen in
- 2 repos: cyberleelawat/FreePBX-Multiple-CVEs-2025, rxerium/FreePBX-Vulns-December-25
- Evidence
- cyberleelawat/FreePBX-Multiple-CVEs-2025/CVE-2025-61675.yaml:26 cyberleelawat/FreePBX-Multiple-CVEs-2025/CVE-2025-61678.yaml:26 cyberleelawat/FreePBX-Multiple-CVEs-2025/CVE-2025-66039.yaml:26 rxerium/FreePBX-Vulns-December-25/CVE-2025-61675.yaml:26 rxerium/FreePBX-Vulns-December-25/CVE-2025-61678.yaml:26 rxerium/FreePBX-Vulns-December-25/CVE-2025-66039.yaml:26
GET /admin/config.php
- Key headers
Authorization: Basic YWRtaW46YWRtaW4=Referer: {var}/admin/config.php- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36- Seen in
- 1 repo: BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX
- Evidence
- BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX/exploit.py:127
GET /{var}
- Key headers
Authorization: Basic YWRtaW46YWRtaW4=Referer: {var}/admin/config.php- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36- Seen in
- 1 repo: BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX
- Evidence
- BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX/exploit.py:266
POST /admin/config.php
- Key headers
Authorization: Basic YWRtaW46YWRtaW4=Referer: {var}/admin/config.php- Body markers
id=- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36- Seen in
- 1 repo: BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX
- Evidence
- BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX/exploit.py:236 BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX/exploit.py:442
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/admin/config\.php#(?:[?#].*)?$
(?i)^/admin/config\.php(?:[?#].*)?$
(?i)^/[^/?#]*(?:[?#].*)?$
(?i)^/admin/config\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-66039 FreePBX framework exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/config.php#"; reference:url,poc.griffinguard.io/cve/CVE-2025-66039; classtype:web-application-attack; sid:9566294; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-66039 FreePBX framework exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/config.php"; http.header; content:"Authorization: Basic YWRtaW46YWRtaW4="; nocase; http.header_names; content:"Referer"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-66039; classtype:web-application-attack; sid:9265681; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-66039 FreePBX framework exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"Authorization: Basic YWRtaW46YWRtaW4="; nocase; http.header_names; content:"Referer"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-66039; classtype:web-application-attack; sid:9786202; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-66039 FreePBX framework exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/config.php"; http.header; content:"Authorization: Basic YWRtaW46YWRtaW4="; nocase; http.header_names; content:"Referer"; nocase; http.request_body; content:"id="; reference:url,poc.griffinguard.io/cve/CVE-2025-66039; classtype:web-application-attack; sid:9397419; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: FreePBX framework exploit attempt (CVE-2025-66039)
id: gg-pocmon-cve-2025-66039-9566294
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66039. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-66039
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.66039
title: FreePBX framework exploit attempt (CVE-2025-66039)
id: gg-pocmon-cve-2025-66039-9265681
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66039. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-66039
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.66039
title: FreePBX framework exploit attempt (CVE-2025-66039)
id: gg-pocmon-cve-2025-66039-9786202
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66039. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-66039
logsource:
category: webserver
detection:
selection:
cs-method: GET
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.66039
title: FreePBX framework exploit attempt (CVE-2025-66039)
id: gg-pocmon-cve-2025-66039-9397419
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66039. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-66039
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.66039