Lucene search

K
openvasCopyright (C) 2011 Greenbone AGOPENVAS:1361412562310801790
HistoryMay 23, 2011 - 12:00 a.m.

Perl Denial of Service Vulnerability - Windows

2011-05-2300:00:00
Copyright (C) 2011 Greenbone AG
plugins.openvas.org
11

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

AI Score

6.4

Confidence

Low

EPSS

0.017

Percentile

88.0%

Perl is prone to a denial of service (DoS) vulnerability.

# SPDX-FileCopyrightText: 2011 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.801790");
  script_version("2024-02-15T05:05:39+0000");
  script_tag(name:"last_modification", value:"2024-02-15 05:05:39 +0000 (Thu, 15 Feb 2024)");
  script_tag(name:"creation_date", value:"2011-05-23 15:31:07 +0200 (Mon, 23 May 2011)");
  script_cve_id("CVE-2011-0761");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_name("Perl Denial of Service Vulnerability - Windows");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/67355");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/47766");
  script_xref(name:"URL", value:"http://www.toucan-system.com/advisories/tssa-2011-03.txt");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/517916/100/0/threaded");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Denial of Service");
  script_dependencies("gb_perl_detect_win.nasl");
  script_mandatory_keys("Perl/Strawberry_or_Active/Installed");
  script_tag(name:"impact", value:"Successful exploitation will allow attackers to cause an affected
  application to crash, denying service to legitimate users.");
  script_tag(name:"affected", value:"Perl versions 5.10 and 5.10.1 on Windows.");
  script_tag(name:"insight", value:"The flaw is due to an error in 'getpeername', 'readdir', 'closedir',
  'getsockname', 'rewinddir', 'tell', or 'telldir' function calls. When given
  a wrong number of arguments, those functions will attempt to perform a
  comparison between an unallocated memory zone and a given register, resulting
  in a segmentation fault.");
  script_tag(name:"solution", value:"Upgrade to Perl version 5.12 or later.");
  script_tag(name:"summary", value:"Perl is prone to a denial of service (DoS) vulnerability.");
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}

include("version_func.inc");

apVer = get_kb_item("ActivePerl/Ver");
if(apVer)
{
  if(version_in_range(version:apVer, test_version:"5.10", test_version2:"5.10.1"))
  {
    report = report_fixed_ver(installed_version:apVer, vulnerable_range:"5.10 - 5.10.1");
    security_message(port: 0, data: report);
    exit(0);
  }
}

spVer = get_kb_item("Strawberry/Perl/Ver");
if(spVer)
{
  if(version_in_range(version:spVer, test_version:"5.10", test_version2:"5.10.1")){
    report = report_fixed_ver(installed_version:spVer, vulnerable_range:"5.10 - 5.10.1");
    security_message(port: 0, data: report);
  }
}

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

AI Score

6.4

Confidence

Low

EPSS

0.017

Percentile

88.0%