Lucene search
K

Hastymail2 Session Cookie Security Bypass Vulnerability

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

Hastymail2 Session Cookie Security Bypass Vulnerability. Allows remote attackers to capture session cookie in HTTP session. Upgrade to RC 8 or later for fix

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2009-5051
18 Jan 201118:03
attackerkb
CVE
CVE-2009-5051
18 Jan 201117:00
cve
Cvelist
CVE-2009-5051
18 Jan 201117:00
cvelist
EUVD
EUVD-2009-5008
7 Oct 202500:30
euvd
NVD
CVE-2009-5051
18 Jan 201118:03
nvd
OpenVAS
Hastymail2 < RC8 Security Bypass Vulnerability
21 Jan 201100:00
openvas
Prion
Session fixation
18 Jan 201118:03
prion
SourceLink
hastymailwww.hastymail.org/security/
##############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_hastymail2_sec_bypass_vuln.nasl 7029 2017-08-31 11:51:40Z teissa $
#
# Hastymail2 Session Cookie Security Bypass 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 remote attackers to capture this cookie
  by intercepting its transmission within an HTTP session.
  Impact Level: Application";
tag_affected = "Hastymail2 version prior to RC 8";
tag_insight = "The flaw is due to error in handling of session cookie, which fails
  to set the secure flag for the session cookie in an HTTPS session.";
tag_solution = "Upgrade to the Hastymail2 RC 8 or later
  For updates refer to http://www.hastymail.org/blogs/News/";
tag_summary = "The host is running Hastymail2 and is prone to security bypass
  vulnerability.";

if(description)
{
  script_id(801577);
  script_version("$Revision: 7029 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-31 13:51:40 +0200 (Thu, 31 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-01-21 14:38:54 +0100 (Fri, 21 Jan 2011)");
  script_cve_id("CVE-2009-5051");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_name("Hastymail2 Session Cookie Security Bypass Vulnerability");
  script_xref(name : "URL" , value : "http://www.hastymail.org/security/");

  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 RC8
    if(version_is_less(version: ver, test_version:"2.8")){
      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

31 Aug 2017 00:00Current
6.7Medium risk
Vulners AI Score6.7
EPSS0.0025
15