CVE-2012-4870

FreePBX < 2.9 - Cross-Site Scripting via Multiple Parameters

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-4870. PoCs published by Martin Tschirsich.

AI-analyzed exploit summary This exploit demonstrates a remote command execution (RCE) vulnerability in FreePBX due to missing input sanitization in the `callme_page.php` file, allowing arbitrary system commands to be executed via crafted HTTP requests. It also includes multiple XSS vulnerabilities in various endpoints.

Description

Multiple cross-site scripting (XSS) vulnerabilities in FreePBX 2.9 and earlier allow remote attackers to inject arbitrary web script or HTML via the (1) context parameter to panel/index_amp.php or (2) panel/dhtml/index.php; (3) clid or (4) clidname parameters to panel/flash/mypage.php; (5) PATH_INFO to admin/views/freepbx_reload.php; or (6) login parameter to recordings/index.php.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Martin Tschirsich · textwebappsphp
https://www.exploit-db.com/exploits/18649

This exploit demonstrates a remote command execution (RCE) vulnerability in FreePBX due to missing input sanitization in the `callme_page.php` file, allowing arbitrary system commands to be executed via crafted HTTP requests. It also includes multiple XSS vulnerabilities in various endpoints.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: FreePBX 2.10.0, 2.9.0 and earlier
No auth needed
Prerequisites: Network access to the target FreePBX instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Exploit exploit x_refsource_exploit-db
http://www.exploit-db.com/exploits/18649
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/74173
Exploit mailing-list x_refsource_fulldisc
http://seclists.org/fulldisclosure/2012/Mar/234
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/48463
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/52630
Various Sources x_refsource_confirm
http://www.freepbx.org/trac/ticket/5711
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/48475

Scores

EPSS 0.0200
EPSS Percentile 78.3%

Details

CWE
CWE-79
Status published
Products (1)
sangoma/freepbx < 2.9
Published Sep 06, 2012
Tracked Since Feb 18, 2026