[UNIX] Buffer Overflow in PostgreSQL's repeat()
From: SecuriTeam (support_at_securiteam.com)
Date: 11/02/03
- Previous message: SecuriTeam: "[REVS] Analysis of an Electronic Voting System"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 2 Nov 2003 18:01:13 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Buffer Overflow in PostgreSQL's repeat()
------------------------------------------------------------------------
SUMMARY
<http://www.postgresql.org/> PostgreSQL is "an advanced object-relational
database management system that supports an extended subset of the SQL
standard, including transactions, foreign keys, subqueries, triggers,
user-defined types and functions".
A vulnerability in PostgreSQL's repeat() allows attacker to cause the
program to execute arbitrary code by overflowing an internal buffer.
DETAILS
Vulnerable systems:
* PostgreSQL version 7.2.0 and prior
Upon invoking a repeat() function, a
src/backend/utils/adt/oracle_compat.c::repeat() function will gets called
which suffers from a buffer overflow.
How to reproduce:
psql> select repeat('xxx',1431655765);
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
ADDITIONAL INFORMATION
The information has been provided by <mailto:mordred@s-mail.com> Sir
Mordred The Traitor.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[REVS] Analysis of an Electronic Voting System"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|