Lucene search
K

Hastymail2 'background' Attribute Cross-site scripting vulnerability

🗓️ 21 Jan 2011 00:00:00Reported by Copyright (C) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 12 Views

Hastymail2 'background' Attribute Cross-site scripting vulnerability. Allows remote attackers to inject arbitrary web script or HTML within a cell in a TABLE element

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2010-4646
18 Jan 201117:00
cve
Cvelist
CVE-2010-4646
18 Jan 201117:00
cvelist
EUVD
EUVD-2010-4611
7 Oct 202500:30
euvd
NVD
CVE-2010-4646
18 Jan 201118:03
nvd
OpenVAS
Hastymail2 < 1.01 XSS Vulnerability
21 Jan 201100:00
openvas
Prion
Cross site scripting
18 Jan 201118:03
prion
##############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_hastymail2_xss_vuln.nasl 7006 2017-08-25 11:51:20Z teissa $
#
# Hastymail2 'background' Attribute Cross-site scripting vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation will allow attackers to execute arbitrary web
  script or HTML in a user's browser session in the context of an affected
  site.
  Impact Level: Application";
tag_affected = "Hastymail2 version prior to 1.01";
tag_insight = "The flaw is caused by improper validation of crafted background attribute
  within a cell in a TABLE element which allows remote attackers to inject
  arbitrary web script or HTML.";
tag_solution = "Upgrade to the Hastymail2 1.01 or later
  For updates refer to http://www.hastymail.org/blogs/News/";
tag_summary = "The host is running Hastymail2 and is prone to cross-site scripting
  vulnerability.";

if(description)
{
  script_id(801576);
  script_version("$Revision: 7006 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-25 13:51:20 +0200 (Fri, 25 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-01-21 14:38:54 +0100 (Fri, 21 Jan 2011)");
  script_cve_id("CVE-2010-4646");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_name("Hastymail2 'background' Attribute Cross-site scripting vulnerability");
  script_xref(name : "URL" , value : "http://www.hastymail.org/security/");
  script_xref(name : "URL" , value : "http://openwall.com/lists/oss-security/2011/01/05/3");
  script_xref(name : "URL" , value : "http://openwall.com/lists/oss-security/2011/01/06/14");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_hastymail2_detect.nasl");
  script_require_ports("Services/www", 80);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


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

## Get HTTP Port
port = get_http_port(default:80);
if(!port){
  exit(0);
}

## Get version from KB
ver = get_kb_item("www/" + port + "/Hastymail2");
if(!ver){
  exit(0);
}

hm2Ver = eregmatch(pattern:"^(.+) under (/.*)$", string:ver);
if(hm2Ver[1])
{
  ver = ereg_replace(pattern:"([A-Za-z]+)", replace:"0.", string:hm2Ver[1]);
  if(ver != NULL)
  {
    ## Check for version before 1.01
    if(version_is_less(version: ver, test_version:"1.01")){
      security_message(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

25 Aug 2017 00:00Current
6.5Medium risk
Vulners AI Score6.5
EPSS0.00329
12