Lucene search

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

PostgreSQL Unspecified Vulnerability (Apr 2013) - Windows

2013-04-0900:00:00
Copyright (C) 2013 Greenbone AG
plugins.openvas.org
19

7.3 High

AI Score

Confidence

High

0.008 Low

EPSS

Percentile

82.0%

PostgreSQL is prone to an unspecified vulnerability.

# 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

CPE = "cpe:/a:postgresql:postgresql";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.803474");
  script_version("2024-02-08T05:05:59+0000");
  script_cve_id("CVE-2013-1900");
  script_tag(name:"cvss_base", value:"8.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2024-02-08 05:05:59 +0000 (Thu, 08 Feb 2024)");
  script_tag(name:"creation_date", value:"2013-04-09 17:47:57 +0530 (Tue, 09 Apr 2013)");
  script_name("PostgreSQL Unspecified Vulnerability (Apr 2013) - Windows");
  script_xref(name:"URL", value:"http://secunia.com/advisories/52837");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/58879");
  script_xref(name:"URL", value:"http://securitytracker.com/id?1028387");
  script_xref(name:"URL", value:"http://www.postgresql.org/about/news/1456");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_family("Databases");
  script_dependencies("postgresql_detect.nasl", "secpod_postgresql_detect_lin.nasl", "secpod_postgresql_detect_win.nasl", "os_detection.nasl");
  script_mandatory_keys("postgresql/detected", "Host/runs_windows");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to guess random numbers
  generated by contrib/pgcrypto functions and other unspecified attacks are also possible.");

  script_tag(name:"affected", value:"PostgreSQL version 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x
  before 9.0.13, and 8.4.x before 8.4.17.");

  script_tag(name:"insight", value:"Unspecified flaw in the contrib/pgcrypto functions.");

  script_tag(name:"solution", value:"Upgrade to PostgreSQL 8.4.17, 9.0.13, 9.1.9, 9.2.4 or later.");

  script_tag(name:"summary", value:"PostgreSQL is prone to an unspecified vulnerability.");

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

  exit(0);
}

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

if(isnull(port = get_app_port(cpe:CPE)))
  exit(0);

if(!infos = get_app_version_and_location(cpe:CPE, port:port, exit_no_version:TRUE))
  exit(0);

vers = infos["version"];
loc = infos["location"];

if(vers !~ "^(8\.4|9\.[0-2])\.")
  exit(99);

if(version_in_range(version:vers, test_version:"8.4", test_version2:"8.4.16") ||
   version_in_range(version:vers, test_version:"9.0", test_version2:"9.0.12") ||
   version_in_range(version:vers, test_version:"9.1", test_version2:"9.1.8") ||
   version_in_range(version:vers, test_version:"9.2", test_version2:"9.2.3")) {
  report = report_fixed_ver(installed_version:vers, fixed_version:"See references", install_path:loc);
  security_message(port:port, data:report);
  exit(0);
}

exit(99);