======================================================================
Secunia Research 15/04/2009
- SAP GUI KWEdit ActiveX Control "SaveDocumentAs()" Insecure Method -
======================================================================
Table of Contents
Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10
======================================================================
1) Affected Software
* SAP GUI 6.40 Patch 29 (KWEDIT.DLL version 6400.1.1.41)
* SAP GUI 7.10 Patch 5 (KWEDIT.DLL version 7100.1.1.43)
NOTE: Other versions may also be affected.
======================================================================
2) Severity
Rating: Highly critical
Impact: System compromise
Where: Remote
======================================================================
3) Vendor's Description of Software
"SAP GUI is SAP's universal client for accessing SAP functionality in
SAP applications such as - SAP ERP, SAP Business Suite (SAP CRM, SAP
SCM and SAP PLM), SAP Business Intelligence and so on. SAP GUI
functions like a browser. It gets information from the SAP server like
what, where, when and how, to display contents in its window.".
Product Link:
https://www.sdn.sap.com/irj/sdn/sap-gui
======================================================================
4) Description of Vulnerability
Secunia Research has discovered a security issue in SAP GUI, which can
be exploited by malicious people to gain knowledge of sensitive
information, corrupt files, or compromise a user's system.
The problem is that the bundled KWEdit ActiveX control (KWEDIT.DLL)
provides the insecure method "SaveDocumentAs()", which saves an HTML
document to a specified location. This can be exploited in combination
with e.g. the "OpenDocument()" method to disclose the contents of
files or to execute arbitrary code on a user's system.
======================================================================
5) Solution
Update to the latest versions, which reportedly set the kill-bit for
the ActiveX control.
======================================================================
6) Time Table
28/11/2008 - Vendor notified.
28/11/2008 - Vendor response.
14/01/2009 - Vendor provides patch for testing.
16/01/2009 - Vendor informed that patch prevents exploitation.
02/03/2009 - Status update requested.
02/03/2009 - Vendor provides status update.
15/04/2009 - Public disclosure.
======================================================================
7) Credits
Discovered by Carsten Eiram, Secunia Research.
======================================================================
8) References
SAP Note 1294913:
https://service.sap.com/sap/support/notes/1294913
The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2008-4830 for the vulnerability.
======================================================================
9) About Secunia
Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:
http://secunia.com/advisories/business_solutions/
Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private
individuals, who are interested in or concerned about IT-security.
http://secunia.com/advisories/
Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the
security and reliability of software in general:
http://secunia.com/secunia_research/
Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:
http://secunia.com/corporate/jobs/
Secunia offers a FREE mailing list called Secunia Security Advisories:
http://secunia.com/advisories/mailing_lists/
======================================================================
10) Verification
Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2008-56/
Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/
======================================================================