Moderate: postgresql security update. Date: Fri, 14 Sep 2012 16:28:01 -0500 Reply-To: Connie Sieh Sender: Security Errata for Scientific Linux From: Connie Sieh Subject: Security ERRATA Moderate: postgresql on SL5.x i386/x86_64 Comments: To: scientific MIME-Version: 1.0 Synopsis: Moderate: postgresql security update Issue Date: 2012-09-13 CVE Numbers: CVE-2012-3488 It was found that the optional PostgreSQL xml2 contrib module allowed local files and remote URLs to be read and written to with the privileges of the database server when parsing Extensible Stylesheet Language Transformations (XSLT). An unprivileged database user could use this flaw to read and write to local files (such as the database's configuration files) and remote URLs they would otherwise not have access to by issuing a specially-crafted SQL query. (CVE-2012-3488) We would like to thank the PostgreSQL project for reporting this issue. Upstream acknowledges Peter Eisentraut as the original reporter. If the postgresql service is running, it will be automatically restarted after installing this update. SL5 x86_64 postgresql-8.1.23-6.el5_8.x86_64.rpm postgresql-contrib-8.1.23-6.el5_8.x86_64.rpm postgresql-docs-8.1.23-6.el5_8.x86_64.rpm postgresql-libs-8.1.23-6.el5_8.i386.rpm postgresql-libs-8.1.23-6.el5_8.x86_64.rpm postgresql-python-8.1.23-6.el5_8.x86_64.rpm postgresql-tcl-8.1.23-6.el5_8.x86_64.rpm postgresql-devel-8.1.23-6.el5_8.i386.rpm postgresql-devel-8.1.23-6.el5_8.x86_64.rpm postgresql-pl-8.1.23-6.el5_8.x86_64.rpm postgresql-server-8.1.23-6.el5_8.x86_64.rpm postgresql-test-8.1.23-6.el5_8.x86_64.rpm i386 postgresql-8.1.23-6.el5_8.i386.rpm postgresql-contrib-8.1.23-6.el5_8.i386.rpm postgresql-docs-8.1.23-6.el5_8.i386.rpm postgresql-libs-8.1.23-6.el5_8.i386.rpm postgresql-python-8.1.23-6.el5_8.i386.rpm postgresql-tcl-8.1.23-6.el5_8.i386.rpm postgresql-devel-8.1.23-6.el5_8.i386.rpm postgresql-pl-8.1.23-6.el5_8.i386.rpm postgresql-server-8.1.23-6.el5_8.i386.rpm postgresql-test-8.1.23-6.el5_8.i386.rpm - Scientific Linux Development Team . Critical security notification for MySQL weaknesses on Enterprise Linux EL6.x highlights database exposure risks needing immediate patching.. postgresql Update, Linux Security, Scientific Linux Errata. . LinuxSecurity.com Team
The configuration file for apache contains two security relevant errors.. -----BEGIN PGP SIGNED MESSAGE----- ______________________________________________________________________________ SuSE Security Announcement Package: apache Date: Thursday, September 7th, 2000 20:00 MEST Affected SuSE versions: 6.1, 6.2, 6.3, 6.4, 7.0 Vulnerability Type: remote file viewing Severity (1-10): 2 SuSE default package: yes Other affected systems: none, as of the release date of this advisory Content of this advisory: 1) security vulnerability resolved: apache problem description, discussion, solution and upgrade information 2) credits: @stake 3) standard appendix (further information) ______________________________________________________________________________ 1) problem description, brief discussion, solution, upgrade information The default package selection in SuSE distributions includes apache. The configuration file that comes with the package contains two security relevant errors: a) Starting in SuSE-6.0, a section in apache's configuration file /etc/httpd/httpd.conf reads Alias /cgi-bin-sdb/ /usr/local/httpd/cgi-bin/ This allows remote users to read the cgi script sources of the server, located in /usr/local/httpd/cgi-bin/. b) Starting with SuSE-6.3, the distribution comes with the apache module WebDAV. It is contained in a seperate package, named mod_dav, and it is installed if selected by hand or if a network server configuration has been selected in the installation process. mod_dav is not contained in the default package selection. WebDAV stands for "Web-based Distributed Authoring and Versioning" and allows users to collaboratively edit and manage files on remote web servers (see WebDAV Resources for further details!). If WebDAV is installed, apache willautomatically run with the module activated. Opposing the recommendations on the WebDAV homepage under mod_dav: a DAV module for Apache there is no access control or authentification activated. This should most definitely be considered a security problem. The overall policy wrt activating an installed package will adopt to this conclusion in future releases of the SuSE Linux distribution. Problem a) and b) can be easily solved by changing the relevant parts of apache's configuration file /etc/httpd/httpd.conf: a) Change "Alias /cgi-bin-sdb/ /usr/local/httpd/cgi-bin/" to read: "ScriptAlias /cgi-bin-sdb/ /usr/local/httpd/cgi-bin/" Then, restart apache: `/sbin/init.d/apache restart' b) Change "DAV On" to read: "DAV Off". This removes the problem, regardless of the package being installed or not. Alternatively, you may wish to remove the mod_dav package using the command `rpm -e mod_dav'. Then, restart apache: `/sbin/init.d/apache restart' SuSE strongly recommends to have these changes applied as soon as possible. In addition, SuSE provides an update for the vulnerable misconfigured packages for the case that the admin of a SuSE Linux machine did not change the configuration file yet. Download the update package from locations desribed below and install the package with the command `rpm -Fhv file.rpm'. The md5sum for each file is in the line below. You can verify the integrity of the rpm files using the command `rpm --checksig --nogpg file.rpm', independently from the md5 signatures below. i386 Intel Platform: SuSE-7.0 65bac933de7676ad3d8f63b32c608dad source rpm: 5b0f9ce9b5e2c3a45356fcd9cdff07ba SuSE-6.4 a4bea77974c9d300ac13698e6f9812eb source rpm: 39cf311c44bc760159c711c7ec97685f SuSE-6.3 87d7a6426857e6f3afcf991c273fc1a5 source rpm: ab81b76d0c4e6c765b77a69fd4143620 SuSE-6.2 d7c513bb4aad15a9f3dfb11ff1302405 source rpm: bdabbdf7df648c3b4b8c5fd031e65cfc SuSE-6.1 db40e37d1931fb4e5830358b37acee5e source rpm: 8ad785cb5f16456b8540982f1175b0b0 SuSE-6.0 Please use the update packages from the 6.1 directory for SuSE-6.0! Sparc Platform: SuSE-7.0 66f87cb2100960ee72ae1110fa077424 source rpm: fff4bd1d37a7e9d430e8a60898865567 AXP Alpha Platform: SuSE-6.4 The update packages will be available soon at the usual location . Until then, please correct the configuration file by hand as described above. SuSE-6.3 The update packages will be available soon at the usual location . Until then, please correct the configuration file by hand as described above. SuSE-6.1 eaca8f06c54c669d60f6a06fbe7301dc source rpm: 2227de2e6d5faf268413cd474175d126 PPC Power PC Platform: SuSE-6.4 0c830d4d33f2bac33d6a44ab0efc34e7 source rpm: f5fd7575d67e369f87fb2e5c47b61eaf SuSE-6.3 The update packages will be available soon at the usual location . Until then, please correct the configuration file by hand as described above. ______________________________________________________________________________ 2) Credits: SuSE would like to express its sincere appreciation for the efforts and the working style of the Cerberus Security Team/@Stake Inc., in particular to mnemonix (David Litchfield ) and to weld . Have a look at their website at for further information. ______________________________________________________________________________ 3) standard appendix: SuSE runs two security mailing lists to which any interested party may subscribe:
Get the latest Linux and open source security news straight to your inbox.