Advisory Details

February 27th, 2015

(0Day) WebGate Control Center WESPDiscovery.WESPDiscoveryCtrl.1 TCPDiscovery Stack Buffer Overflow Remote Code Execution Vulnerability

ZDI-15-067
ZDI-CAN-2157

CVE ID CVE-2015-2100
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', '13805']. 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 WESPDiscovery.WESPDiscoveryCtrl.1 control. The TCPDiscovery2 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
05/12/2014 - ICS-CERT replied "We do not consider the WebGate eDVR Manager to be an element of control systems or of critical infrastructure, so we have forwarded these reports on to our friends at CERT/CC."
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\BC2CAA45-7DBB-4459-9013-3E7A2C933D21
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