Lucene search
+L

MySQL Connector/Net SSL Certificate Validation Security Bypass Vulnerability

🗓️ 07 May 2010 00:00:00Reported by Copyright (C) 2010 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 14 Views

MySQL Connector/Net SSL Certificate Validation Security Bypass Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2009-4833
29 Apr 201019:00
cve
cvelist
Cvelist
CVE-2009-4833
29 Apr 201019:00
cvelist
euvd
EUVD
EUVD-2009-4796
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-4833
29 Apr 201019:30
nvd
openvas
OpenVAS
MySQL Connector/Net SSL Certificate Validation Security Bypass Vulnerability
7 May 201000:00
openvas
prion
Prion
Code injection
29 Apr 201019:30
prion
# SPDX-FileCopyrightText: 2010 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.801205");
  script_version("2023-07-28T16:09:07+0000");
  script_tag(name:"last_modification", value:"2023-07-28 16:09:07 +0000 (Fri, 28 Jul 2023)");
  script_tag(name:"creation_date", value:"2010-05-07 15:36:02 +0200 (Fri, 07 May 2010)");
  script_cve_id("CVE-2009-4833");
  script_tag(name:"cvss_base", value:"5.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:P");
  script_name("MySQL Connector/Net SSL Certificate Validation Security Bypass Vulnerability");
  script_xref(name:"URL", value:"http://secunia.com/advisories/35604");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/35514");
  script_xref(name:"URL", value:"http://bugs.mysql.com/bug.php?id=38700");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/51406");

  script_tag(name:"qod_type", value:"registry");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 Greenbone AG");
  script_family("General");
  script_dependencies("smb_reg_service_pack.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  script_tag(name:"impact", value:"Successful exploitation will allow attackers to perform man-in-the-middle
  attacks, which will aid in further attacks.");
  script_tag(name:"affected", value:"MySQL Connector/Net 6.0.3 and prior.");
  script_tag(name:"insight", value:"The flaw is caused by improper verification of certificates when using SSL
  connections that allow remote attackers to conduct spoofing attacks.");
  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"solution", value:"Upgrade to the latest version of MySQL Connector/Net 6.0.4 or later.");
  script_tag(name:"summary", value:"MySQL Connector/Net is prone to a security bypass vulnerability.");
  exit(0);
}

include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

## COnfirm it's Windows
if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

key = "SOFTWARE\MySQL AB\";
if(!registry_key_exists(key:key)) {
    exit(0);
}

enumKeys = registry_enum_keys(key:key);

## Exit if no keys exists
if(isnull(enumKeys)){
  exit(0);
}

foreach item (enumKeys)
{
  if("MySQL Connector/Net" >< item)
  {
    ver = registry_get_sz(key:key+item, item:"Version");

    if(ver && version_is_less(version: ver, test_version: "6.0.4")){
      security_message( port: 0, data: "The target host was found to be vulnerable" );
    }
    exit(0);
  }
}

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

28 Jul 2023 00:00Current
6.7Medium risk
Vulners AI Score6.7
CVSS 25.8
EPSS0.0095
14