FreePBX 2.9 /dhtml/index.php context cross site scripting

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.9$0-$5k0.00

Summaryinfo

A vulnerability was found in FreePBX 2.9 and classified as problematic. This impacts an unknown function of the file /dhtml/index.php. Such manipulation of the argument context with the input /../%00">[XSS] leads to cross site scripting. This vulnerability is traded as CVE-2012-4870. The attack may be launched remotely. Furthermore, there is an exploit available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability was found in FreePBX 2.9. It has been rated as critical. Affected by this issue is an unknown code of the file /dhtml/index.php. The manipulation of the argument context with the input value /../%00">[XSS] leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Impacted is confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was shared 03/22/2012 by Martin Tschirsich with Technische Universität Darmstadt as confirmed mailinglist post (Full-Disclosure). The advisory is shared for download at archives.neohapsis.com. The public release happened without coordination with the vendor. This vulnerability is handled as CVE-2012-4870 since 09/06/2012. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.007.

A public exploit has been developed by Martin Tschirsich and been published immediately after the advisory. The exploit is available at archives.neohapsis.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 282 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:dhtml/index.php it is possible to find vulnerable targets with Google Hacking.

Applying the patch Unofficial Patch is able to eliminate this problem. The bugfix is ready for download at archives.neohapsis.com. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (74173), Exploit-DB (18649), SecurityFocus (BID 52630†), OSVDB (80541†) and Secunia (SA48475†). The entries VDB-4902, VDB-4903, VDB-4905 and VDB-4906 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.8
VulDB Meta Temp Score: 7.9

VulDB Base Score: 8.8
VulDB Temp Score: 7.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Martin Tschirsich
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

OpenVAS ID: 902823
OpenVAS Name: FreePBX Multiple Cross Site Scripting and Remote Command Execution Vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍

Patch: Unofficial Patch

Timelineinfo

06/12/2011 🔍
03/20/2012 +282 days 🔍
03/20/2012 +0 days 🔍
03/22/2012 +1 days 🔍
03/22/2012 +0 days 🔍
03/22/2012 +0 days 🔍
03/26/2012 +4 days 🔍
03/29/2012 +3 days 🔍
09/06/2012 +161 days 🔍
09/06/2012 +0 days 🔍
01/13/2025 +4512 days 🔍

Sourcesinfo

Advisory: archives.neohapsis.com
Researcher: Martin Tschirsich
Organization: Technische Universität Darmstadt
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-4870 (🔍)
GCVE (CVE): GCVE-0-2012-4870
GCVE (VulDB): GCVE-100-4904
X-Force: 74173 - FreePBX multiple cross-site scripting, Medium Risk
SecurityFocus: 52630
Secunia: 48475 - FreePBX Multiple Cross-Site Scripting Vulnerabilities, Less Critical
OSVDB: 80541

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/29/2012 17:30
Updated: 01/13/2025 14:32
Changes: 03/29/2012 17:30 (81), 04/25/2018 12:31 (7), 01/13/2025 14:32 (16)
Complete: 🔍
Cache ID: 216:64B:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!