← Vulnerability feed

Vulnerability record · CVE-2014-1903 · published 18 February 2014

CVE-2014-1903: FreePBX API handler allows arbitrary PHP code execution

Freepbx · Freepbx

FreePBX versions 2.9 through 12 (before their respective fixed builds) fail to restrict which functions the API handler in admin/libraries/view.functions.php can call. Because the function and args parameters to admin/config.php are not validated against an allowlist, an unauthenticated remote attacker can invoke arbitrary PHP functions. This is a full remote code execution flaw in a widely deployed PBX management interface.

7.5 CVSS 2.0 High EPSS 53% · top 1.1% CWE-264 · Permissions and access controls
7.5CVSS 2.0 base score
53%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
24References
17 Jun 2026Last modified by NVD

Description

admin/libraries/view.functions.php in FreePBX 2.9 before 2.9.0.14, 2.10 before 2.10.1.15, 2.11 before 2.11.0.23, and 12 before 12.0.1alpha22 does not restrict the set of functions accessible to the API handler, which allows remote attackers to execute arbitrary PHP code via the function and args parameters to admin/config.php.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution in an internet-exposed PBX management interface with public exploit code and very high EPSS probability.

What it is

FreePBX versions 2.9 through 12 (before their respective fixed builds) fail to restrict which functions the API handler in admin/libraries/view.functions.php can call. Because the function and args parameters to admin/config.php are not validated against an allowlist, an unauthenticated remote attacker can invoke arbitrary PHP functions. This is a full remote code execution flaw in a widely deployed PBX management interface.

Impact

An attacker can execute arbitrary PHP code on the FreePBX host, leading to full compromise of the PBX system, including configuration data, call handling and any credentials or extensions it manages.

Attack surface

Reachable over the network via HTTP requests to admin/config.php with crafted function and args parameters. The CVSS vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV, but EPSS is 0.52775 (98.9th percentile) and public exploit code exists, including a Packet Storm advisory and a GitHub PoC, so exploitation is feasible and likely.

What to do

  • Upgrade FreePBX to the fixed builds: 2.9.0.14, 2.10.1.15, 2.11.0.23 or 12.0.1alpha22 and later.
  • If immediate upgrade is not possible, restrict network access to admin/config.php and the admin interface to trusted management networks only.
  • Apply the vendor's security notice guidance and review the referenced FreePBX changelogs for the API handler fix.
  • Audit the FreePBX host for unexpected PHP files, web shells or modified admin code after exposure.

Detection

  • Monitor web server logs for requests to admin/config.php containing function and args parameters, especially unusual or dangerous PHP function names.
  • Alert on POST or GET requests to admin/config.php from untrusted source IPs or outside normal admin access patterns.
  • Search the FreePBX webroot for newly created or modified PHP files that do not match known FreePBX releases.
  • Review PHP error and audit logs for unexpected function calls or fatal errors originating from admin/config.php.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://archives.neohapsis.com/archives/fulldisclosure/2014-02/0097.html
http://archives.neohapsis.com/archives/fulldisclosure/2014-02/0111.html
http://code.freepbx.org/changelog/FreePBX_Framework?cs=a29382efeb293ef4f42aa9b841dfc8eabb2d1e03
http://code.freepbx.org/changelog/FreePBX_SVN?cs=16429
http://issues.freepbx.org/browse/FREEPBX-7117 Vendor Advisory
http://issues.freepbx.org/browse/FREEPBX-7123 Vendor Advisory
http://osvdb.org/103240
http://packetstormsecurity.com/files/125166/FreePBX-2.x-Code-Execution.html
http://packetstormsecurity.com/files/125215/FreePBX-2.9-Remote-Code-Execution.html
http://www.freepbx.org/news/2014-02-06/security-vulnerability-notice
http://www.securityfocus.com/archive/1/531040/100/0/threaded
https://github.com/0x00string/oldays/blob/master/CVE-2014-1903.pl
http://archives.neohapsis.com/archives/fulldisclosure/2014-02/0097.html
http://archives.neohapsis.com/archives/fulldisclosure/2014-02/0111.html
http://code.freepbx.org/changelog/FreePBX_Framework?cs=a29382efeb293ef4f42aa9b841dfc8eabb2d1e03
http://code.freepbx.org/changelog/FreePBX_SVN?cs=16429
http://issues.freepbx.org/browse/FREEPBX-7117 Vendor Advisory
http://issues.freepbx.org/browse/FREEPBX-7123 Vendor Advisory
http://osvdb.org/103240
http://packetstormsecurity.com/files/125166/FreePBX-2.x-Code-Execution.html
http://packetstormsecurity.com/files/125215/FreePBX-2.9-Remote-Code-Execution.html
http://www.freepbx.org/news/2014-02-06/security-vulnerability-notice
http://www.securityfocus.com/archive/1/531040/100/0/threaded
https://github.com/0x00string/oldays/blob/master/CVE-2014-1903.pl

Track CVE-2014-1903 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-57819FreePBX unauthenticated SQL injection and auth bypass to RCEFreePBX 15, 16 and 17 fail to sanitize user-supplied data, letting an unauthenticated attacker bypass authentication to the FreePBX Administrator int…KEVEPSS 85%analysed9.8CVE-2019-19006Sangoma FreePBX improper authentication allows remote admin bypassFreePBX versions 115.0.16.26, 14.0.13.11, 13.0.197.13 and below contain an incorrect access control flaw (CWE-287 improper authentication) that lets …KEVEPSS 56%analysed10.0CVE-2014-7235Freepbx code injection vulnerabilityhtdocs_ari/includes/login.php in the ARI Framework module/Asterisk Recording Interface (ARI) in FreePBX before 2.9.0.9, 2.10.x, and 2.11 before 2.11.…EPSS 43%9.8CVE-2020-36630Sangoma freepbx sql injection vulnerabilityA vulnerability was found in FreePBX cdr 14.0. It has been classified as critical. This affects the function ajaxHandler of the file ucp/Cdr.class.ph…EPSS 0.68%9.3CVE-2026-46376Sangoma freepbx hard-coded credentials vulnerabilityFreePBX is an open source IP PBX. From 15.0.42 to before 16.0.45 and 17.0.7, unauthenticated users may be able to access the User Control Panel (UCP)…EPSS 0.50%9.3CVE-2025-66039Sangoma freepbx improper authentication vulnerabilityFreePBX Endpoint Manager is a module for managing telephony endpoints in FreePBX systems. Versions are vulnerable to authentication bypass when the a…EPSS 3.3%8.8CVE-2023-43336Sangoma freepbx improper access control vulnerabilitySangoma Technologies FreePBX before cdr 15.0.18, 16.0.40, 15.0.16, and 16.0.17 was discovered to contain an access control issue via a modified param…EPSS 0.72%8.7CVE-2024-58294Sangoma freepbx os command injection vulnerabilityFreePBX 16 contains an authenticated remote code execution vulnerability in the API module that allows attackers with valid session credentials to ex…EPSS 3.6%

Source: NIST National Vulnerability Database (record CVE-2014-1903), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.