Vulnerabilities > CVE-2007-4475 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in SAP Sapgui
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in EAI WebViewer3D ActiveX control (webviewer3d.dll) in SAP AG SAPgui before 7.10 Patch Level 9 allows remote attackers to execute arbitrary code via a long argument to the SaveViewToSessionFile method.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 12 |
Common Weakness Enumeration (CWE)
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
description SAP MaxDB 7.4/7.6 'webdbm' Multiple Cross Site Scripting Vulnerabilities. CVE-2007-4475. Remote exploit for windows platform id EDB-ID:32879 last seen 2016-02-03 modified 2009-03-31 published 2009-03-31 reporter Digital Security Research Group source https://www.exploit-db.com/download/32879/ title SAP MaxDB 7.4/7.6 - 'webdbm' Multiple Cross-Site Scripting Vulnerabilities description SAP AG SAPgui EAI WebViewer3D Buffer Overflow. CVE-2007-4475. Remote exploit for windows platform id EDB-ID:16575 last seen 2016-02-02 modified 2010-05-09 published 2010-05-09 reporter metasploit source https://www.exploit-db.com/download/16575/ title SAP AG SAPgui EAI WebViewer3D Buffer Overflow
Metasploit
description | This module exploits a stack buffer overflow in Siemens Unigraphics Solutions Teamcenter Visualization EAI WebViewer3D ActiveX control that is bundled with SAPgui. When passing an overly long string the SaveViewToSessionFile() method, arbitrary code may be executed. |
id | MSF:EXPLOIT/WINDOWS/BROWSER/SAPGUI_SAVEVIEWTOSESSIONFILE |
last seen | 2020-02-29 |
modified | 2017-10-05 |
published | 2009-04-02 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4475 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/sapgui_saveviewtosessionfile.rb |
title | SAP AG SAPgui EAI WebViewer3D Buffer Overflow |
Nessus
NASL family | Windows |
NASL id | SAP_SAPGUI_ACTIVEX.NASL |
description | The version of the SAP GUI Moniker Creation ActiveX control installed on the remote Windows host is reportedly affected by 3 stack-based buffer overflows involving various properties and methods in |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 36073 |
published | 2009-04-01 |
reporter | This script is Copyright (C) 2009-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/36073 |
title | SAP GUI Moniker Creation Multiple Vulnerabilities |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/82972/sapgui_saveviewtosessionfile.rb.txt |
id | PACKETSTORM:82972 |
last seen | 2016-12-05 |
published | 2009-11-26 |
reporter | MC |
source | https://packetstormsecurity.com/files/82972/SAP-AG-SAPgui-EAI-WebViewer3D-Buffer-Overflow.html |
title | SAP AG SAPgui EAI WebViewer3D Buffer Overflow |
Saint
bid | 34310 |
description | SAPgui EAI WebViewer3D ActiveX control SaveViewToSessionFile buffer overflow |
id | misc_sapguiwebviewer3dax |
osvdb | 53066 |
title | sapgui_eai_webviewer3d_saveview |
type | client |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 34310 CVE(CAN) ID: CVE-2007-4475,CVE-2009-1205 SAPgui是SAP软件的图形用户界面客户端。 SAPgui提供了一个名为EAI WebViewer3D的ActiveX控件(webviewer3d.dll),该控件没有正确地验证对 SaveViewToSessionFile()方式所传送的参数。如果用户受骗访问了恶意网页并向该方式传送了超长参数的话,就可以触发栈溢出,导致执行任意代码。 SAP Sapgui 7.10 Patch Level 8 临时解决方法: * 在IE中禁用EAI WebViewer3D ActiveX控件,为以下CLSID设置kill bit: {AFBBE070-7340-11d2-AA6B-00E02924C34E} 或将以下文本保存为.REG文件并导入: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\ActiveX Compatibility\\{AFBBE070-7340-11d2-AA6B-00E02924C34E}] \"Compatibility Flags\"=dword:00000400 厂商补丁: SAP --- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=https://service.sap.com/sap/support/notes/1153794 target=_blank rel=external nofollow>https://service.sap.com/sap/support/notes/1153794</a> |
id | SSV:4983 |
last seen | 2017-11-19 |
modified | 2009-04-02 |
published | 2009-04-02 |
reporter | Root |
title | SAP AG WebViewer3D ActiveX控件栈溢出漏洞 |
References
- http://secunia.com/advisories/34559
- http://secunia.com/advisories/34559
- http://www.kb.cert.org/vuls/id/985449
- http://www.kb.cert.org/vuls/id/985449
- http://www.securityfocus.com/bid/34310
- http://www.securityfocus.com/bid/34310
- http://www.vupen.com/english/advisories/2009/0892
- http://www.vupen.com/english/advisories/2009/0892
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49543
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49543
- https://service.sap.com/sap/support/notes/1153794
- https://service.sap.com/sap/support/notes/1153794