Lucene search
K

Owner Free File System Client Detection

🗓️ 20 Jun 2008 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 97 Views

Owner Free File System Client Detection - Pings an OFFSystem Client

Refs
Code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(33228);
  script_version("1.10");

  script_name(english:"Owner Free File System Client Detection");
  script_summary(english:"Pings an OFFSystem Client");

 script_set_attribute(attribute:"synopsis", value:
"The remote web server acts as a distributed filesystem." );
 script_set_attribute(attribute:"description", value:
"The remote web server is an OFFSystem client.  OFFSystem (Owner-Free
Filesystem) is a distributed filesystem for peer-to-peer file sharing
in which files are stored as randomized data blocks" );
 script_set_attribute(attribute:"see_also", value:"http://offsystem.sourceforge.net/" );
 script_set_attribute(attribute:"solution", value:
"Make sure use of this software is in line with your organization's
security and acceptable use policies." );
 script_set_attribute(attribute:"risk_factor", value:"None" );
 script_set_attribute(attribute:"plugin_publication_date", value: "2008/06/20");
 script_cvs_date("Date: 2019/11/22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:offsystem:offsystem");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_end_attributes();


  script_category(ACT_GATHER_INFO);
  script_family(english:"Peer-To-Peer File Sharing");

  script_copyright(english:"This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("http_version.nasl", "find_service2.nasl");
  script_require_ports("Services/www", 23402, 23403);

  exit(0);
}


include("global_settings.inc");
include("misc_func.inc");
include("http.inc");


port = get_http_port(default:23403, embedded: 0);

# Unless we're paranoid, make sure it looks like OFFSystem.
if (report_paranoia < 2)
{
  res = http_get_cache(item:"/", port:port, exit_on_fail: 1);

  if (
    # OFFSystem doesn't use a Server response header.
    "Server:" >!< res &&
    # Response when remote browser access is disabled.
    "This node is not permitting browser retrieval." >!< res &&
    # Response when remote browser access is enabled.
    "HTTP/1.1 403 FORBIDDEN" >!< res &&
    # Response on localhost.
    "a placeholder page for the OFFsystem http interface." >!< res
  ) exit(0, "The web server on port "+port+" does not look like OFFSystem.");
}


# Send a ping.
nodeid = "6988a87dc134c59a8592c8c9956fd11f5ae5ae0f";
username = "nessus";
ver = "0.19.13    win32";


postdata = string(
  username, "\t",
  ver, "\t",
  "1", "\t",
  "50885233", "\t",
  "0", "\t",
  "0", "\t",
  "5"
);
w = http_send_recv3(method:"POST", port: port, 
  item: "/something/maybe/ping",
  exit_on_fail: 1,
  content_type: "off/ping",
  add_headers: make_array(
    "OFF-Listen-Port", port,
    "OFF-Crypt-Pad", "unencrypted",
    "OFF-Node-ID", nodeid+":90:80"),
  data: postdata );
res = w[2];


# Report it if it's a ping response.
if (
  "POST /something/maybe/ping_response" >< res ||
  "Content-Type: off/ping_response" >< res
) security_note(port);

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

22 Nov 2019 00:00Current
5.5Medium risk
Vulners AI Score5.5
97