U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2008-2639 Detail

Description

Stack-based buffer overflow in the ODBC server service in Citect CitectSCADA 6 and 7, and CitectFacilities 7, allows remote attackers to execute arbitrary code via a long string in the second application packet in a TCP session on port 20222.


Evaluator Description

The vulnerability found in CitectSCADA could allow a remote un-authenticated attacker to force an abnormal termination of the vulnerable software (Denial of Service) or to execute arbitrary code on vulnerable systems to gain complete control of the software. The CitectSCADA and CitectFacilities applications include ODBC server capabilities to provide remote SQL access to a relational database. For that purpose, an ODBC Server component is used to service requests from clients on TCP/IP networks. Requests are serviced over a TCP high-port in which the application layer protocol reads an initial packet that specifies the length of data and then a second packet of data, of the same length is then read. Once the data is read from the network, it is then copied to an internal buffer of fixed size allocated in the stack without previously verifying that the buffer is big enough to store all the read data. The vulnerability is related to a lack of a proper length-checking on data read from the network. A specially crafted combination of length and data packets could be used to exploit the vulnerability allowing an un-authenticated attacker to execute arbitrary code on vulnerable systems. The bug is a texbook example of classic simple stack-based buffer overflow vulnerabilities of the 1990s that can be exploited by overwriting the return address of the currently running thread. Fixes and Workarounds: User organizations should deploy the vendor patch, which is available upon request at http://www.citect.com/ or disable the vulnerable service (ODBC server) if it is not needed in their particular installation.

Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Evaluator Impact

The access complexity for this vulnerability is set at High due to the fact that exploiting this vulnerability requires the SCADA system to be connected to the internet and the client needs to be using ODBC technology. SCADA systems are not typically installed to connect to the internet for security purposes. While the vendor acknowledges that this vulnerability exists and will provide a patch upon request, they point out that this can be easily mitigated by ensuring SCADA systems (not limited to Citect products) are not connected to the internet.

Evaluator Solution

Citect will provide a patch upon request to mitigate this vulnerability. Please see the following press release for more information: http://www.citect.com/documents/news_and_media/pr-citect-address-security.pdf For further information on properly securing SCADA systems, please see the following whitepaper published by Citect: http://www.citect.com/documents/whitepapers/scada-security-whitepaper.pdf

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://isc.sans.org/diary.html?storyid=4556
http://isc.sans.org/diary.html?storyid=4556
http://secunia.com/advisories/30638 Vendor Advisory 
http://secunia.com/advisories/30638 Vendor Advisory 
http://securityreason.com/securityalert/3944
http://securityreason.com/securityalert/3944
http://securitytracker.com/id?1020241
http://securitytracker.com/id?1020241
http://www.coresecurity.com/?action=item&id=2186
http://www.coresecurity.com/?action=item&id=2186
http://www.kb.cert.org/vuls/id/476345 US Government Resource 
http://www.kb.cert.org/vuls/id/476345 US Government Resource 
http://www.kb.cert.org/vuls/id/CTAR-7ENQNH
http://www.kb.cert.org/vuls/id/CTAR-7ENQNH
http://www.securityfocus.com/archive/1/493272/100/0/threaded
http://www.securityfocus.com/archive/1/493272/100/0/threaded
http://www.securityfocus.com/bid/29634
http://www.securityfocus.com/bid/29634
http://www.vupen.com/english/advisories/2008/1834/references
http://www.vupen.com/english/advisories/2008/1834/references
https://exchange.xforce.ibmcloud.com/vulnerabilities/42992
https://exchange.xforce.ibmcloud.com/vulnerabilities/42992
https://www.exploit-db.com/exploits/6387
https://www.exploit-db.com/exploits/6387

Weakness Enumeration

CWE-ID CWE Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2008-2639
NVD Published Date:
06/16/2008
NVD Last Modified:
11/20/2024
Source:
MITRE