Microsoft SQL Server JET Database Engine 4.0 Buffer Overrun Vulnerability
BID:7541
Info
Microsoft SQL Server JET Database Engine 4.0 Buffer Overrun Vulnerability
| Bugtraq ID: | 7541 |
| Class: | Boundary Condition Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 09 2003 12:00AM |
| Updated: | May 09 2003 12:00AM |
| Credit: | Discovery is credited to "Cesar" <[email protected]>. |
| Vulnerable: |
Microsoft SQL Server 2000 SP3 Microsoft SQL Server 2000 SP2 Microsoft SQL Server 2000 SP1 Microsoft SQL Server 2000 Microsoft SQL Server 7.0 SP4 Microsoft SQL Server 7.0 SP3 Microsoft SQL Server 7.0 SP2 Microsoft SQL Server 7.0 SP1 Microsoft SQL Server 7.0 Microsoft JET 4.0 SP6 Microsoft JET 4.0 SP5 Microsoft JET 4.0 SP4 Microsoft JET 4.0 SP3 Microsoft JET 4.0 SP2 Microsoft JET 4.0 SP1 Microsoft JET 4.0 Microsoft Data Engine 2000 Microsoft Data Engine (MSDE) 1.0 |
| Not Vulnerable: |
Microsoft JET 4.0 SP7 |
Discussion
Microsoft SQL Server JET Database Engine 4.0 Buffer Overrun Vulnerability
Microsoft SQL Server is prone to an exploitable buffer overrun vulnerability via the Jet Database Engine. This can occur while the JET 4.0 OLE DB data provider is querying data supplied via a remote source and is due to insufficient bounds checking of parameters of heterogeneous or ad hoc query methods.
** Reports suggest that this issue may be a variant of the vulnerability described in BID 5057. This however, has not been confirmed.
Microsoft SQL Server is prone to an exploitable buffer overrun vulnerability via the Jet Database Engine. This can occur while the JET 4.0 OLE DB data provider is querying data supplied via a remote source and is due to insufficient bounds checking of parameters of heterogeneous or ad hoc query methods.
** Reports suggest that this issue may be a variant of the vulnerability described in BID 5057. This however, has not been confirmed.
Exploit / POC
Microsoft SQL Server JET Database Engine 4.0 Buffer Overrun Vulnerability
The following proof-of-concept examples were provided:
select * from openrowset('microsoft.jet.oledb.4.0','c:\anydatabase.mdb';'admin';'','select XXX...()')
or
select * from Openquery(SomeJet40LinkedServer,'Select XXX...()')
(where XXX... is more than 276 chars)
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
The following proof-of-concept examples were provided:
select * from openrowset('microsoft.jet.oledb.4.0','c:\anydatabase.mdb';'admin';'','select XXX...()')
or
select * from Openquery(SomeJet40LinkedServer,'Select XXX...()')
(where XXX... is more than 276 chars)
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
Microsoft SQL Server JET Database Engine 4.0 Buffer Overrun Vulnerability
Solution:
Microsoft has reportedly addressed this issue in Microsoft Jet 4.0 Service Pack 7, which is available through Windows Update as "282010: Recommended Update for Microsoft Jet 4.0 Service Pack 7 (SP7)". Symantec has not confirmed that SP7 does address the issue.
Solution:
Microsoft has reportedly addressed this issue in Microsoft Jet 4.0 Service Pack 7, which is available through Windows Update as "282010: Recommended Update for Microsoft Jet 4.0 Service Pack 7 (SP7)". Symantec has not confirmed that SP7 does address the issue.
References
Microsoft SQL Server JET Database Engine 4.0 Buffer Overrun Vulnerability
References:
References:
- Microsoft SQL Server Homepage (Microsoft)
- SQLSecurity Home Page (SQLSecurity.com)
- Technet Security (Microsoft)