Kod programskog paketa PostgreSQL uočene su i ispravljene višestruke ranjivosti. Moguće ih je iskoristiti za stjecanje povišenih ovlasti, lažiranje SSL certifikata i izvođenje proizvoljnih SQL naredbi.
Paket:
PostgreSQL 8.x, PostgreSQL 9.x
Operacijski sustavi:
Ubuntu Linux 8.04, Ubuntu Linux 10.04, Ubuntu Linux 10.10, Ubuntu Linux 11.04, Ubuntu Linux 11.10
Kritičnost:
5.8
Problem:
nepravilno rukovanje ovlastima, pogreška u programskoj funkciji, pogreška u programskoj komponenti
Iskorištavanje:
lokalno/udaljeno
Posljedica:
dobivanje većih privilegija, pokretanje SQL koda, zaobilaženje postavljenih ograničenja
Rješenje:
programska zakrpa proizvođača
CVE:
CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
Izvorni ID preporuke:
USN-1378-1
Izvor:
Ubuntu
Problem:
Otkriveno je da programski paket PostgreSQL sadrži višestruke propuste. Prvi od njih je nepravilna provjera dozvola funkcija pozivanih okidačem, drugi se javlja zbog neodgovarajuće provjere naziva računala unutar SSL certifikata dok je treći izazvan pogreškom u pg_dump komponenti.
Posljedica:
Zlonamjerni korisnik bi mogao iskoristiti navedene propuste za povećanje ovlasti na ranjivom sustavu, lažiranje SSL certifikata i pokretanje proizvoljnih SQL naredbi.
Rješenje:
Ranjivosti se mogu ukloniti instalacijom zakrpa za navedeni programski paket.
==========================================================================
Ubuntu Security Notice USN-1378-1
February 28, 2012
postgresql-8.3, postgresql-8.4, postgresql-9.1 vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 11.10
- Ubuntu 11.04
- Ubuntu 10.10
- Ubuntu 10.04 LTS
- Ubuntu 8.04 LTS
Summary:
Several security issues were fixed in PostgreSQL.
Software Description:
- postgresql-9.1: Object-relational SQL database
- postgresql-8.4: Object-relational SQL database
- postgresql-8.3: Object-relational SQL database
Details:
It was discovered that PostgreSQL incorrectly checked permissions on
functions called by a trigger. An attacker could attach a trigger to a
table they owned and possibly escalate privileges. (CVE-2012-0866)
It was discovered that PostgreSQL incorrectly truncated SSL certificate
name checks to 32 characters. If a host name was exactly 32 characters,
this issue could be exploited by an attacker to spoof the SSL certificate.
This issue affected Ubuntu 10.04 LTS, Ubuntu 10.10, Ubuntu 11.04 and
Ubuntu 11.10. (CVE-2012-0867)
It was discovered that the PostgreSQL pg_dump utility incorrectly filtered
line breaks in object names. An attacker could create object names that
execute arbitrary SQL commands when a dump script is reloaded.
(CVE-2012-0868)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 11.10:
postgresql-9.1 9.1.3-0ubuntu0.11.10
Ubuntu 11.04:
postgresql-8.4 8.4.11-0ubuntu0.11.04
Ubuntu 10.10:
postgresql-8.4 8.4.11-0ubuntu0.10.10
Ubuntu 10.04 LTS:
postgresql-8.4 8.4.11-0ubuntu0.10.04
Ubuntu 8.04 LTS:
postgresql-8.3 8.3.18-0ubuntu0.8.04
In general, a standard system update will make all the necessary changes.
This update uses a new upstream release, which includes additional bug
fixes.
References:
http://www.ubuntu.com/usn/usn-1378-1
CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
Package Information:
https://launchpad.net/ubuntu/+source/postgresql-9.1/9.1.3-0ubuntu0.11.10
https://launchpad.net/ubuntu/+source/postgresql-8.4/8.4.11-0ubuntu0.11.04
https://launchpad.net/ubuntu/+source/postgresql-8.4/8.4.11-0ubuntu0.10.10
https://launchpad.net/ubuntu/+source/postgresql-8.4/8.4.11-0ubuntu0.10.04
https://launchpad.net/ubuntu/+source/postgresql-8.3/8.3.18-0ubuntu0.8.04
Posljednje sigurnosne preporuke