Vulnerabilities > CVE-2009-4988 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in SAP Business ONE 2005-A 6.80.123/6.80.320

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
sap
CWE-119
critical
exploit available
metasploit

Summary

Stack-based buffer overflow in NT_Naming_Service.exe in SAP Business One 2005 A 6.80.123 and 6.80.320 allows remote attackers to execute arbitrary code via a long GIOP request to TCP port 30000.

Vulnerable Configurations

Part Description Count
Application
Sap
2

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

  • descriptionSAP Business One 2005-A License Manager Remote BOF Exploit. CVE-2009-4988. Remote exploit for windows platform
    fileexploits/windows/remote/9319.py
    idEDB-ID:9319
    last seen2016-02-01
    modified2009-08-01
    platformwindows
    port30000
    published2009-08-01
    reporterBruk0ut
    sourcehttps://www.exploit-db.com/download/9319/
    titleSAP Business One 2005-A License Manager Remote BoF Exploit
    typeremote
  • descriptionSAP Business One License Manager 2005 Buffer Overflow. CVE-2009-4988. Remote exploit for windows platform
    idEDB-ID:16423
    last seen2016-02-01
    modified2010-11-30
    published2010-11-30
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/16423/
    titleSAP Business One License Manager 2005 - Buffer Overflow

Metasploit

descriptionThis module exploits a stack buffer overflow in the SAP Business One 2005 License Manager 'NT Naming Service' A and B releases. By sending an excessively long string the stack is overwritten enabling arbitrary code execution.
idMSF:EXPLOIT/WINDOWS/MISC/SAP_2005_LICENSE
last seen2020-06-10
modified2017-11-08
published2009-09-09
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4988
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/misc/sap_2005_license.rb
titleSAP Business One License Manager 2005 Buffer Overflow