{
  "id": "CVE-2025-64328",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-64328",
  "published_at": "2025-11-07T03:32:20.67Z",
  "title": "FreePBX Administration GUI is Vulnerable to Authenticated Command Injection",
  "vendor": "FreePBX",
  "product": "filestore",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2026-02-03",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 88
  },
  "first_poc": {
    "created_at": "2025-11-15T15:49:39Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 8.5,
    "repo": "mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 -\u003e 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.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:sangoma:filestore:*:*:*:*:*:freepbx:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 7.2
  },
  "repos": [
    {
      "repo": "mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection",
      "url": "https://github.com/mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection",
      "created_at": "2025-11-15T15:49:39Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2016-12-11T17:58:04Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "FreePBX",
        "product": "filestore",
        "ranges": [
          "\u003e= 17.0.2.36, \u003c 17.0.3"
        ],
        "fixed_in": [
          "17.0.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade filestore to 17.0.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FreePBX/security-reporting/security/advisories/GHSA-vm9p-46mv-5xvw"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/freepbx_filestore_cmd_injection.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: FreePBX filestore authenticated command injection (exploit/unix/http/freepbx_filestore_cmd_injection)",
      "published_at": "2026-03-11T18:43:28Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-64328.yaml",
      "source": "nuclei",
      "title": "nuclei template: FreePBX  \u003e= 17.0.2.36 \u0026\u0026 \u003c 17.0.3 - Authenticated Command Injection",
      "published_at": "2026-03-07T15:02:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/admin/ajax.php",
      "query_markers": [
        "module=filestore",
        "command=testconnection",
        "driver=SSH",
        "host=127.0.0.1",
        "user=",
        "port=22",
        "key=",
        "path=",
        "user={var}",
        "key={var}`{var}`",
        "path={var}"
      ],
      "headers": [
        {
          "name": "Referer",
          "value": "{var}"
        }
      ],
      "ports": [
        80
      ],
      "protocol": "http",
      "repos": [
        "mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection"
      ],
      "repo_count": 1,
      "confidence": 0.9,
      "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"
      ]
    },
    {
      "method": "POST",
      "path_template": "/admin/config.php",
      "body_markers": [
        "username=",
        "password=",
        "username={var}",
        "password={var}"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        80
      ],
      "protocol": "http",
      "repos": [
        "mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection"
      ],
      "repo_count": 1,
      "confidence": 0.9,
      "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"
      ]
    },
    {
      "method": "GET",
      "path_template": "/rcetest.txt",
      "protocol": "http",
      "repos": [
        "mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/README.md:18"
      ]
    },
    {
      "method": "POST",
      "path_template": "/tmp/freepbx-cookie",
      "headers": [
        {
          "name": "Cookie",
          "value": "/tmp/freepbx-cookie"
        },
        {
          "name": "Referer",
          "value": "http://192.168.122.206"
        }
      ],
      "body_markers": [
        "username=lowprivuser",
        "password="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "mcorybillington/CVE-2025-64328_FreePBX-framework-Command-Injection/README.md:9"
      ]
    }
  ],
  "rules": []
}
