Secunia Research: SAP GUI TabOne ActiveX Control Caption List Buffer Overflow

====================================================================== 

                     Secunia Research 07/01/2009

   - SAP GUI TabOne ActiveX Control Caption List Buffer Overflow -

====================================================================== 
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
* SAP GUI 7.10

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 vulnerability in SAP GUI, which 
can be exploited by malicious people to potentially compromise a 
user's system.

The vulnerability is caused due to a boundary error in the included
TabOne ActiveX control (sizerone.ocx) when copying tab captions. This
can be exploited to cause a heap-based buffer overflow by e.g. adding
multiple tabs via the "AddTab()" method.

Successful exploitation may allow execution of arbitrary code.

====================================================================== 
5) Solution 

Update to the latest 7.10 PL, which sets the kill-bit for the ActiveX
control.

Users can also set the kill-bit manually by following the procedure 
explained in SAP note 1092631.

====================================================================== 
6) Time Table 

13/11/2008 - Vendor notified.
13/11/2008 - Vendor response.
05/12/2008 - Vendor provides status update and informs that a patch has 
             been released for 7.10, which sets the kill-bit.
07/01/2009 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Carsten Eiram, Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has assigned 
CVE-2008-4827 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-53/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================