CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS
Percentile
61.2%
The remote web server is running Dada Mail, a free, email list management system written in Perl.
According to its banner, the version of this software installed on the remote host does not properly validate user written content before submitting that data to the archiving system. A malicious user could embed arbitrary JavaScript in archived messages to later be executed in a user’s browser within the context of the affected website.
#%NASL_MIN_LEVEL 70300
#
# This script was written by Josh Zlatin-Amishav <josh at ramat dot cc>
#
# This script is released under the GNU GPLv2
# Changes by Tenable:
# - Revised plugin title (6/4/09)
# - Fixed a typo (04/25/14)
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(19679);
script_version("1.22");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2005-2595");
script_bugtraq_id(14573);
script_xref(name:"SECUNIA", value:"16435");
script_name(english:"Dada Mail Archived Message XSS");
script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a PERL script that is affected by a
cross-site scripting vulnerability.");
script_set_attribute(attribute:"description", value:
"The remote web server is running Dada Mail, a free, email list
management system written in Perl.
According to its banner, the version of this software installed on the
remote host does not properly validate user written content before
submitting that data to the archiving system. A malicious user could
embed arbitrary JavaScript in archived messages to later be executed
in a user's browser within the context of the affected website.");
# http://web.archive.org/web/20060315151616/http://mojo.skazat.com/download/testing_2_10_0_alpha1.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f2154baf");
script_set_attribute(attribute:"solution", value:
"Upgrade to version 2.10 alpha 1 or higher.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
script_set_attribute(attribute:"vuln_publication_date", value:"2005/08/16");
script_set_attribute(attribute:"plugin_publication_date", value:"2005/09/12");
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 : XSS");
script_copyright(english:"Copyright (C) 2005-2022 Josh Zlatin-Amishav");
script_dependencies("http_version.nasl");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("global_settings.inc");
include("misc_func.inc");
port = get_http_port(default:80, embedded:TRUE);
if(!get_port_state(port))exit(0);
if (thorough_tests) dirs = list_uniq(make_list("/cgi-bin/dada", cgi_dirs()));
else dirs = make_list(cgi_dirs());
foreach dir (dirs)
{
req = http_get(
item:string(
dir, "/mail.cgi"
),
port:port
);
res = http_keepalive_send_recv(port:port, data:req, bodyonly:TRUE);
if (isnull(res)) exit(0);
# versions 2.9.x are vulnerable
if(egrep(pattern:"Powered by.*Dada Mail 2\.9", string:res))
{
security_warning(port);
set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
exit(0);
}
}