Lucene search
K

JpGraph Multiple Cross-Site Scripting Vulnerabilities

🗓️ 13 Jan 2010 00:00:00Reported by Copyright (c) 2010 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 16 Views

JpGraph Multiple Cross-Site Scripting Vulnerabilities. JpGraph version 3.0.6 and prior on all running platform. Flaw in 'GetURLArguments()' function in 'jpgraph.php'

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2009-4422
24 Dec 200917:00
cve
Cvelist
CVE-2009-4422
24 Dec 200917:00
cvelist
Debian CVE
CVE-2009-4422
24 Dec 200917:00
debiancve
EUVD
EUVD-2009-4389
7 Oct 202500:30
euvd
NVD
CVE-2009-4422
24 Dec 200917:30
nvd
OpenVAS
Mandriva Security Advisory MDVSA-2009:340 (jpgraph)
30 Dec 200900:00
openvas
OpenVAS
JpGraph <= 3.0.6 Multiple XSS Vulnerabilities
13 Jan 201000:00
openvas
OpenVAS
Mandriva Security Advisory MDVSA-2009:340 (jpgraph)
30 Dec 200900:00
openvas
Prion
Cross site scripting
24 Dec 200917:30
prion
securityvulns
[ MDVSA-2009:340 ] jpgraph
29 Dec 200900:00
securityvulns
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_jpgraph_mult_xss_vuln.nasl 5306 2017-02-16 09:00:16Z teissa $
#
# JpGraph Multiple Cross-Site Scripting Vulnerabilities
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2010 Greenbone Networks GmbH, http://www.greenbone.net
#
# 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_solution = "Apply patches from below link,
  http://www.securityfocus.com/archive/1/archive/1/508586/100/0/threaded

  *****
  NOTE : Ignore this warning, if above mentioned patch is already applied.
  *****";

tag_impact = "Successful exploitation could allow remote attackers to execute arbitrary
  HTML and script code in a user's browser session in the context of an
  affected site and it result in XSS attack.
  Impact Level: Application.";
tag_affected = "JpGraph version 3.0.6 and prior on all running platform.";
tag_insight = "The flaw is due to the 'GetURLArguments()' function in 'jpgraph.php' not
  properly sanitising HTTP POST and GET parameter keys.";
tag_summary = "The host is running JpGraph and is prone to multiple Cross-Site
  Scripting vulnerabilities.";

if(description)
{
  script_id(800414);
  script_version("$Revision: 5306 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-16 10:00:16 +0100 (Thu, 16 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-01-13 15:42:20 +0100 (Wed, 13 Jan 2010)");
  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_cve_id("CVE-2009-4422");
  script_bugtraq_id(37483);
  script_name("JpGraph Multiple Cross-Site Scripting Vulnerabilities");

  script_xref(name : "URL" , value : "http://secunia.com/advisories/37832");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_MIXED_ATTACK);
  script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
  script_dependencies("gb_jpgraph_detect.nasl");
  script_family("Web application abuses");
  script_require_ports("Services/www", 80);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "solution" , value : tag_solution);
  exit(0);
}


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

jgphPort = get_http_port(default:80);
if(!jgphPort){
  exit(0);
}

jgphVer = get_kb_item("www/" + jgphPort + "/JpGraph");
if(!jgphVer){
  exit(0);
}

jgphVer = eregmatch(pattern:"^(.+) under (/.*)$", string:jgphVer);
if(!safe_checks() && jgphVer[2] != NULL)
{
  request = http_get(item:jgphVer[2] + "/../src/Examples/csim_in_html_ex1.php?'" +
                         "/><script>alert('OpenVAS-XSS')</script>=arbitrary",
                       port:jgphPort);
  response = http_send_recv(port:jgphPort, data:request);
  if(response =~ "HTTP/1\.. 200" && "\'OpenVAS-XSS\'" >< response)
  {
    security_message(jgphPort);
    exit(0);
  }
}

if(jgphVer[1] != NULL)
{
  if(version_is_less_equal(version:jgphVer[1], test_version:"3.0.6")){
    security_message(jgphPort);
  }
}

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

16 Feb 2017 00:00Current
6.2Medium risk
Vulners AI Score6.2
EPSS0.00329
16