Lucene search
+L

Flashlight Free Edition <= 1.0 SQLi and Directory Traversal Vulnerability

🗓️ 09 Dec 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 35 Views

Flashlight Free Edition SQL Injection and Directory Traversal Vulnerability. Flaws in 'read.php' and 'admin.php' allow remote database manipulation and directory traversal attacks. No available solution

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-4204
2 Jun 200900:00
circl
cve
CVE
CVE-2009-4204
4 Dec 200919:00
cve
cvelist
Cvelist
CVE-2009-4204
4 Dec 200919:00
cvelist
exploitdb
Exploit DB
flashlight free edition - Local File Inclusion / SQL Injection
2 Jun 200900:00
exploitdb
euvd
EUVD
EUVD-2009-4174
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-4204
4 Dec 200919:30
nvd
openvas
OpenVAS
Flashlight Free Edition SQL Injection and Directory Traversal Vulnerability
9 Dec 200900:00
openvas
prion
Prion
Sql injection
4 Dec 200919:30
prion
# SPDX-FileCopyrightText: 2009 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.801075");
  script_version("2025-12-11T05:46:19+0000");
  script_tag(name:"last_modification", value:"2025-12-11 05:46:19 +0000 (Thu, 11 Dec 2025)");
  script_tag(name:"creation_date", value:"2009-12-09 07:52:52 +0100 (Wed, 09 Dec 2009)");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2009-4204", "CVE-2009-4205");
  script_name("Flashlight Free Edition <= 1.0 SQLi and Directory Traversal Vulnerability");
  script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/8856");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/50906");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_flashlight_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("flashlight/free/detected");

  script_tag(name:"impact", value:"Successful exploitation could allow remote attackers to view, add,
  modify or delete information in the back end database or include arbitrary files
  from local and remote resources to compromise a vulnerable server.");

  script_tag(name:"affected", value:"Flashlight Free version 1.0 and probably prior on all running
  platforms.");

  script_tag(name:"insight", value:"Flaws are due to:

  - An error in 'read.php' which is not properly sanitizing user supplied input
  before being used in SQL queries via 'id' parameter.

  - An error in 'admin.php' which is not properly sanitizing user supplied input
  before being used via a .. (dot dot) in the action 'parameter' which causes
  directory traversal attacks in the application context.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year
  since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
  options are to upgrade to a newer release, disable respective features, remove the product or
  replace the product by another one.");

  script_tag(name:"summary", value:"Flashlight Free Edition is prone to SQL injection (SQLi) and
  directory traversal vulnerabilities.");

  script_tag(name:"solution_type", value:"WillNotFix");

  exit(0);
}

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

fPort = http_get_port(default:80);

fVer = get_kb_item("www/" + fPort + "/Flashlight/Free");
if(!fVer)
  exit(0);

fVer = eregmatch(pattern:"^(.+) under (/.*)$", string:fVer);
if(fVer[1] != NULL)
{
  if(version_is_less_equal(version:fVer[1], test_version:"1.0")){
    security_message(fPort);
  }
}

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