FreePBX 2.9 /flash/mypage.php clid/clidname 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 has been found in FreePBX 2.9 and classified as problematic. This affects an unknown function of the file /flash/mypage.php. This manipulation of the argument clid/clidname causes cross site scripting. This vulnerability appears as CVE-2012-4870. The attack may be initiated remotely. In addition, an exploit is available. It is recommended to apply a patch to fix this issue.

Detailsinfo

A vulnerability was found in FreePBX 2.9. It has been declared as critical. Affected by this vulnerability is an unknown part of the file /flash/mypage.php. The manipulation of the argument clid/clidname with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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 presented 03/22/2012 by Martin Tschirsich with Technische Universität Darmstadt as confirmed mailinglist post (Full-Disclosure). It is possible to read the advisory at archives.neohapsis.com. The vendor was not involved in the public release. This vulnerability is known as CVE-2012-4870 since 09/06/2012. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details and also a public exploit are known. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.

A public exploit has been developed by Martin Tschirsich and been published immediately after the advisory. It is possible to download the exploit 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:flash/mypage.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 (80540†) and Secunia (SA48475†). See VDB-4902, VDB-4904, VDB-4905 and VDB-4906 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.

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-4903
X-Force: 74173 - FreePBX multiple cross-site scripting
SecurityFocus: 52630 - FreePBX Multiple Cross Site Scripting and Remote Command Execution Vulnerabilities
Secunia: 48475 - FreePBX Multiple Cross-Site Scripting Vulnerabilities, Less Critical
OSVDB: 80540

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

Entryinfo

Created: 03/29/2012 17:30
Updated: 01/13/2025 09:11
Changes: 03/29/2012 17:30 (80), 04/25/2018 12:30 (7), 01/13/2025 09:11 (16)
Complete: 🔍
Cache ID: 216:211:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!