LightNEasy < 2.2.1 / 2.2.2 XSS Vulnerability
🗓️ 19 Jun 2009 00:00:00Reported by Copyright (C) 2009 Greenbone Networks GmbHType
openvas🔗 plugins.openvas.org👁 23 Views
| Reporter | Title | Published | Views | Family All 6 |
|---|---|---|---|---|
| CVE-2009-1937 | 5 Jun 200918:13 | – | cve | |
| CVE-2009-1937 | 5 Jun 200918:13 | – | cvelist | |
| EUVD-2009-1932 | 7 Oct 202500:30 | – | euvd | |
| CVE-2009-1937 | 5 Jun 200918:30 | – | nvd | |
| Cross-Site Scripting Vulnerability in LightNEasy | 19 Jun 200900:00 | – | openvas | |
| Cross site scripting | 5 Jun 200918:30 | – | prion |
| Source | Link |
|---|---|
| secunia | www.secunia.com/advisories/35354 |
| securityfocus | www.securityfocus.com/bid/35229 |
| securityfocus | www.securityfocus.com/archive/1/archive/1/504092/100/0/threaded |
# Copyright (C) 2009 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900372");
script_version("2022-05-09T13:48:18+0000");
script_tag(name:"last_modification", value:"2022-05-09 13:48:18 +0000 (Mon, 09 May 2022)");
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_name("LightNEasy < 2.2.1 / 2.2.2 XSS Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("secpod_lightneasy_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("lightneasy/detected");
script_xref(name:"URL", value:"http://secunia.com/advisories/35354");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/35229");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/504092/100/0/threaded");
script_tag(name:"summary", value:"LightNEasy is prone to a cross-site scripting (XSS)
vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The following flaws exist:
- Input passed to the 'commentname', 'commentemail' and 'commentmessage' parameters when posting a
comment is not properly sanitised before being used.
- 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.");
script_tag(name:"impact", value:"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.");
script_tag(name:"affected", value:"LightNEasy version 2.2.1 and prior (no database) and LightNEasy
version 2.2.2 and prior (SQLite).");
script_tag(name:"solution", value:"Update to version 3.1 or later.");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("http_func.inc");
include("port_service_func.inc");
include("version_func.inc");
port = http_get_port(default:80);
sqliteVer = get_kb_item("www/" + port + "/LightNEasy/Sqlite");
if(sqliteVer) {
sqliteVer = eregmatch(pattern:"^(.+) under (/.*)$", string:sqliteVer);
if(sqliteVer[1]) {
if(version_is_less_equal(version:sqliteVer[1], test_version:"2.2.2")) {
report = report_fixed_ver(installed_version:sqliteVer[1], vulnerable_range:"Less than or equal to 2.2.2");
security_message(port:port, data:report);
exit(0);
}
}
}
nodbVer = get_kb_item("www/" + port + "/LightNEasy/NoDB");
if(nodbVer) {
nodbVer = eregmatch(pattern:"^(.+) under (/.*)$", string:nodbVer);
if(nodbVer[1]) {
if(version_is_less_equal(version:nodbVer[1], test_version:"2.2.1")) {
report = report_fixed_ver(installed_version:nodbVer[1], vulnerable_range:"Less than or equal to 2.2.1");
security_message(port:port, data:report);
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
09 May 2022 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 24.3
EPSS0.01033