Cogent Real-Time Systems, Inc. fixed a code injection vulnerability affecting its DataHub application, according to a report on ICS-CERT.
Security researcher John Leitch reported this vulnerability to the Zero Day Initiative (ZDI), which then reported it directly to Cogent. Successful exploitation of this vulnerability could allow remote execution of arbitrary code.
This vulnerability is remotely exploitable and exploits that target this vulnerability are publicly available. Cogent DataHub V7.3.4 and earlier suffer from the issue.
Successful exploitation of this vulnerability could allow an attacker with write access to the target file system to execute arbitrary code on vulnerable installations of Cogent DataHub.
Cogent is a Canadian-based company that produces middleware applications used to interface with control systems.
Cogent’s products see action across several sectors including chemical, commercial facilities, critical manufacturing, energy, financial services, and others. These products see use worldwide, primarily in the United States and Great Britain.
If the attacker can create a Gamma script file on the local file system, then they can use an injection attack via an ASP page to execute that script file. This is not a remote attack, because the attacker must first be able to write to the file system. However once written, the file can be executed from a remote call.
The specific flaw exists within the code that authenticates permission requests from web pages. The attacker can create a specially formatted user name and password that result in a script injection. CVE-2014-3789 is the case number assigned to this vulnerability, which ZDI calculated a CVSS v2 base score of 7.5.
An attacker with a low skill would be able to exploit this vulnerability.
Cogent has fixed this vulnerability in Version 7.3.5 of DataHub. This is a free upgrade for any customer running V7.x. Cogent advises that customers running versions prior to V7.3.5 do one of the following:
• Upgrade to Cogent DataHub Version 7.3.5
• Disable the web server component in their Cogent DataHub installation
• Configure their network security to block access to the Cogent DataHub web server from untrusted locations.