Application: SAP GUI VSFlexGrid.VSFlexGridL (Part of SAP GUI, SAP BO 2005, SAP BO 2007 ) Versions Affected: SAP GUI VSFlexGrid Activex Control sp<=14 Vendor URL: http://SAP.com Bugs: Buffer Overflovw Exploits: YES Reported: 26.11.2008 Vendor response: 27.11.208 Public Advisory: 06.10.2009 Originaly found by: Elazar Broad Author: Alexander Polyakov from Digital Security Research Group [DSecRG] Description *********** Component VSFlexGrid vulnerable to Buffer Overflow which was published in 2007 and not patched in SAPGUI untill this moment. This component and included in default SAPGUI installation. Details ******* Information about this vulnerability in public since 2007 (http://www.securityfocus.com/bid/26467/info) We found that wulnerable component VSFlexGrid is still not patched and is using in default SAP GUI Client installations Tested on: SAP Business One 2007 Client SAP Business One 2005 Client SAP GUI 7.10 (7100.2.7.1038) So every SAP client is vulnerable to remote buffer overflow. Attacker can construct html page which call vulnerable function "Acrchive" from ActiveX Object VSFlex7L with long parameter "ArcFileName". ActiveX component: VSFlexGrid path: c:\program files\sap\frontend\sapgui\vsflex7l.ocx object classid: C0A63B86-4B21-11D3-BD95-D426EF2C7949 prototype = "Sub Archive ( ByVal ArcFileName As String , ByVal FileName As String , ByVal Action As ArchiveSettings )" memberName = "Archive" progid = "VSFlex7L.VSFlexGrid" argCount = 3 Example ******* from