{"id":"CVE-2024-58294","state":"PUBLISHED","title":"FreePBX 16 Authenticated Remote Code Execution via API Module","description":"FreePBX 16 contains an authenticated remote code execution vulnerability in the API module that allows attackers with valid session credentials to execute arbitrary commands. Attackers can exploit the 'generatedocs' endpoint by crafting malicious POST requests with bash command injection to establish remote shell access.","publishedAt":"2025-12-11T21:36:11.213Z","updatedAt":"2026-07-14T22:54:49.463Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["FreePBX FreePBX"],"affected":[{"vendor":"FreePBX","product":"FreePBX","defaultStatus":"unaffected","versions":[{"version":"16","status":"affected"}]}],"references":["https://www.exploit-db.com/exploits/52031","https://www.freepbx.org/","https://www.youtube.com/watch?v=rqFJ0BxwlLI","https://www.vulncheck.com/advisories/freepbx-authenticated-remote-code-execution-via-api-module"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/58xxx/CVE-2024-58294.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58294","state":"PUBLISHED","datePublished":"2025-12-11T21:36:11.213Z","dateUpdated":"2026-07-14T22:54:49.463Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2025-12-11T00:58:28.456Z"},"containers":{"cna":{"title":"FreePBX 16 Authenticated Remote Code Execution via API Module","descriptions":[{"lang":"en","value":"FreePBX 16 contains an authenticated remote code execution vulnerability in the API module that allows attackers with valid session credentials to execute arbitrary commands. Attackers can exploit the 'generatedocs' endpoint by crafting malicious POST requests with bash command injection to establish remote shell access."}],"affected":[{"vendor":"FreePBX","product":"FreePBX","defaultStatus":"unaffected","versions":[{"version":"16","status":"affected"}]}],"references":[{"url":"https://www.exploit-db.com/exploits/52031","name":"ExploitDB-52031","tags":["exploit"]},{"url":"https://www.freepbx.org/","name":"Official Product Homepage","tags":["product"]},{"url":"https://www.youtube.com/watch?v=rqFJ0BxwlLI","name":"Original Video Link","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/freepbx-authenticated-remote-code-execution-via-api-module","name":"VulnCheck Advisory: FreePBX 16 Authenticated Remote Code Execution via API Module","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T22:54:49.463Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:sangoma:freepbx:16:*:*:*:*:*:*:*"}]}]}],"credits":[{"lang":"en","type":"finder","value":"Cold z3ro"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"},"datePublic":"2024-06-01T00:00:00.000Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-16T16:21:00.487251Z","id":"CVE-2024-58294","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-16T16:31:37.417Z"}}]}}}