CyberSecBulletin
CVE-2022-22151NVD status: Modified

CENTUM CS 3000: Improper Encoding or Escaping of Output

CVE-2022-22151 is a high-severity improper encoding or escaping of output vulnerability in CENTUM CS 3000 from Yokogawa Electric, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. Affected CENTUM CS 3000 versions: versions from R3.08.10 to R3.09.00. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.8% chance of exploitation within 30 days, higher than 57% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Centum Vp Firmware to r6.09.00 or a later version.
  2. Update Centum Vp Entry Firmware to r6.09.00 or a later version.
  3. Read the advisory on web-material3.yokogawa.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
Yokogawa ElectricCENTUM CS 3000versions from R3.08.10 to R3.09.00Not stated
Yokogawa ElectricCENTUM VPversions from R4.01.00 to R4.03.00; versions from R5.01.00 to R5.04.20; versions from R6.01.00 to R6.08.00Not stated
Yokogawa ElectricExaopcversions from R3.72.00 to R3.79.00Not stated
YokogawaCentum Cs 3000 Firmwarer3.08.10 through r3.09.00Not stated
YokogawaCentum Cs 3000 Entry Firmwarer3.08.10 through r3.09.00Not stated
YokogawaCentum Vp Firmwarer4.01.00 through r4.03.00; r5.01.00 through r5.04.20; r6.01.00 up to, but not including, r6.09.00r6.09.00
YokogawaCentum Vp Entry Firmwarer4.01.00 through r4.03.00; r5.01.00 through r5.04.20; r6.01.00 up to, but not including, r6.09.00r6.09.00

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.1HighNVD
CVSS 2.04.9MediumNVD

Official description

CAMS for HIS Log Server contained in the following Yokogawa Electric products fails to properly neutralize log outputs: CENTUM CS 3000 versions from R3.08.10 to R3.09.00, CENTUM VP versions from R4.01.00 to R4.03.00, from R5.01.00 to R5.04.20, and from R6.01.00 to R6.08.00, and Exaopc versions from R3.72.00 to R3.79.00.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Encoding or Escaping of Output

The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

How developers prevent this class of flaw

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using the ESAPI Encoding control or a similar tool, library, or framework. These will help the programmer encode outputs in a manner less prone to error. Alternately, use built-in functions, but consider using wrappers in case those functions are discovered to have a vulnerability.
  • If available, use structured mechanisms that automatically enforce the separation between data and code. These mechanisms may be able to provide the relevant quoting, encoding, and validation automatically, instead of relying on the developer to provide this capability at every point where output is generated. For example, stored procedures can enforce database query structure and reduce the likelihood of SQL injection.
  • Understand the context in which your data will be used and the encoding that will be expected. This is especially important when transmitting data between different components, or when generating outputs that can contain multiple encodings at the same time, such as web pages or multi-part mail messages. Study all expected communication protocols and data representations to determine the required encoding strategies.

More Improper Encoding or Escaping of Output vulnerabilities (CWE-116)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in CENTUM CS 3000

All CENTUM CS 3000 vulnerabilities

Recent Improper Encoding or Escaping of Output vulnerabilities

Spotted an error? Tell us.