Secunia Research: Advantech Studio ISSymbol ActiveX Control Buffer Overflow Vulnerabilities

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

                     Secunia Research 27/04/2011

            - Advantech Studio ISSymbol ActiveX Control -
                 - Buffer Overflow Vulnerabilities -

====================================================================== 
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 

* Advantech ISSymbol ActiveX Control 61.6.0.0.
* Advantech Studio 6.1 SP6 Build 61.6.01.05.

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Highly critical
Impact: System access
Where:  Remote

====================================================================== 
3) Vendor's Description of Software 

"Advantech Studio is a powerful, integrated collection of automation
tools that includes all the building blocks required to develop
modern Human Machine Interfaces (HMIs), and Supervisory Control and
Data Acquisition System (SCADA) applications that run on Windows
NT/2000/XP and CE.NET, or in an Internet/Intranet environment."

Product Link:
http://www.advantech.com/products/Advantech-Studio/
mod_3D1B45B0-B0AF-405C-A9CC-A27B35774634.aspx

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered multiple vulnerabilities in Advantech
Studio ISSymbol ActiveX control, which can be exploited by malicious
people to compromise a user's system.

1) A boundary error when processing the "InternationalOrder" property
can be exploited to cause a heap-based buffer overflow via an overly
long string assigned to the property.

2) A boundary error when processing the "InternationalSeparator"
property can be exploited to cause a heap-based buffer overflow via
an overly long string assigned to the property.

3) A boundary error when processing a certain window procedure can be
exploited to cause a stack-based buffer overflow via e.g. an overly
long string passed as the "bstrFileName" parameter to the 
"OpenScreen()" method.

4) A boundary error when creating a log file can be exploited to cause
a stack-based buffer overflow via an overly long string assigned to 
the "LogFileName" property.

Successful exploitation of the vulnerabilities allows execution of 
arbitrary code.

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

Set the kill-bit for the affected ActiveX control.

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

02/02/2011 - Requested security contact.
15/02/2011 - Second request for a security contact.
27/04/2011 - Public disclosure.

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

Discovered by Dmitriy Pletnev, Secunia Research.

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

The Common Vulnerabilities and Exposures (CVE) project has assigned 
CVE-2011-0340 for the vulnerabilities.

====================================================================== 
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/2011-37/

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

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