Lumigent Log Explorer XP_LogAttach_StartProf Buffer Overflow Vulnerability
BID:5016
Info
Lumigent Log Explorer XP_LogAttach_StartProf Buffer Overflow Vulnerability
| Bugtraq ID: | 5016 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2002-0942 |
| Remote: | No |
| Local: | Yes |
| Published: | Jun 14 2002 12:00AM |
| Updated: | Jul 11 2009 01:56PM |
| Credit: | Credited to martin rakhmanoff <[email protected]>. |
| Vulnerable: |
Lumigent Log Explorer 3.0 1 |
| Not Vulnerable: | |
Discussion
Lumigent Log Explorer XP_LogAttach_StartProf Buffer Overflow Vulnerability
A buffer overflow vulnerability in xp_logattach.dll has been reported for Lumigent Log Explorer. Specifically, this affects the xp_logattach_StartProf stored procedure.
If this condition is successfully exploited, it is possible for locations in memory to be overwritten with attacker-supplied instructions, allowing for code execution as the SQL server process. By default, SQL Server runs as a non-privileged user.
It should be noted that extended stored procedures can be run only by the dbo user by default.
A buffer overflow vulnerability in xp_logattach.dll has been reported for Lumigent Log Explorer. Specifically, this affects the xp_logattach_StartProf stored procedure.
If this condition is successfully exploited, it is possible for locations in memory to be overwritten with attacker-supplied instructions, allowing for code execution as the SQL server process. By default, SQL Server runs as a non-privileged user.
It should be noted that extended stored procedures can be run only by the dbo user by default.
Exploit / POC
Lumigent Log Explorer XP_LogAttach_StartProf Buffer Overflow Vulnerability
The following proof of concept was provided by martin rakhmanoff <[email protected]>.
declare @bo varchar(8000)
set @bo = replicate('A', 800)
exec xp_logattach_StartProf @bo
---
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 was provided by martin rakhmanoff <[email protected]>.
declare @bo varchar(8000)
set @bo = replicate('A', 800)
exec xp_logattach_StartProf @bo
---
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
Lumigent Log Explorer XP_LogAttach_StartProf Buffer Overflow Vulnerability
Solution:
The vendor is aware of the issue and is planning to release a fixed version soon. In the meantime, the vendor suggests granting execute permissions of stored procedures to trusted users only.
Currently we are not aware of any vendor-supplied patches 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:
The vendor is aware of the issue and is planning to release a fixed version soon. In the meantime, the vendor suggests granting execute permissions of stored procedures to trusted users only.
Currently we are not aware of any vendor-supplied patches 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]>.
References
Lumigent Log Explorer XP_LogAttach_StartProf Buffer Overflow Vulnerability
References:
References:
- Log Explorer (Lumigent)