Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Mandrake Local Security Checks >> MDKSA-2002:062-1: postgresql


Vulnerability Assessment Details

MDKSA-2002:062-1: postgresql

Vulnerability Assessment Summary
Check for the version of the postgresql package

Detailed Explanation for this Vulnerability Assessment

The remote host is missing the patch for the advisory MDKSA-2002:062-1 (postgresql).


Vulnerabilities were discovered in the Postgresql relational database by Mordred
Labs. These vulnerabilities are buffer overflows in the rpad(), lpad(),
repeat(), and cash_words() functions. The Postgresql developers also fixed a
buffer overflow in functions that deal with time/date and timezone.
Finally, more buffer overflows were discovered by Mordred Labs in the 7.2.2
release that are currently only fixed in CVS. These buffer overflows exist in
the circle_poly(), path_encode(), and path_addr() functions.
In order for these vulnerabilities to be exploited, a possible hacker must be able to
query the server somehow. However, this cannot directly lead to root privilege
because the server runs as the postgresql user.
Prior to upgrading, users should dump their database and retain it as backup.
You can dump the database by using:
$ pg_dumpall > db.out
If you need to restore from the backup, you can do so by using:
$ psql -f db.out template1
Update:
The previous update missed a few small fixes, including a buffer overflow in the
cash_words() function that permits local users to cause a DoS and possibly
execute arbitrary code via a malformed argument in Postgresql 7.2 and earlier.
As well, buffer overflows in the TZ and SET TIME ZONE environment variables for
Postgresql 7.2.1 and earlier can permit local users to cause a DoS and possibly
execute arbitrary code.


Solution : http://wwwnew.mandriva.com/security/advisories?name=MDKSA-2002:062-1
Network Security Threat Level: High

Networks Security ID: 5527, 5528, 6610, 6612, 6614, 6615

Vulnerability Assessment Copyright: This script is Copyright (C) 2004 Tenable Network Security

Cables, Connectors

HP Z800 Workstation Intel Xeon W5580 3.2GHz 48GB Ram 4x 300GB 15K SAS Quadro 600
$315.0
HP Z800 Workstation Intel Xeon W5580 3.2GHz 48GB Ram 4x 300GB 15K SAS Quadro 600 pictureLot of 15 Dell Precision T3500 Intel Xeon W3503 2.4GHz 4GB 250GB QTY
$1000.0
Lot of 15 Dell Precision T3500 Intel Xeon W3503 2.4GHz 4GB 250GB QTY  pictureDELL POWEREDGE R630 8 BAY E5-2637V4 3.5GHZ 32GB 1.2TB 10K SAS H730
$2169.0
DELL POWEREDGE R630 8 BAY E5-2637V4 3.5GHZ 32GB 1.2TB 10K SAS H730 pictureDELL POWEREDGE R730 8 BAY E5-2680V3 2.5GHZ 32GB 3 X 600GB SSD H730
$3889.0
DELL POWEREDGE R730 8 BAY E5-2680V3 2.5GHZ 32GB 3 X 600GB SSD H730 picture


Discussions

No Discussions have been posted on this vulnerability.