CERT home
vulnerabilities & fixesevaluations & practicesresearch & analysistraining & education
homesearchFAQsite indexcontact
Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information
 

 View Notes By
Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric

Vulnerability Note VU#476345

Citect CitectSCADA ODBC service buffer overflow

Overview

Citect CitectSCADA contains a remotely accessible buffer overflow vulnerability which may allow a remote attacker to execute arbitrary code.

I. Description

Citect CitectSCADA is software used for monitoring and control in Supervisory Control And Data Acquisition (SCADA) systems. A buffer overflow vulnerability exists in the CitectSCADA ODBC service. The ODBC Server listens on the network (20222/tcp) for service requests from clients. An attacker could exploit this vulnerability by sending specially crafted packets to a vulnerable CitectSCADA system. According to Core Security Technologies Advisory:

    Due to a lack of a proper length checking of the read data, a memory copy operation that uses as destination a buffer of fixed size allocated in the stack can be overflowed allowing an un-authenticated attacker to execute arbitrary code on vulnerable systems.

Note that this vulnerability affects versions of Citect CitectSCADA and CitectFacilities. Exploit code for this vulnerability is publicly available.

II. Impact

A remote, unauthenticated attacker may be able to execute arbitrary code or cause a denial of service.

III. Solution

Apply a patch

Supported Citect customers should contact Citect to receive a patch. For more information on contacting Citect visit http://www.citect.com/index.php?option=com_content&task=view&id=1374&Itemid=223.

Restrict access

Restricting access to a vulnerable system by using host or network based firewalls may prevent a remote attacker from exploiting this vulnerability. For more information refer to Citect security article Securing Your SCADA Network.

Restricting access may result in loss of ODBC Server connectivity. According to Core Security Technologies Advisory:

    The vulnerability is located in the ODBC server service, vulnerable organizations that do not require ODBC connectivity may disable the service with no adverse effects to the CitectSCADA software. Installations that require ODBC connectivity to SQL databases, spreadsheets, etc. will suffer loss of connection with ODBC data sources if this workaround is applied. Vulnerable organizations should obtain positive verification that ODBC connectivity is not necessary in their installation and prepare appropriate contingency procedures before the workaround is applied.

Systems Affected

VendorStatusDate Updated
CitectVulnerable2008-04-142008-10-06

References


http://www.citect.com/index.php?option=com_content&task=view&id=186&Itemid=322
http://www.citect.com/index.php?option=com_content&task=view&id=26&Itemid=29
http://www.citect.com/documents/news_and_media/pr-citect-address-security.pdf
http://www.coresecurity.com/index.php5?module=ContentMod&action=item&id=2186
http://secunia.com/advisories/30638/
http://www.securityfocus.com/bid/29634/discuss
http://news.infracritical.com/pipermail/scadasec/2008-September/001503.html
http://www.digitalmunition.com/5ws_of_Citect_ODBC.txt
http://www.digitalmunition.com/citect_scada_odbc.rb
http://www.milw0rm.com/exploits/6387
http://www.milw0rm.com/papers/221
http://www.citect.com/index.php?option=com_content&task=view&id=1374&Itemid=223
http://www.citect.com/documents/news_and_media/CitectSCADA-security-response.pdf
http://www.csoonline.com/article/print/448626
http://www.pcworld.com/businesscenter/article/150888/computer_threat_for_industrial_systems_now_more_serious.html
http://www.theregister.co.uk/2008/09/19/scada_advisory_pulled/
http://www.citect.com/index.php?option=com_content&task=view&id=1374&Itemid=223
http://knowledgebase.citect.com/SafetyandSecurity/
http://www.digitalbond.com/wiki/index.php/CitectSCADA_Stack_Overflow_Vulnerability

Credit

Thanks to Ivan Arce at Core Securities for information that was used in this report.

This document was written by Chris Taschner.

Other Information

Date Public06/11/2008
Date First Published06/11/2008 12:55:41 PM
Date Last Updated10/08/2008
CERT Advisory 
CVE NameCVE-2008-2639
Metric7.35
Document Revision35

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

Copyright 2008 Carnegie Mellon University