J-Security Center

Title: Sybase Adaptive Server Anywhere Database Engine Buffer Overflow Vulnerability

Severity: HIGH

Description:

Symantec Ghost is an application used for enterprise wide remote PC deployment, recovery, cloning, and migration. It enables and administrator to deploy or restore an OS image or application onto a PC and migrate user settings and profiles to customize the PC. The Sybase Adaptive Server Anywhere Database Engine that is shipped with Symantec Ghost is susceptible to a buffer overflow attack.

The database engine listens on TCP port 2638 and can be connected to by any remote user possessing no credentials whatsoever. If a malicious user were to connect to port 2638 and enter a character string consisting of approximately 45 kilobytes, Symantec Ghost may crash or arbitrary code could be executed on the target system depending on the data entered. If random data were supplied into the buffer, a denial of service attack would be launched and restarting the application would be required in order to regain normal functionality. If the remote attacker were to craft a specially malformed string and enter it into the buffer, the registers may be overwritten, thereby permitting the possibility of arbitrary code to be executed. The following error would be displayed in the event that the buffer was overflowed:

State Dump for Thread Id 0x5c8
eax=0063f0e4 ebx=0063f204 ecx=41414141 edx=41414141 esi=00630020
edi=00630000 eip=65719224 esp=08fbfbf0 ebp=00000000
iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206

This attack may be used to gain full control over the target system and the malicious may perform arbitrary commands.

Affected Products:

  • Sybase Adaptive Server Anywhere Database Engine 6.0.3 .2747
  • Symantec Ghost Corporate Edition 6.5.0

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.