Title: Adaptive Server Anywhere XP_SPRINTF Format String Vulnerability
Severity: HIGH
Description:
Adaptive Server Anywhere is a relational database the backend of SQL Anywhere Studio 8. It is a transaction-based SQL database.
Adaptive Server Anywhere has been reported prone to a format string vulnerability in the extended stored procedure XP_SPRINTF. It has been reported that this vulnerability may be exploited by an authenticated user who has sufficient privileges to pass data to the XP_SPRINTF procedure.
Although unconfirmed, it has been conjectured that format specifiers passed as an argument to the affected procedure would be processed and acted on literally, allowing an attacker to write to or reveal arbitrary regions in process memory. If successful the attacker may overwrite a saved value that is crucial in controlling Adaptive Server Anywhere execution flow. The attacker may leverage this condition to influence execution flow into a region of memory that contains attacker-supplied operation codes. Ultimately this may result in the execution of the attacker-supplied operation codes in the context of the affected server.
An attacker may exploit this vulnerability to escalate privileges to the 'dba' user within the database, or to escalate privileges to the user the Adaptive Server Anywhere process is running as.
It should be noted that although this vulnerability has been reported to affect Adaptive Server Anywhere version 9.0 previous versions might also be affected.
Affected Products:
- Sybase Adaptive Server Anywhere 9.0.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.