CVE-2012-3488: Medium severity PostgreSQL postgresql vulnerability

Published Aug 17, 2012
·
Updated

An XML External Entities (XXE) attack was found in the way xml2 contrib module, providing XPath querying and XSLT functionality, of PostgreSQL, an advanced Object-Relational database management system (DBMS), performed processing of XSLT documents. When the xml2 contrib module was enabled an unprivileged database user could issue a specially-crafted SQL query to the PostgreSQL server that, when processed could lead to attacker's ability to read or write (alter) arbitrary system files, accessible with the privileges of the user running the PostgreSQL server.

References: [1] http://www.postgresql.org/docs/8.3/static/release-8-3-20.html [2] http://www.postgresql.org/docs/9.0/static/release-9-0-9.html [3] http://www.postgresql.org/docs/9.1/static/release-9-1-5.html

Other sources

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 xsltprocess feature, related to an XML External Entity (aka XXE) issue.

Affected Software

51 affected componentsFixes available
redhat/postgresql<9.1.5
9.1.5
redhat/postgresql<9.0.9
9.0.9
redhat/postgresql<8.4.13
8.4.13
redhat/postgresql<8.3.20
8.3.20
PostgreSQL postgresql=9.1
PostgreSQL postgresql=9.1.1
PostgreSQL postgresql=9.1.2
PostgreSQL postgresql=9.1.3
PostgreSQL postgresql=9.1.4
PostgreSQL postgresql=8.4
PostgreSQL postgresql=8.4.1
PostgreSQL postgresql=8.4.2
PostgreSQL postgresql=8.4.3
PostgreSQL postgresql=8.4.4
PostgreSQL postgresql=8.4.5
PostgreSQL postgresql=8.4.6
PostgreSQL postgresql=8.4.7
PostgreSQL postgresql=8.4.8
PostgreSQL postgresql=8.4.9
PostgreSQL postgresql=8.4.10
PostgreSQL postgresql=8.4.11
PostgreSQL postgresql=8.4.12
PostgreSQL postgresql=8.3
PostgreSQL postgresql=8.3.1
PostgreSQL postgresql=8.3.2
PostgreSQL postgresql=8.3.3
PostgreSQL postgresql=8.3.4
PostgreSQL postgresql=8.3.5
PostgreSQL postgresql=8.3.6
PostgreSQL postgresql=8.3.7
PostgreSQL postgresql=8.3.8
PostgreSQL postgresql=8.3.9
PostgreSQL postgresql=8.3.10
PostgreSQL postgresql=8.3.11
PostgreSQL postgresql=8.3.12
PostgreSQL postgresql=8.3.13
PostgreSQL postgresql=8.3.14
PostgreSQL postgresql=8.3.15
PostgreSQL postgresql=8.3.16
PostgreSQL postgresql=8.3.17
PostgreSQL postgresql=8.3.18
PostgreSQL postgresql=8.3.19
PostgreSQL postgresql=9.0
PostgreSQL postgresql=9.0.1
PostgreSQL postgresql=9.0.2
PostgreSQL postgresql=9.0.3
PostgreSQL postgresql=9.0.4
PostgreSQL postgresql=9.0.5
PostgreSQL postgresql=9.0.6
PostgreSQL postgresql=9.0.7
PostgreSQL postgresql=9.0.8

Event History

Aug 17, 2012
Data Sourced
via Red Hat·02:59 PM
DescriptionSeverityAffected Software
Oct 3, 2012
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-3488?

CVE-2012-3488 is classified as a medium severity vulnerability due to its potential for XML External Entity (XXE) attacks.

2

How do I fix CVE-2012-3488?

To fix CVE-2012-3488, users should upgrade to PostgreSQL version 9.1.5, 9.0.9, 8.4.13, or 8.3.20.

3

What systems are affected by CVE-2012-3488?

CVE-2012-3488 affects PostgreSQL versions 9.1.x, 9.0.x, 8.4.x, and 8.3.x when the xml2 contrib module is enabled.

4

What is an XML External Entity (XXE) attack in relation to CVE-2012-3488?

An XML External Entity (XXE) attack exploits vulnerable XML parsers to access local files or internal system resources.

5

Can CVE-2012-3488 lead to data loss or exposure?

Yes, CVE-2012-3488 can potentially lead to data exfiltration or exposure if exploited successfully.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203