Lucene search
K

Cross-Site Scripting Vulnerability in LightNEasy

🗓️ 19 Jun 2009 00:00:00Reported by Copyright (C) 2009 LightNEasyType 
openvas
 openvas
🔗 plugins.openvas.org👁 12 Views

Cross-Site Scripting Vulnerability in LightNEasy version 2.2.1 and prio

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2009-1937
5 Jun 200918:13
cve
Cvelist
CVE-2009-1937
5 Jun 200918:13
cvelist
EUVD
EUVD-2009-1932
7 Oct 202500:30
euvd
NVD
CVE-2009-1937
5 Jun 200918:30
nvd
OpenVAS
LightNEasy < 2.2.1 / 2.2.2 XSS Vulnerability
19 Jun 200900:00
openvas
Prion
Cross site scripting
5 Jun 200918:30
prion
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_lightneasy_xss_vuln.nasl 5055 2017-01-20 14:08:39Z teissa $
#
# Cross-Site Scripting Vulnerability in LightNEasy
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2009 SecPod, http://www.secpod.com
#
# 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_impact = "Successful exploitation will allow attacker to inject arbitrary HTML and
  script code, which will be executed when the malicious comment is viewed and
  disclose the content of arbitrary files on an affected system.
  Impact Level: Application";
tag_affected = "LightNEasy version 2.2.1 and prior (no database) and
  LightNEasy version 2.2.2 and prior (SQLite)";
tag_insight = "Multiple flaws arise because,
  - The input passed to the 'commentname', 'commentemail' and 'commentmessage'
    parameters when posting a comment is not properly sanitised before being
    used.
  - The input passed via the 'page' parameter to LightNEasy.php is not properly
    sanitised before being used to read files and can be exploited by directory
    traversal attacks.";
tag_solution = "Upgrade to LightNEasy version 3.1 or later.
  For updates refer to http://www.lightneasy.org/index.php";
tag_summary = "This host is running LightNEasy and is prone to Cross-Site
  Scripting vulnerability.";

if(description)
{
  script_id(900372);
  script_version("$Revision: 5055 $");
  script_tag(name:"last_modification", value:"$Date: 2017-01-20 15:08:39 +0100 (Fri, 20 Jan 2017) $");
  script_tag(name:"creation_date", value:"2009-06-19 09:45:44 +0200 (Fri, 19 Jun 2009)");
  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-1937");
  script_bugtraq_id(35229);
  script_name("Cross-Site Scripting Vulnerability in LightNEasy");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/35354");
  script_xref(name : "URL" , value : "http://www.securityfocus.com/archive/1/archive/1/504092/100/0/threaded");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 LightNEasy");
  script_family("Web application abuses");
  script_dependencies("secpod_lightneasy_detect.nasl");
  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 : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


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

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

sqliteVer = get_kb_item("www/"+ lightNEasyPort + "/LightNEasy/Sqlite");
if(sqliteVer != NULL)
{
  sqliteVer = eregmatch(pattern:"^(.+) under (/.*)$", string:sqliteVer);
  if(sqliteVer[1] != NULL)
  {
    # Check for LightNEasy version <= 2.2.2 SQLite
    if(version_is_less_equal(version:sqliteVer[1], test_version:"2.2.2")){
      security_message(lightNEasyPort);
      exit(0);
    }
  }
}

nodbVer = get_kb_item("www/"+ lightNEasyPort + "/LightNEasy/NoDB");
if(nodbVer != NULL)
{
  nodbVer = eregmatch(pattern:"^(.+) under (/.*)$", string:nodbVer);
  if(nodbVer[1] != NULL)
  {
    # Check for LightNEasy version <= 2.2.1 no database
    if(version_is_less_equal(version:nodbVer[1], test_version:"2.2.1")){
      security_message(lightNEasyPort);
    }
  }
}

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

20 Jan 2017 00:00Current
6.3Medium risk
Vulners AI Score6.3
EPSS0.00285
12