__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN mod_auth_pgsql Security Update [Red Hat Security Advisory RHSA-2006:0164-7] January 6, 2006 17:00 GMT Number Q-091 [REVISED 19 Jan 2006] ______________________________________________________________________________ PROBLEM: A security vulnerability was discovered in the mod_auth_pgsql package. This package is an httpd module that allows user authentication against information stored in a PostgreSQL database. PLATFORM: Red Hat Desktop (v. 3 and v. 4) Red Hat Enterprise Linux AS, ES, WS (v. 3 and v. 4)
SGI ProPack 3 Service Pack 6 for SGI Altix family of systems DAMAGE: Several format string flaws were found in the way mod_auth_pgsql logs information. It may be possible for a remote attacker to execute arbitrary code as the 'apache' user if mod_auth_pgsql is used for user authentication. SOLUTION: Apply the available security updates. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. A remote attacker may execute arbitrary ASSESSMENT: code as the 'apache' user if if mod_auth_pgsql is used for user authentication. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-091.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2006-0164.html ADDITIONAL LINK: SGI Security Update #53, Number 20060101-01-U http://www.sgi.com/support/security/advisories.html CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2005-3656 ______________________________________________________________________________ REVISION HISTORY: 01/19/2006 - added link to SGI Security Update #53, Patch 10258 for SGI ProPack 3 Service Pack 6. [***** Start Red Hat Security Advisory RHSA-2006:0164-7 *****] Critical: mod_auth_pgsql security update Advisory: RHSA-2006:0164-7 Type: Security Advisory Issued on: 2006-01-05 Last updated on: 2006-01-05 Affected Products: Red Hat Desktop (v. 3) Red Hat Desktop (v. 4) Red Hat Enterprise Linux AS (v. 3) Red Hat Enterprise Linux AS (v. 4) Red Hat Enterprise Linux ES (v. 3) Red Hat Enterprise Linux ES (v. 4) Red Hat Enterprise Linux WS (v. 3) Red Hat Enterprise Linux WS (v. 4) CVEs (cve.mitre.org): CVE-2005-3656 Details Updated mod_auth_pgsql packages that fix format string security issues are now available for Red Hat Enterprise Linux 3 and 4. This update has been rated as having critical security impact by the Red Hat Security Response Team. The mod_auth_pgsql package is an httpd module that allows user authentication against information stored in a PostgreSQL database. Several format string flaws were found in the way mod_auth_pgsql logs information. It may be possible for a remote attacker to execute arbitrary code as the 'apache' user if mod_auth_pgsql is used for user authentication. The Common Vulnerabilities and Exposures project assigned the name CVE-2005-3656 to this issue. Please note that this issue only affects servers which have mod_auth_pgsql installed and configured to perform user authentication against a PostgreSQL database. All users of mod_auth_pgsql should upgrade to these updated packages, which contain a backported patch to resolve this issue. This issue does not affect the mod_auth_pgsql package supplied with Red Hat Enterprise Linux 2.1. Red Hat would like to thank iDefense for reporting this issue. Solution Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via Red Hat Network. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. Updated packages Red Hat Desktop (v. 3) SRPMS: mod_auth_pgsql-2.0.1-4.ent.1.src.rpm 78d123ce4dd88d2b473f3def9d1f78d8 IA-32: mod_auth_pgsql-2.0.1-4.ent.1.i386.rpm 416d662759b7e9a6cac6db24813cadf9 x86_64: mod_auth_pgsql-2.0.1-4.ent.1.x86_64.rpm cb2bd4600e4fab1ffc7e2b1fbb2a6dfb Red Hat Desktop (v. 4) SRPMS: mod_auth_pgsql-2.0.1-7.1.src.rpm 2a46d8268d1d434ed8ec089bf83e62bd IA-32: mod_auth_pgsql-2.0.1-7.1.i386.rpm 19b586cf092086566de31c883b116f8f x86_64: mod_auth_pgsql-2.0.1-7.1.x86_64.rpm 542f993464e75b8e6370c453e1dc8c7d Red Hat Enterprise Linux AS (v. 3) SRPMS: mod_auth_pgsql-2.0.1-4.ent.1.src.rpm 78d123ce4dd88d2b473f3def9d1f78d8 IA-32: mod_auth_pgsql-2.0.1-4.ent.1.i386.rpm 416d662759b7e9a6cac6db24813cadf9 IA-64: mod_auth_pgsql-2.0.1-4.ent.1.ia64.rpm 4a72fdbf3b94d7d1891e66d8465a5798 PPC: mod_auth_pgsql-2.0.1-4.ent.1.ppc.rpm 7b319bd7a03d74b6337b259f96950e8c s390: mod_auth_pgsql-2.0.1-4.ent.1.s390.rpm c989ef09e9c107cd05e9ca4e75bbc789 s390x: mod_auth_pgsql-2.0.1-4.ent.1.s390x.rpm 476139795bf63306aaf2d478fb471982 x86_64: mod_auth_pgsql-2.0.1-4.ent.1.x86_64.rpm cb2bd4600e4fab1ffc7e2b1fbb2a6dfb Red Hat Enterprise Linux AS (v. 4) SRPMS: mod_auth_pgsql-2.0.1-7.1.src.rpm 2a46d8268d1d434ed8ec089bf83e62bd IA-32: mod_auth_pgsql-2.0.1-7.1.i386.rpm 19b586cf092086566de31c883b116f8f IA-64: mod_auth_pgsql-2.0.1-7.1.ia64.rpm 90ca4b0d4160b78edda12d3d300bc2bb PPC: mod_auth_pgsql-2.0.1-7.1.ppc.rpm 514eea209095325a9d0c4acb6c1a181f s390: mod_auth_pgsql-2.0.1-7.1.s390.rpm 9c32645c2f524537233212c532e6d0a7 s390x: mod_auth_pgsql-2.0.1-7.1.s390x.rpm 7eef05e02885fad7fb86485fe2b46630 x86_64: mod_auth_pgsql-2.0.1-7.1.x86_64.rpm 542f993464e75b8e6370c453e1dc8c7d Red Hat Enterprise Linux ES (v. 3) SRPMS: mod_auth_pgsql-2.0.1-4.ent.1.src.rpm 78d123ce4dd88d2b473f3def9d1f78d8 IA-32: mod_auth_pgsql-2.0.1-4.ent.1.i386.rpm 416d662759b7e9a6cac6db24813cadf9 IA-64: mod_auth_pgsql-2.0.1-4.ent.1.ia64.rpm 4a72fdbf3b94d7d1891e66d8465a5798 x86_64: mod_auth_pgsql-2.0.1-4.ent.1.x86_64.rpm cb2bd4600e4fab1ffc7e2b1fbb2a6dfb Red Hat Enterprise Linux ES (v. 4) SRPMS: mod_auth_pgsql-2.0.1-7.1.src.rpm 2a46d8268d1d434ed8ec089bf83e62bd IA-32: mod_auth_pgsql-2.0.1-7.1.i386.rpm 19b586cf092086566de31c883b116f8f IA-64: mod_auth_pgsql-2.0.1-7.1.ia64.rpm 90ca4b0d4160b78edda12d3d300bc2bb x86_64: mod_auth_pgsql-2.0.1-7.1.x86_64.rpm 542f993464e75b8e6370c453e1dc8c7d Red Hat Enterprise Linux WS (v. 3) SRPMS: mod_auth_pgsql-2.0.1-4.ent.1.src.rpm 78d123ce4dd88d2b473f3def9d1f78d8 IA-32: mod_auth_pgsql-2.0.1-4.ent.1.i386.rpm 416d662759b7e9a6cac6db24813cadf9 IA-64: mod_auth_pgsql-2.0.1-4.ent.1.ia64.rpm 4a72fdbf3b94d7d1891e66d8465a5798 x86_64: mod_auth_pgsql-2.0.1-4.ent.1.x86_64.rpm cb2bd4600e4fab1ffc7e2b1fbb2a6dfb Red Hat Enterprise Linux WS (v. 4) SRPMS: mod_auth_pgsql-2.0.1-7.1.src.rpm 2a46d8268d1d434ed8ec089bf83e62bd IA-32: mod_auth_pgsql-2.0.1-7.1.i386.rpm 19b586cf092086566de31c883b116f8f IA-64: mod_auth_pgsql-2.0.1-7.1.ia64.rpm 90ca4b0d4160b78edda12d3d300bc2bb x86_64: mod_auth_pgsql-2.0.1-7.1.x86_64.rpm 542f993464e75b8e6370c453e1dc8c7d (The unlinked packages above are only available from the Red Hat Network) Bugs fixed (see bugzilla for more information) 177042 - CVE-2005-3656 mod_auth_pgsql format string issue References http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3656 These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from: https://www.redhat.com/security/team/key/#package The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/ [***** End Red Hat Security Advisory RHSA-2006:0164-7 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Red Hat for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) Q-081: netpbm Security Update Q-082: perl Security Update Q-083: perl Security Update for Red Hat (v.3) Q-084: Cisco Security Notice: Response to DoS in Cisco Clean Access Q-085: Microsoft Windows Metafile File (WMF) Vulnerability Q-086: MS Advisory Win32/Sober.Z@mm on January 6, 2006 Q-087: Blackberry Attachment Service Vulnerability Q-088: Perl Format String Vulnerabilities Q-089: httpd Security Update Q-090: Vulnerability in Graphics Rendering Engine