| Reporter | Title | Published | Views | Family All 22 |
|---|---|---|---|---|
| CVE-2012-4869 | 6 Sep 201200:00 | – | attackerkb | |
| CVE-2012-4869 | 22 Mar 201200:00 | – | circl | |
| CVE-2012-4870 | 22 Mar 201200:00 | – | circl | |
| FreePBX callmenum Remote Code Execution (CVE-2012-4869) | 27 Nov 201600:00 | – | checkpoint_advisories | |
| CVE-2012-4869 | 6 Sep 201217:00 | – | cve | |
| CVE-2012-4870 | 6 Sep 201217:00 | – | cve | |
| CVE-2012-4869 | 6 Sep 201217:00 | – | cvelist | |
| CVE-2012-4870 | 6 Sep 201217:00 | – | cvelist | |
| FreePBX 2.9.0/2.10.0 - Multiple Vulnerabilities | 22 Mar 201200:00 | – | exploitdb | |
| FreePBX 2.10.0 / Elastix 2.2.0 - Remote Code Execution | 23 Mar 201200:00 | – | exploitdb |
| Source | Link |
|---|---|
| exploit-db | www.exploit-db.com/exploits/18649 |
| freepbx | www.freepbx.org/trac/ticket/5713 |
| xforce | www.xforce.iss.net/xforce/xfdb/74173 |
| freepbx | www.freepbx.org/trac/ticket/5711 |
| securityfocus | www.securityfocus.com/bid/52630 |
| secunia | www.secunia.com/advisories/48475 |
| secunia | www.secunia.com/advisories/48463 |
| packetstormsecurity | www.packetstormsecurity.org/files/111130/freepbx2100-exec.txt |
# SPDX-FileCopyrightText: 2012 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:freepbx:freepbx";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.902823");
script_version("2024-06-04T05:05:28+0000");
script_tag(name:"last_modification", value:"2024-06-04 05:05:28 +0000 (Tue, 04 Jun 2024)");
script_tag(name:"creation_date", value:"2012-03-27 16:35:51 +0530 (Tue, 27 Mar 2012)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_cve_id("CVE-2012-4869", "CVE-2012-4870");
script_tag(name:"qod_type", value:"remote_analysis");
script_tag(name:"solution_type", value:"VendorFix");
script_name("FreePBX 2.9.0 - 2.10.0 Multiple Vulnerabilities - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_freepbx_http_detect.nasl");
script_mandatory_keys("freepbx/http/detected");
script_require_ports("Services/www", 443);
script_tag(name:"summary", value:"FreePBX is prone to multiple cross-site scripting (XSS) and
remote command execution (RCE) vulnerabilities.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"insight", value:"Multiple flaws are caused by an,
- Improper validation of user-supplied input by multiple scripts, which allows attacker to
execute arbitrary HTML and script code on the user's browser session in the security context of
an affected site.
- Input passed to the 'callmenum' parameter in recordings/misc/callme_page.php (when 'action' is
set to 'c') is not properly verified before being used. This can be exploited to inject and
execute arbitrary shell commands.");
script_tag(name:"impact", value:"Successful exploitation may allow remote attackers to steal
cookie-based authentication credentials or execute arbitrary commands within the context of the
affected application.");
script_tag(name:"affected", value:"FreePBX versions 2.9.0 and 2.10.0.");
script_tag(name:"solution", value:"Apply the patch from the referenced advisory.");
script_xref(name:"URL", value:"http://secunia.com/advisories/48475");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/52630");
script_xref(name:"URL", value:"http://secunia.com/advisories/48463");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/74173");
script_xref(name:"URL", value:"http://www.freepbx.org/trac/ticket/5711");
script_xref(name:"URL", value:"http://www.freepbx.org/trac/ticket/5713");
script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/18649");
script_xref(name:"URL", value:"http://packetstormsecurity.org/files/111130/freepbx2100-exec.txt");
exit(0);
}
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
if (!port = get_app_port(cpe: CPE, service: "www"))
exit(0);
if (!dir = get_app_location(cpe: CPE, port: port))
exit(0);
if (dir == "/")
dir = "";
urls = make_list(dir + "/recordings/index.php?login='><script>alert(document.cookie)</script>",
dir + '/panel/index_amp.php?context="<script>alert(document.cookie)</script>');
foreach url (urls) {
if (http_vuln_check(port: port, url: url, check_header: TRUE,
pattern:"<script>alert\(document\.cookie\)</script>")) {
report = http_report_vuln_url(port: port, url: url);
security_message(port: port, data: report);
exit(0);
}
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation