PostgreSQL < 7.3.19, 7.4.x < 7.4.17, 8.0.x < 8.0.13, 8.1.x < 8.1.9, and 8.2.x < 8.2.4 Untrusted Search Path Vulnerability - Windows
🗓️ 23 Oct 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType
openvas🔗 plugins.openvas.org👁 59 Views
| Reporter | Title | Published | Views | Family All 71 |
|---|---|---|---|---|
| PostgreSQL SECURITY DEFINER Functions Local Privilege Escalation | 24 Apr 200700:00 | – | nessus | |
| CentOS 3 / 4 / 5 : postgresql (CESA-2007:0336) | 10 May 200700:00 | – | nessus | |
| Debian DSA-1309-1 : postgresql-8.1 - programming error | 18 Jun 200700:00 | – | nessus | |
| Debian DSA-1311-1 : postgresql-7.4 - programming error | 21 Jun 200700:00 | – | nessus | |
| Fedora 7 : postgresql-8.2.4-1.fc7 (2007-0174) | 6 Nov 200700:00 | – | nessus | |
| Fedora Core 6 : postgresql-8.1.9-1.fc6 (2007-565) | 7 Jun 200700:00 | – | nessus | |
| Fedora Core 5 : postgresql-8.1.9-1.fc5 (2007-566) | 7 Jun 200700:00 | – | nessus | |
| Fedora 7 : postgresql-8.2.6-1.fc7 (2008-0552) | 14 Jan 200800:00 | – | nessus | |
| FreeBSD : PostgresSQL -- TYPE in pg_temp execute arbitrary SQL during `SECURITY DEFINER` execution (9de4c1c1-b9ee-11e9-82aa-6cc21735f730) | 12 Aug 201900:00 | – | nessus | |
| GLSA-200705-12 : PostgreSQL: Privilege escalation | 11 May 200700:00 | – | nessus |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/23618 |
| exchange | www.exchange.xforce.ibmcloud.com/vulnerabilities/33842 |
| securitytracker | www.securitytracker.com/id |
# 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.112398");
script_version("2024-07-19T05:05:32+0000");
script_cve_id("CVE-2007-2138");
script_tag(name:"cvss_base", value:"6.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:P/I:P/A:P");
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-23 13:37:11 +0200 (Tue, 23 Oct 2018)");
script_tag(name:"qod_type", value:"remote_banner");
script_name("PostgreSQL < 7.3.19, 7.4.x < 7.4.17, 8.0.x < 8.0.13, 8.1.x < 8.1.9, and 8.2.x < 8.2.4 Untrusted Search Path Vulnerability - Windows");
script_tag(name:"summary", value:"PostgreSQL is prone to an untrusted search path vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Untrusted search path vulnerability in PostgreSQL allows remote authenticated users,
when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to 'search_path settings'.");
script_tag(name:"affected", value:"PostgreSQL versions before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13,
8.1.x before 8.1.9, and 8.2.x before 8.2.4.");
script_tag(name:"solution", value:"Update to version 7.3.19, 7.4.17, 8.0.13, 8.1.9, or 8.2.4 respectively.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"https://www.securitytracker.com/id?1017974");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/23618");
script_xref(name:"URL", value:"https://exchange.xforce.ibmcloud.com/vulnerabilities/33842");
script_copyright("Copyright (C) 2018 Greenbone AG");
script_category(ACT_GATHER_INFO);
script_family("Databases");
script_dependencies("gb_postgresql_consolidation.nasl", "os_detection.nasl");
script_mandatory_keys("postgresql/detected", "Host/runs_windows");
exit(0);
}
CPE = "cpe:/a:postgresql:postgresql";
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"];
path = infos["location"];
if(version_is_less(version:vers, test_version:"7.3.19")) {
fix = "7.3.19";
}
else if(vers =~ "^7\.4\.") {
if(version_is_less(version:vers, test_version:"7.4.17")) {
fix = "7.4.17";
}
}
else if(vers =~ "^8\.0\.") {
if(version_is_less(version:vers, test_version:"8.0.13")) {
fix = "8.0.13";
}
}
else if(vers =~ "^8\.1\.") {
if(version_is_less(version:vers, test_version:"8.1.9")) {
fix = "8.1.9";
}
}
else if(vers =~ "^8\.2\.") {
if(version_is_less(version:vers, test_version:"8.2.4")) {
fix = "8.2.4";
}
}
if(fix) {
report = report_fixed_ver(installed_version:vers, fixed_version:fix, install_path:path);
security_message(port:port, data:report);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
19 Jul 2024 00:00Current
8.7High risk
Vulners AI Score8.7
CVSS 26
EPSS0.0369