| Source | Link |
|---|---|
| samba | www.samba.org/samba/docs/old/Samba3-HOWTO/SWAT.html |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(26926);
script_version("1.9");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/06/01");
script_name(english:"SWAT Unauthenticated Access (Demo Mode)");
script_set_attribute(attribute:"synopsis", value:
"The remote host is running a web server for Samba administration.");
script_set_attribute(attribute:"description", value:
"The remote host is running SWAT, the Samba Web Administration Tool.
The remote SWAT server appears to be running in demo mode.
In demo mode, authentication is disabled and anyone can use SWAT to
modify Samba's configuration file. Demo mode should not be used on a
production server.");
script_set_attribute(attribute:"see_also", value:"https://www.samba.org/samba/docs/old/Samba3-HOWTO/SWAT.html");
script_set_attribute(attribute:"solution", value:
"Either disable SWAT or limit access to authorized users and ensure that
it is set up with stunnel to encrypt network traffic.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_attribute(attribute:"plugin_publication_date", value:"2007/10/05");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2007-2022 Tenable Network Security, Inc.");
script_dependencies("swat_detect.nasl");
script_require_ports("Services/swat", "Services/www", 901);
exit(0);
}
port = get_kb_item("SWAT/no_auth");
if (!isnull(port))
security_hole(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