ICS-CERT: OSIsoft Stack-Based Buffer Overflow Vulnerability

Monday, July 23, 2012

Infosec Island Admin


ICS-CERT has received a report from OSIsoft concerning a stack-based buffer overflow in the PI OPC DA Interface software that could cause the software to crash or allow a remote attacker to execute arbitrary code.

This vulnerability was discovered during a software assessment requested by OSIsoft and funded by the US Department of Homeland Security.

OSIsoft has published a customer notification, and has released a product update that resolves this vulnerability.


The vulnerability affects all versions of PI OPC DA Interface prior to Version


Successful exploitation of this vulnerability could allow a remote, authenticated attacker to execute arbitrary code on a vulnerable system.

Impact to individual organizations depends on many factors that are unique to each organization. ICS-CERT recommends that organizations evaluate the impact of this vulnerability based on their operational environment, architecture, and product implementation.


According to OSIsoft, PI OPC DA Interface allows the PI System to access plant floor process data using the OPC standard.

STACK-BASED BUFFER OVERFLOW:  The PI OPC DA Interface does not correctly validate the OPC input messages before performing further processing. By sending additional valid packets, an attacker could partially control corruption to force the arbitrary freeing of a memory address. This could allow the attacker to cause a crash or to execute arbitrary code. CVE-2012-3008 has been assigned to this vulnerability. A CVSS v2 base score of 6.3 has been assigned; the CVSS vector string is (AV:N/AC:M/Au:S/C:N/I:N/A:C).

EXPLOITABILITY:  This vulnerability can be exploited remotely by an authenticated attacker with the ability to write data to OPC items collected by the PI OPC DA Interface.

EXISTENCE OF EXPLOIT:  No known exploits specifically target this vulnerability.

DIFFICULTY:  Crafting a working exploit for this vulnerability would require a medium skill level.


OSIsoft has produced an update that resolves this vulnerability. OSIsoft encourages customers using the affected products to upgrade to Version or later. The PI OPC DA Interface update can be found at the OSIsoft technical support Website.

The full ICS-CERT advisory can be found here:

Source:  http://www.us-cert.gov/control_systems/pdf/ICSA-12-201-01.pdf

Possibly Related Articles:
Industrial Control Systems
SCADA Vulnerabilities Infrastructure Buffer Overflow Mitigation Advisory ICS-CERT Industrial Control Systems OSIsoft
Post Rating I Like this!
The views expressed in this post are the opinions of the Infosec Island member that posted this content. Infosec Island is not responsible for the content or messaging of this post.

Unauthorized reproduction of this article (in part or in whole) is prohibited without the express written permission of Infosec Island and the Infosec Island member that posted this content--this includes using our RSS feed for any purpose other than personal use.