Vulnerability Note VU#305657

SAP Message Server heap buffer overflow

Original Release date: 09 Jul 2007 | Last revised: 16 Jul 2007

Overview

The SAP Message Server contains a flaw that may allow a remote, unauthenticated attacker to execute arbitrary code or cause a denial-of-service condition.

Description

The SAP Message Server is used to exchange and regulate messages between servers in a SAP network. A heap-based buffer overflow vulnerability exists in the Message Server. This vulnerability can be exploited by sending a request with a malformed group parameter to a vulnerable Message Server.

The SAP Message Server listens on TCP ports 3600 and 8100 (HTTP) by default. The Message Server may also open a port for HTTPS. If multiple instances of the Message Server are deployed on the same network, they are allocated ports based on instance number.

Impact

By sending a specially crafted request to a vulnerable SAP Message Server, a remote, unauthenticated attacker to execute arbitrary code or cause a denial-of-service condition.

Solution

Upgrade
According to public reports, this vulnerability is addressed in the latest version of the SAP Message Server. SAP users should contact SAP for more information.

Until a fixed version of the SAP Message Server can be deployed, the following workaround may reduce the chances of exploitation:


Restrict access to the Message Server

You may wish to block access to the vulnerable software from outside your network perimeter, specifically by blocking access to the ports used by the SAP Message Server (typically 8100/tcp and 3600/tcp). This will limit your exposure to attacks. However, blocking at the network perimeter would still allow attackers within the perimeter of your network to exploit the vulnerability. The use of host-based firewalls in addition to network-based firewalls can help restrict access to specific hosts within the network. It is important to understand your network's configuration and service requirements before deciding what changes are appropriate.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
SAPAffected-09 Jul 2007
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

Credit

This vulnerability was reported by Mark Litchfield of NGSSoftware.

This document was written by Jeff Gennari.

Other Information

  • CVE IDs: CVE-2007-3624
  • Date Public: 05 Jul 2007
  • Date First Published: 09 Jul 2007
  • Date Last Updated: 16 Jul 2007
  • Severity Metric: 17.01
  • Document Revision: 19

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.