Advisory Details

February 27th, 2015

(0Day) WebGate Control Center LoginContoller.LoginControllerCtrl.1 Login Stack Buffer Overflow Remote Code Execution Vulnerability

ZDI-15-056
ZDI-CAN-2118

CVE ID CVE-2015-2099
CVSS SCORE 7.5, AV:N/AC:L/Au:N/C:P/I:P/A:P
AFFECTED VENDORS WebGate
AFFECTED PRODUCTS Control Center
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['13801', '13802']. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of WebGate Control Center. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the LoginContoller.LoginControllerCtrl.1 control. The Login method copies arbitrary data to a fixed-size stack buffer. This would allow an attacker to execute arbitrary code in the context of the browser.

ADDITIONAL DETAILS


This vulnerability is being disclosed publicly without a patch in accordance with the ZDI 120 day deadline.

02/10/2014 - ZDI sent email to vendor requesting contact for disclosure
02/18/2014 - ZDI sent email to vendor requesting contact for disclosure
03/07/2014 - ZDI requested ICS-CERT assistance contacting the vendor
04/07/2014 - ZDI disclosed this case to ICS-CERT
ZDI has since sent multiple mails to ICS-CERT, CERT/CC and kn-cert@ncsc.go.kr regarding Webgate cases in general. However, to ZDI's knowledge, this has not resulted in any vendor response.

-- Mitigation:
The killbit can be set on this control to disable scripting within Internet Explorer by modifying the data value of the Compatibility Flags DWORD within the following location in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\4A33C147-5243-4982-899A-A533BEDA99D1
If the Compatibility Flags value is set to 0x00000400, the control can no longer be instantiated inside the browser.
For more information, please see: http://support.microsoft.com/kb/240797


DISCLOSURE TIMELINE
  • 2014-02-10 - Vulnerability reported to vendor
  • 2015-02-27 - Coordinated public release of advisory
CREDIT rgod
BACK TO ADVISORIES