Lucene search

K
openvasCopyright (C) 2013 Greenbone AGOPENVAS:1361412562310103701
HistoryApr 22, 2013 - 12:00 a.m.

TCP/IP Predictable TCP Initial Sequence Number Vulnerability

2013-04-2200:00:00
Copyright (C) 2013 Greenbone AG
plugins.openvas.org
1238

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

7.5 High

AI Score

Confidence

High

0.029 Low

EPSS

Percentile

90.8%

The remote host has predictable TCP sequence numbers.

# SPDX-FileCopyrightText: 2013 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.103701");
  script_version("2023-11-02T05:05:26+0000");
  script_cve_id("CVE-1999-0077", "CVE-2000-0328", "CVE-2000-0916", "CVE-2001-0162", "CVE-2001-0288",
                "CVE-2001-0328", "CVE-2002-1463", "CVE-2003-1230", "CVE-2004-0641", "CVE-2007-2782",
                "CVE-2015-3963", "CVE-2018-7356");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2023-11-02 05:05:26 +0000 (Thu, 02 Nov 2023)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-10-09 23:42:00 +0000 (Wed, 09 Oct 2019)");
  script_tag(name:"creation_date", value:"2013-04-22 11:14:29 +0200 (Mon, 22 Apr 2013)");
  script_name("TCP/IP Predictable TCP Initial Sequence Number Vulnerability");
  script_category(ACT_GATHER_INFO);
  script_family("General");
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_dependencies("find_service.nasl");
  # nb: Set by nmap.nasl but adding a dependency to VT of the "ACT_SCANNER" VT is not allowed.
  # Please don't add such a dependency above.
  script_mandatory_keys("Host/tcp_seq");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/670");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/107");
  script_xref(name:"URL", value:"http://teso.scene.at/");
  script_xref(name:"URL", value:"http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20010301-ios-tcp-isn-random");
  script_xref(name:"URL", value:"ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-00:52.tcp-iss.asc");
  script_xref(name:"URL", value:"https://docs.microsoft.com/en-us/security-updates/securitybulletins/1999/ms99-046");

  script_tag(name:"summary", value:"The remote host has predictable TCP sequence numbers.");

  script_tag(name:"impact", value:"An attacker may use this flaw to spoof TCP connections.");

  script_tag(name:"vuldetect", value:"Checks previous gathered info about the 'TCP sequence numbers' previously gathered
  by the VT 'Nmap (NASL wrapper)' (OID: 1.3.6.1.4.1.25623.1.0.14259).

  Note: This VT needs to be included in your scan configuration if you are not using the predefined 'Full and fast' or 'Full and very deep'
  scan configurations.");

  script_tag(name:"solution", value:"Update your OS to a more recent version.");

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

  exit(0);
}

tcp_seq = get_kb_item("Host/tcp_seq");
if(!tcp_seq)
  exit(0);

if(tcp_seq == "constant") {
  security_message(port:0, data:"The TCP sequence numbers of the remote host are constant.");
  exit(0);
}

else if(tcp_seq == "800") {
  security_message(port:0, data:"The TCP sequence numbers of the remote host are always incremented by 800, so they can be guessed rather easily.");
  exit(0);
}

else if(tcp_seq == "64000") {
  security_message(port:0, data:"The TCP sequence numbers of the remote host are always incremented by 64000, so they can be guessed rather easily.");
  exit(0);
}

else if(tcp_seq == "time") {
  security_message(port:0, data:"The TCP sequence numbers of the remote host depends on the time, so they can be guessed rather easily.");
  exit(0);
}

exit(99);

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

7.5 High

AI Score

Confidence

High

0.029 Low

EPSS

Percentile

90.8%