Description: Four vulnerabilities have been reported in Microsoft SQL Server, which can be exploited by malicious users to gain escalated privileges.
1) An error in the way memory page reuse is managed can be exploited by users with database operator access to gain knowledge of potentially sensitive information (e.g. data from another user's session).
2) A boundary error in the convert function when converting SQL expressions from one data type to another can be exploited to cause a buffer overflow via an overly long, specially crafted expression.
Successful exploitation may allow execution of arbitrary code with escalated privileges.
3) An error when processing database backup files can be exploited to cause a heap-based buffer overflow by loading a specially crafted database backup file via e.g. the RESTORE TSQL statement.
Successful exploitation may allow execution of arbitrary code with escalated privileges.
4) A boundary error when handling insert statements can be exploited to cause a buffer overflow via a specially crafted insert statement.
Successful exploitation may allow execution of arbitrary code with escalated privileges.
Provided and/or discovered by: 1) The vendor credits an anonymous person.
2) The vendor credits an anonymous person.
3) Brett Moore, Insomnia Security via iDefense.
4) The vendor credits an anonymous person.
Changelog: 2008-07-09: Added link to iDefense Labs. Updated description for vulnerability #3 based on information from Insomnia Security. Added link to Insomnia Security.
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.