Bug 582615 - (CVE-2010-1169) CVE-2010-1169 PostgreSQL: PL/Perl Intended restriction bypass
CVE-2010-1169 PostgreSQL: PL/Perl Intended restriction bypass
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
public=20100517,reported=20100318,sou...
: Security
Depends On: 586056 586057 586058 586059 586060 586061 589541 589543 593032 593033 636659 812237 812245
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-15 08:49 EDT by Jan Lieskovsky
Modified: 2015-07-29 09:47 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-26 11:10:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2010-04-15 08:49:14 EDT
A flaw was found in the way the PostgreSQL enforced permission checks
on scripts written in PL/Perl. Once the PL/Perl procedural language
was registered on particular database, a remote, authenticated user,
privileged to create databases, running a specially-crafted PL/Perl
script, could use this flaw to bypass intended PL/Perl trusted mode
restrictions, allowing them to run arbitrary Perl scripts with the
privileges of the database server.

References:
  [1] PostgreSQL PL/Perl procedural language manual page:
      http://www.postgresql.org/docs/8.1/interactive/plperl.html
  [2] PostgreSQL Trusted and Untrusted PL/Perl mode manual page:
      http://www.postgresql.org/docs/8.1/interactive/plperl-trusted.html

Acknowledgements:

Red Hat would like to thank Tim Bunce for responsibly reporting
this issue.
Comment 7 Jan Lieskovsky 2010-04-21 12:17:04 EDT
This is CVE-2010-1169.
Comment 16 Vincent Danen 2010-05-17 12:41:11 EDT
This is public now:

http://www.postgresql.org/support/security.html
Comment 20 Fedora Update System 2010-05-17 15:08:42 EDT
postgresql-8.4.4-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/postgresql-8.4.4-1.fc12
Comment 21 Fedora Update System 2010-05-17 15:08:51 EDT
postgresql-8.3.11-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/postgresql-8.3.11-1.fc11
Comment 22 Fedora Update System 2010-05-17 15:09:01 EDT
postgresql-8.4.4-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/postgresql-8.4.4-1.fc13
Comment 23 Fedora Update System 2010-05-18 17:45:01 EDT
postgresql-8.4.4-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 24 Fedora Update System 2010-05-18 17:53:26 EDT
postgresql-8.4.4-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 25 Fedora Update System 2010-05-18 17:57:48 EDT
postgresql-8.3.11-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 26 Tomas Hoger 2010-05-19 03:37:22 EDT
Upstream commit (head/master branch):
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=5d17e8167a82e646124617c1e00004c73aa40afc
Comment 27 errata-xmlrpc 2010-05-19 11:48:39 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 3

Via RHSA-2010:0427 https://rhn.redhat.com/errata/RHSA-2010-0427.html
Comment 28 errata-xmlrpc 2010-05-19 12:15:59 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2010:0428 https://rhn.redhat.com/errata/RHSA-2010-0428.html
Comment 29 errata-xmlrpc 2010-05-19 12:30:01 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0429 https://rhn.redhat.com/errata/RHSA-2010-0429.html
Comment 30 errata-xmlrpc 2010-05-19 13:01:46 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0430 https://rhn.redhat.com/errata/RHSA-2010-0430.html
Comment 31 Vincent Danen 2010-09-22 16:16:13 EDT
Created sepostgresql tracking bugs for this issue

Affects: fedora-all [bug 636659]

Note You need to log in before you can comment on or make changes to this bug.