Lucene search
K

Sambar Server /session/sendmail Arbitrary Mail Relay

🗓️ 25 May 2000 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 31 Views

Sambar Server allows unauthorized mail relaying via /session/sendmail endpoint.

Code
#%NASL_MIN_LEVEL 70300
#
# Copyright 2000 by Hendrik Scholz <[email protected]>
#

# Changes by Tenable:
# - Revised plugin title, reformatted description (4/3/2009)
# - Updated to use compat.inc, added CVSS score (11/20/2009)



include('deprecated_nasl_level.inc');
include('compat.inc');

if(description)
{
 script_id(10415);
 script_version("1.28");
 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
 
 script_name(english:"Sambar Server /session/sendmail Arbitrary Mail Relay");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote host has an application that allows unauthorized mail
relaying." );
 script_set_attribute(attribute:"description", value:
"The Sambar web server is running. It provides a web 
interface for sending emails. You may simply pass a POST request to 
/session/sendmail and by this send mails to anyone you want. Due to 
the fact that Sambar does not check HTTP referrers you do not need 
direct access to the server!" );
 script_set_attribute(attribute:"solution", value:
"Try to disable this module." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N");

 script_set_attribute(attribute:"plugin_publication_date", value: "2000/05/25");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 
 script_summary(english:"Sambar /session/sendmail mailer installed ?");
 
 script_category(ACT_ATTACK);
 
 script_copyright(english:"This script is Copyright (C) 2000-2021 Hendrik Scholz");

 script_family(english:"CGI abuses");

 script_dependencie("find_service1.nasl", "http_version.nasl");
 script_require_ports("Services/www", 80);
 script_require_keys("www/sambar");
 exit(0);
}

#
# The script code starts here

include("global_settings.inc");
include("http_func.inc");
include("http_keepalive.inc");

port = get_http_port(default:80, embedded:TRUE);

if( is_cgi_installed_ka(port:port, item:"/session/sendmail") ) security_warning(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

19 Jan 2021 00:00Current
5.5Medium risk
Vulners AI Score5.5
31