Lucene search
K

phpMyFAQ Search Page Cross Site Scripting Vulnerability

🗓️ 16 Nov 2009 00:00:00Reported by This script is Copyright (C) 2009 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 20 Views

phpMyFAQ Search Page XSS Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2009-4040
20 Nov 200919:00
cve
Cvelist
CVE-2009-4040
20 Nov 200919:00
cvelist
EUVD
EUVD-2009-4011
7 Oct 202500:30
euvd
NVD
CVE-2009-4040
20 Nov 200919:30
nvd
OpenVAS
phpMyFAQ Search Page XSS Vulnerability
16 Nov 200900:00
openvas
OpenVAS
phpMyFAQ < 2.0.17, 2.5.x < 2.5.2 XSS Vulnerability
26 Nov 200900:00
openvas
OpenVAS
phpMyFAQ GET Variable Cross-Site-Scripting Vulnerability
26 Nov 200900:00
openvas
Prion
Cross site scripting
20 Nov 200919:30
prion
RedhatCVE
CVE-2009-4040
9 Jan 202611:53
redhatcve
###############################################################################
# OpenVAS Vulnerability Test
# $Id: phpMyFAQ_37020.nasl 5016 2017-01-17 09:06:21Z teissa $
#
# phpMyFAQ Search Page Cross Site Scripting Vulnerability
#
# Authors:
# Michael Meyer
#
# Copyright:
# Copyright (c) 2009 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_summary = "phpMyFAQ is prone to a cross-site scripting vulnerability because the
application fails to properly sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code
in the browser of an unsuspecting user in the context of the affected
site. This may allow the attacker to steal cookie-based authentication
credentials and to launch other attacks.

Versions prior to phpMyFAQ 2.5.2 and 2.0.17 are vulnerable.";

tag_solution = "Updates are available. Please see the references for details.";

if (description)
{
 script_id(100348);
 script_version("$Revision: 5016 $");
 script_tag(name:"last_modification", value:"$Date: 2017-01-17 10:06:21 +0100 (Tue, 17 Jan 2017) $");
 script_tag(name:"creation_date", value:"2009-11-16 11:47:06 +0100 (Mon, 16 Nov 2009)");
 script_cve_id("CVE-2009-4040");
 script_bugtraq_id(37020);
 script_tag(name:"cvss_base", value:"4.3");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");

 script_name("phpMyFAQ Search Page Cross Site Scripting Vulnerability");

 script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/37020");
 script_xref(name : "URL" , value : "http://www.phpmyfaq.de/");
 script_xref(name : "URL" , value : "http://www.phpmyfaq.de/advisory_2009-09-01.php");

 script_tag(name:"qod_type", value:"remote_banner");
 script_category(ACT_GATHER_INFO);
 script_family("Web application abuses");
 script_copyright("This script is Copyright (C) 2009 Greenbone Networks GmbH");
 script_dependencies("phpmyfaq_detect.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

include("http_func.inc");
include("version_func.inc");

port = get_http_port(default:80);
if(!get_port_state(port))exit(0);

if (!can_host_php(port:port)) exit(0);

if(!version = get_kb_item(string("www/", port, "/phpmyfaq")))exit(0);
if(!matches = eregmatch(string:version, pattern:"^(.+) under (/.*)$"))exit(0);

vers = matches[1];

if(!isnull(vers) && vers >!< "unknown") {

  if(version_in_range(version: vers, test_version: "2.5", test_version2: "2.5.1") || 
     version_in_range(version: vers, test_version: "2.0", test_version2: "2.0.16")) {
      security_message(port:port);
      exit(0);
  }

}

exit(0);

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

17 Jan 2017 00:00Current
6.4Medium risk
Vulners AI Score6.4
EPSS0.00322
20