{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-67722","id":"CVE-2025-67722","title":"Authenticated amportal search for ‘freepbx_engine’ in non root writeable directories leads to potential privilege escalation","description":"FreePBX is an open-source web-based graphical user interface (GUI) that manages Asterisk. Prior to versions 16.0.45 and 17.0.24 of the FreePBX framework, an authenticated local privilege escalation exists in the deprecated FreePBX startup script `amportal`. In the deprecated `amportal` utility, the lookup for the `freepbx_engine` file occurs in `/etc/asterisk/` directories. Typically, these are co","descriptionLong":"FreePBX is an open-source web-based graphical user interface (GUI) that manages Asterisk. Prior to versions 16.0.45 and 17.0.24 of the FreePBX framework, an authenticated local privilege escalation exists in the deprecated FreePBX startup script `amportal`. In the deprecated `amportal` utility, the lookup for the `freepbx_engine` file occurs in `/etc/asterisk/` directories. Typically, these are configured by FreePBX as writable by the **asterisk** user and any members of the **asterisk** group. This means that a member of the **asterisk** group can add their own `freepbx_engine` file in `/etc/asterisk/` and upon `amportal` executing, it would exec that file with root permissions (even though the file was created and placed by a non-root user). Version 16.0.45 and 17.0.24 contain a fix for the issue. Other mitigation strategies are also available. Confirm only trusted local OS system users are members of the `asterisk` group. Look for suspicious files in the `/etc/asterisk/` directory (via Admin -> Config Edit in the GUI, or via CLI). Double-check that `live_dangerously = no` is set (or unconfigured, as the default is **no**) in `/etc/asterisk/asterisk.conf` file. Eliminate any unsafe custom use of Asterisk dial plan applications and functions that potentially can manipulate the file system, e.g., System(), FILE(), etc.","published":"2025-12-16T00:14:18.746Z","updated":"2026-10-28T02:30:40.334408694Z","reserved":"2025-12-10T18:46:14.763Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"medium","products":["FreePBX framework"],"affectedProducts":[{"vendor":"FreePBX","product":"framework","defaultStatus":null,"versions":[{"version":"< 16.0.45","status":"affected"},{"version":">= 17.0.0, < 17.0.24","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-426"],"aliases":["GHSA-p42w-v77m-hfp8"],"references":[{"url":"https://github.com/FreePBX/security-reporting/security/advisories/GHSA-p42w-v77m-hfp8","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory"]},{"url":"https://www.freepbx.org/watch-what-we-do-with-security-fixes-%f0%9f%91%80","tags":["x_refsource_MISC","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67722.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67722","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00137,"epssPercentile":0.03201,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-67722","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67722","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-67722","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-67722","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}