J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1545
    posted: 11/19/09
  • NSM Daily Update #1545
    posted: 11/19/09
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1545
    posted: 11/19/09
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 11/19/09
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 11/19/09

Title: SAP DB Privilege Escalation and Buffer Overrun Vulnerabilities

Severity: CRITICAL

Description:

Multiple vulnerabilities have been reported in SAP DB. The following issues were reported:

A local privilege escalation issue (CAN-2003-0938) exists in SAP DB on Windows platforms that may allow an attacker to load a malicious .DLL, resulting in execution of arbitrary code with elevated privileges. If a local attacker has write permissions to the current working directory for SAP DB, which is the case in default installations of the database, it is possible to replace 'NETAPI32.DLL' with a malicious version. When the attacker-supplied library is loaded, code will be executed with elevated privileges. It is also reported that this issue may be exploited with the 'SQLAT' stored procedure included in SAP DB.

A buffer overrun (CAN-2003-0939) exists in SAP DB for multiple platforms (Windows, Linux, HP-UX and Solaris). The issue is present in the 'niserver' (on Unix-based systems) and 'serv.exe' (on Windows) and may allow for remote attackers to execute code on a vulnerable host, resulting in full system compromise. In particular, the problem is due to insufficient bounds checking while extracting strings from the variable-sized segment of the connect packet. As a result, it is possible to corrupt adjacent regions of memory with attacker-supplied values, allowing for control of program execution flow and execution of malicious instructions. The vulnerable service listens on TCP port 7269. (** It should be noted that the @stake advisory reported an erroneous port number for the service, the correct port number is 7269)

These issues are pending further analysis and will be divided into individual BIDs when analysis is complete.

Affected Products:

  • SAP DB 7.3.0.00
  • SAP DB 7.3.0.29
  • SAP DB 7.4.0
  • SAP DB 7.4.3
  • SAP DB 7.4.3.7 Beta

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.