Lucene search

K
openvasCopyright (C) 2016 Greenbone Networks GmbHOPENVAS:1361412562310807712
HistoryMar 23, 2016 - 12:00 a.m.

Asterisk Multiple Denial of Service Vulnerabilities

2016-03-2300:00:00
Copyright (C) 2016 Greenbone Networks GmbH
plugins.openvas.org
10

0.02 Low

EPSS

Percentile

87.7%

This host is running Asterisk and is
prone to multiple denial of service vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_asterisk_mult_dos_vuln.nasl 12455 2018-11-21 09:17:27Z cfischer $
#
# Asterisk Multiple Denial of Service Vulnerabilities
#
# Authors:
# tushar Khelge <[email protected]>
#
# Copyright:
# Copyright (C) 2016 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.
###############################################################################

CPE = "cpe:/a:digium:asterisk";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.807712");
  script_version("$Revision: 12455 $");
  script_cve_id("CVE-2016-2232", "CVE-2016-2316");
  script_bugtraq_id(83352, 82651);
  script_tag(name:"cvss_base", value:"7.1");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:C");
  script_tag(name:"last_modification", value:"$Date: 2018-11-21 10:17:27 +0100 (Wed, 21 Nov 2018) $");
  script_tag(name:"creation_date", value:"2016-03-23 11:31:35 +0530 (Wed, 23 Mar 2016)");
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_name("Asterisk Multiple Denial of Service Vulnerabilities");

  script_tag(name:"summary", value:"This host is running Asterisk and is
  prone to multiple denial of service vulnerabilities.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Multiple flaws exist due to

  - An error in 'chan_sip' function when the 'timert1 sip.conf' configuration
    is set to a value greater than 1245]

  - An input validation error in UDPTL FAX packet.");

  script_tag(name:"impact", value:"Successful exploitation will allow
  remote attackers to cause a denial of service condition.");

  script_tag(name:"affected", value:"Asterisk version 1.8.x and
  11.x before 11.21.1, 12.x and 13.x before 13.7.1.");

  script_tag(name:"solution", value:"Upgrade to version 11.21.1 or 13.7.1 or later.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_xref(name:"URL", value:"http://downloads.asterisk.org/pub/security/AST-2016-002.html");
  script_xref(name:"URL", value:"http://downloads.asterisk.org/pub/security/AST-2016-003.html");

  script_copyright("Copyright (C) 2016 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("Denial of Service");
  script_dependencies("secpod_asterisk_detect.nasl");
  script_mandatory_keys("Asterisk-PBX/Installed");
  exit(0);
}

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

astPort = get_app_port(cpe:CPE);
if(!astPort){
  exit(0);
}

astVer = get_app_version(cpe:CPE, port:astPort);
if(isnull(astVer)){
  exit(0);
}

if((astVer =~ "^(1\.8)")||
    version_in_range(version:astVer, test_version:"11.0.0", test_version2:"11.21.0"))
{
  fix = "11.21.1";
  VULN = TRUE;
}

else if(version_in_range(version:astVer, test_version:"12.0.0", test_version2:"13.7.0"))
{
  fix = "13.7.1";
  VULN = TRUE;
}

if(VULN)
{
    report = report_fixed_ver(installed_version:astVer, fixed_version:fix);
    security_message(data:report, port:astPort);
    exit(0);
}

0.02 Low

EPSS

Percentile

87.7%