Code Injection in FreePBX - CVE-2012-4869
Published: September 6, 2012 / Updated: September 1, 2021
Vulnerability identifier: #VU43620
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-4869
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to read and manipulate data.
The callme_startcall function in recordings/misc/callme_page.php in FreePBX 2.9, 2.10, and earlier allows remote attackers to execute arbitrary commands via the callmenum parameter in a c action.
Affected software
FreePBX
How to mitigate CVE-2012-4869
Install update from vendor's website.
Links to Public Exploits and PoC-codes
- Exploit #6678 - Elastix-Remote-Code-Execution (Exploit for Elastix 2.2.0 and FreePBX 2.10.0 based on CVE-2012-4869 vulnerability working on Python3) (September 1, 2021)
- Exploit #5103 - CVE-2012-4869 (February 1, 2021)
- Exploit #4260 - FreePBX 2.10.0 / 2.9.0 - callmenum Remote Code Execution (Metasploit) (August 11, 2020)
- Exploit #4261 - FreePBX 2.10.0 / Elastix 2.2.0 - Remote Code Execution (August 11, 2020)
- Exploit #4262 - FreePBX 2.10.0 / 2.9.0 - Multiple Vulnerabilities (August 11, 2020)
- Exploit #4104 - FreePBX 2.10.0 / 2.9.0 callmenum Remote Code Execution (August 11, 2020)
External References
- http://packetstormsecurity.org/files/111028/FreePBX-2.10.0-Remote-Command-Execution-XSS.html
- http://seclists.org/fulldisclosure/2012/Mar/234
- http://secunia.com/advisories/48463
- http://www.exploit-db.com/exploits/18649
- http://www.exploit-db.com/exploits/18659
- http://www.freepbx.org/trac/ticket/5711
- http://www.securityfocus.com/bid/52630
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74174