Permissions, Privileges, and Access Controls in PostgreSQL - CVE-2012-3488
Published: October 4, 2012 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote #AU# to read and manipulate data.
The libxslt support in contrib/xml2 in PostgreSQL 8.3 before 8.3.20, 8.4 before 8.4.13, 9.0 before 9.0.9, and 9.1 before 9.1.5 does not properly restrict access to files and URLs, which allows remote authenticated users to modify data, obtain sensitive information, or trigger outbound traffic to arbitrary external hosts by leveraging (1) stylesheet commands that are permitted by the libxslt security options or (2) an xslt_process feature, related to an XML External Entity (aka XXE) issue.
Affected software
Amazon Linux AMI
Gentoo Linux
Debian Linux
Ubuntu
postgresql (Alpine package)
postgresql-8.3 (Ubuntu package)
postgresql-8.4 (Ubuntu package)
postgresql-8.4 (Debian package)
postgresql-9.1 (Ubuntu package)
dev-db/postgresql-server
How to mitigate CVE-2012-3488
postgresql (Alpine package) - update to 9.0.9-r0
postgresql-8.3 (Ubuntu package) - update to 8.3.20-0ubuntu8.04
postgresql-8.4 (Ubuntu package) - addressed in versions 8.4.13-0ubuntu10.04, 8.4.13-0ubuntu11.04
postgresql-8.4 (Debian package) - update to 8.4.13-0squeeze1
postgresql-9.1 (Ubuntu package) - addressed in versions 9.1.5-0ubuntu11.10, 9.1.5-0ubuntu12.04
dev-db/postgresql-server - update to 9.1.5
External References
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- http://lists.opensuse.org/opensuse-updates/2012-09/msg00102.html
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00013.html
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00024.html
- http://rhn.redhat.com/errata/RHSA-2012-1263.html
- http://rhn.redhat.com/errata/RHSA-2012-1264.html
- http://secunia.com/advisories/50635
- http://secunia.com/advisories/50636
- http://secunia.com/advisories/50718
- http://secunia.com/advisories/50859
- http://secunia.com/advisories/50946
- http://www.debian.org/security/2012/dsa-2534
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:139
- http://www.postgresql.org/about/news/1407/
- http://www.postgresql.org/docs/8.3/static/release-8-3-20.html
- http://www.postgresql.org/docs/8.4/static/release-8-4-13.html
- http://www.postgresql.org/docs/9.0/static/release-9-0-9.html
- http://www.postgresql.org/docs/9.1/static/release-9-1-5.html
- http://www.postgresql.org/support/security/
- http://www.securityfocus.com/bid/55072
- http://www.ubuntu.com/usn/USN-1542-1
- https://blogs.oracle.com/sunsecurity/entry/multiple_vulnerabilities_in_postgresql2
- https://bugzilla.redhat.com/show_bug.cgi?id=849172
Related Security Bulletins
- Permissions, Privileges, and Access Controls in PostgreSQL
- Permissions, Privileges, and Access Controls in postgresql (Alpine package)
- Amazon Linux AMI update for postgresql8
- Amazon Linux AMI update for postgresql9
- Gentoo update for PostgreSQL
- Ubuntu update for postgresql-8.3, postgresql-8.4, postgresql-9.1
- DSA-2534-1: postgresql-8.4 - several