PostgreSQL 9.3.x < 9.3.25 / 9.4.x < 9.4.20 / 9.5.x < 9.5.15 / 9.6.x < 9.6.11 / 10.x < 10.6 / 11.x < 11.1 SQL 注入

critical Nessus 插件 ID 118936

简介

远程数据库服务器受到 SQL 注入漏洞的影响。

描述

远程主机上安装的 PostgreSQL 版本为低于 9.3.25 的 9.3.x、低于 9.4.20 的 9.4.x、低于 9.5.15 的 9.5.x、低于 9.6.11 的 9.6.x、低于 10.6 的 10.x,或低于 11.1 的 11.x。
因此,该应用程序受到以下漏洞的影响:

- pg_upgrade 和 pg_dump 中存在 SQL 注入 (SQLi) 漏洞(通过 CREATE TRIGGER ... REFERENCING)。经身份验证的远程攻击者可利用此漏洞,以超级用户权限执行任意 SQL 语句。

解决方案

升级至 PostgreSQL 9.3.25 / 9.4.20 / 9.5.15 / 9.6.11 / 10.6 / 11.1 或更高版本。

另见

https://www.postgresql.org/about/news/1905/

https://www.postgresql.org/docs/current/release-9-3-25.html

https://www.postgresql.org/docs/current/release-9-4-20.html

https://www.postgresql.org/docs/current/release-9-5-15.html

https://www.postgresql.org/docs/current/release-9-6-11.html

https://www.postgresql.org/docs/current/release-10-6.html

https://www.postgresql.org/docs/current/release-11-1.html

插件详情

严重性: Critical

ID: 118936

文件名: postgresql_20181108.nasl

版本: 1.14

类型: local

代理: windows, macosx, unix

系列: Databases

发布时间: 2018/11/14

最近更新时间: 2023/4/4

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Nessus

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: High

基本分数: 7.5

时间分数: 5.5

矢量: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS 分数来源: CVE-2018-16850

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.5

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

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

CPE: cpe:/a:postgresql:postgresql

易利用性: No known exploits are available

补丁发布日期: 2018/11/8

漏洞发布日期: 2018/11/8

参考资料信息

CVE: CVE-2018-16850

BID: 105923