Scientific Linux 安全性更新:SL5.x、SL6.x i386/x86_64 上的 postgresql 與 postgresql84

medium Nessus Plugin ID 61316

概要

遠端 Scientific Linux 主機缺少一個或多個安全性更新。

說明

PostgreSQL 是一種進階物件關聯式資料庫管理系統 (DBMS)。

pg_dump 公用程式確實在其所產生 SQL 指令碼的註解中插入物件名稱。無權限的資料庫使用者可建立一個物件,其名稱包含後面接上 SQL 命令的新行字元。
在稍後還原備份轉儲存期間,這個 SQL 命令可能接著由有權限的使用者執行,進而達到權限提升。
(CVE-2012-0868)

當設定為執行 SSL 憑證驗證時,PostgreSQL 只檢查了憑證「共用名稱」欄位的前面 31 個字元。根據不同的組態,這個問題可使攻擊者模擬使用由信任的憑證授權單位核發出不同名稱之憑證的伺服器或用戶端。(CVE-2012-0867)

CREATE TRIGGER 未對所要呼叫的觸發函式進行權限檢查。這可能使經過驗證的資料庫使用者在其選擇的資料上呼叫有權限的觸發函式。
(CVE-2012-0866)

這些更新版套件將 PostgreSQL 升級至 8.4.11 版,可以修正這些問題和多個資料損毀問題,以及次要的非安全性問題。如需完整的變更清單,請參閱 PostgreSQL 版本資訊:

http://www.postgresql.org/docs/8.4/static/release.html

建議所有 PostgreSQL 使用者皆升級至這些更新版套件,其可更正這些問題。如果 postgresql 服務正在執行中,在安裝此更新之後,它會自動重新啟動。

解決方案

更新受影響的套件。

另請參閱

https://www.postgresql.org/docs/8.4/release.html

http://www.nessus.org/u?d76d0787

Plugin 詳細資訊

嚴重性: Medium

ID: 61316

檔案名稱: sl_20120521_postgresql_and_postgresql84_on_SL5_x.nasl

版本: 1.10

類型: local

代理程式: unix

已發布: 2012/8/1

已更新: 2021/1/14

支援的感應器: Nessus Agent, Nessus

風險資訊

VPR

風險因素: Medium

分數: 5.9

CVSS v2

風險因素: Medium

基本分數: 6.8

媒介: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

弱點資訊

CPE: p-cpe:/a:fermilab:scientific_linux:postgresql84-test, x-cpe:/o:fermilab:scientific_linux, p-cpe:/a:fermilab:scientific_linux:postgresql, p-cpe:/a:fermilab:scientific_linux:postgresql-contrib, p-cpe:/a:fermilab:scientific_linux:postgresql-debuginfo, p-cpe:/a:fermilab:scientific_linux:postgresql-devel, p-cpe:/a:fermilab:scientific_linux:postgresql-docs, p-cpe:/a:fermilab:scientific_linux:postgresql-libs, p-cpe:/a:fermilab:scientific_linux:postgresql-plperl, p-cpe:/a:fermilab:scientific_linux:postgresql-plpython, p-cpe:/a:fermilab:scientific_linux:postgresql-pltcl, p-cpe:/a:fermilab:scientific_linux:postgresql-server, p-cpe:/a:fermilab:scientific_linux:postgresql-test, p-cpe:/a:fermilab:scientific_linux:postgresql84, p-cpe:/a:fermilab:scientific_linux:postgresql84-contrib, p-cpe:/a:fermilab:scientific_linux:postgresql84-debuginfo, p-cpe:/a:fermilab:scientific_linux:postgresql84-devel, p-cpe:/a:fermilab:scientific_linux:postgresql84-docs, p-cpe:/a:fermilab:scientific_linux:postgresql84-libs, p-cpe:/a:fermilab:scientific_linux:postgresql84-plperl, p-cpe:/a:fermilab:scientific_linux:postgresql84-plpython, p-cpe:/a:fermilab:scientific_linux:postgresql84-pltcl, p-cpe:/a:fermilab:scientific_linux:postgresql84-python, p-cpe:/a:fermilab:scientific_linux:postgresql84-server, p-cpe:/a:fermilab:scientific_linux:postgresql84-tcl

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

修補程式發佈日期: 2012/5/21

弱點發布日期: 2012/7/18

參考資訊

CVE: CVE-2012-0866, CVE-2012-0867, CVE-2012-0868