CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:L/AC:L/Au:N/C:C/I:C/A:C
AI Score
Confidence
High
EPSS
Percentile
87.4%
PostgreSQL is prone to multiple Privilege Escalation and Denial of Service (DoS)
vulnerabilities.
# SPDX-FileCopyrightText: 2018 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.113282");
script_version("2024-07-19T05:05:32+0000");
script_tag(name:"last_modification", value:"2024-07-19 05:05:32 +0000 (Fri, 19 Jul 2024)");
script_tag(name:"creation_date", value:"2018-10-30 15:32:24 +0200 (Tue, 30 Oct 2018)");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
script_cve_id("CVE-2007-6600", "CVE-2007-4772", "CVE-2007-6067", "CVE-2007-4769", "CVE-2007-6601");
script_name("PostgreSQL 7.4 < 7.4.19, 8.0 < 8.0.15, 8.1 < 8.1.11, 8.2 < 8.2.6 Multiple Vulnerabilities - Linux");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2018 Greenbone AG");
script_family("Denial of Service");
script_dependencies("gb_postgresql_consolidation.nasl", "os_detection.nasl");
script_mandatory_keys("postgresql/detected", "Host/runs_unixoide");
script_tag(name:"summary", value:"PostgreSQL is prone to multiple Privilege Escalation and Denial of Service (DoS)
vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"affected", value:"PostgreSQL 7.4.0 through 7.4.18, 8.0.0 through 8.0.14, 8.1.0 through 8.1.10
and 8.2.0 through 8.2.5.");
script_tag(name:"solution", value:"Update to version 7.4.19, 8.0.15, 8.1.11 or 8.2.6 respectively.");
script_xref(name:"URL", value:"https://www.securityfocus.com/archive/1/485864/100/0/threaded");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/27163");
exit(0);
}
CPE = "cpe:/a:postgresql:postgresql";
include("host_details.inc");
include("version_func.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 );
version = infos["version"];
location = infos["location"];
if( version_in_range( version: version, test_version: "7.4.0", test_version2: "7.4.18" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "7.4.19", install_path: location );
security_message( data: report, port: port );
exit( 0 );
}
if( version_in_range( version: version, test_version: "8.0.0", test_version2: "8.0.14" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "8.0.15", install_path: location );
security_message( data: report, port: port );
exit( 0 );
}
if( version_in_range( version: version, test_version: "8.1.0", test_version2: "8.1.10" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "8.1.11", install_path: location );
security_message( data: report, port: port );
exit( 0 );
}
if( version_in_range( version: version, test_version: "8.2.0", test_version2: "8.2.5" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "8.2.6", install_path: location );
security_message( data: report, port: port );
exit( 0 );
}
exit( 99 );