PoC Monitor
← All CVEs
CVE-2025-66039published 9 Dec 2025 21:32 UTCData: JSON · API

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.

First public PoC 4.4 daysafter publication · 14 Dec 2025
Public PoCs63 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by NVD · CWE-287
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

FreePBX framework
  • < 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 publication
-2t=0+2+4+6+8CVE published9 Dec 2025 · t = 0First public PoC14 Dec 2025 · t+4.4d

First 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
RepositoryCreatedStarsAssessment
BimBoxH4/CVE-2025-66039_CVE-2025-61675_CVE-2025-61678_reePBX 14 Dec 2025 +4.4 d 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

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
  • no network code found (normal for a local exploit)

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
  • no network code found (normal for a local exploit)

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 3 PoC repos

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.

GET /admin/config.php#
(?i)^/admin/config\.php#(?:[?#].*)?$
GET /admin/config.php
(?i)^/admin/config\.php(?:[?#].*)?$
GET /{var}
(?i)^/[^/?#]*(?:[?#].*)?$
POST /admin/config.php
(?i)^/admin/config\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /admin/config.php#
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;)
GET /admin/config.php
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;)
GET /{var}
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;)
POST /admin/config.php
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.

GET /admin/config.php#
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
GET /admin/config.php
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
GET /{var}
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
POST /admin/config.php
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