CyberSecBulletin
CVE-2022-42787NVD status: Modified

Com-Server LC: Use of Insufficiently Random Values

CVE-2022-42787 is a high-severity use of insufficiently random values vulnerability in Com-Server LC from Wiesemann & Theis, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists version 1.48 as the first without the flaw, so updating Com-Server LC to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.89% chance of exploitation within 30 days, higher than 60% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Com-Server LC to 1.48 or a later version.
  2. Update Com-Server PoE 3 x Isolated to 1.48 or a later version.
  3. Update Com-Server 20mA to 1.48 or a later version.
  4. Read the advisory on cert.vde.com for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
  6. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
Wiesemann & TheisCom-Server LC1.0 up to, but not including, 1.481.48
Wiesemann & TheisCom-Server PoE 3 x Isolated1.0 up to, but not including, 1.481.48
Wiesemann & TheisCom-Server 20mA1.0 up to, but not including, 1.481.48
Wiesemann & TheisCom-Server ++1.0 up to, but not including, 1.481.48
Wiesemann & TheisAT-Modem-Emulator1.0 up to, but not including, 1.481.48
Wiesemann & TheisCom-Server UL1.0 up to, but not including, 1.481.48
Wiesemann & TheisCom-Server Highspeed 100BaseFX1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed 100BaseLX1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed Office 1 Port1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed Office 4 Port1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed Industry1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed OEM1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed Compact1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed Isolated1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed 19" 1Port1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed 19" 4Port1.0 up to, but not including, 1.761.76
Wiesemann & TheisCom-Server Highspeed PoE1.0 up to, but not including, 1.761.76
WutAt-modem-emulator Firmwarebefore 1.481.48
WutCom-server ++ Firmwarebefore 1.481.48
WutCom-server 20ma Firmwarebefore 1.481.48
WutCom-server Highspeed 100basefx Firmwarebefore 1.761.76
WutCom-server Highspeed 100baselx Firmwarebefore 1.761.76
WutCom-server Highspeed 19" 1port Firmwarebefore 1.761.76
WutCom-server Highspeed 19" 4port Firmwarebefore 1.761.76
WutCom-server Highspeed Compact Firmwarebefore 1.761.76

Version data comes from the organisation that assigned the CVE; 9 further products are omitted here. 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
NoneNo account or login is needed.
User interaction
RequiredA user must take an action such as opening a file or link.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
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:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.8HighCNA (cert.vde.com)
CVSS 3.18.8HighNVD

Official description

Multiple W&T products of the Comserver Series use a small number space for allocating sessions ids. After login of an user an unathenticated remote attacker can brute force the users session id and get access to his account on the the device. As the user needs to log in for the attack to be successful a user interaction is required.

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

The underlying weakness: Use of Insufficiently Random Values

The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.

How developers prevent this class of flaw

  • Use a well-vetted algorithm that is currently considered to be strong by experts in the field, and select well-tested implementations with adequate length seeds. In general, if a pseudo-random number generator is not advertised as being cryptographically secure, then it is probably a statistical PRNG and should not be used in security-sensitive contexts. Pseudo-random number generators can produce predictable numbers if the generator is known and the seed can be guessed. A 256-bit seed is a good starting point for producing a random enough number.
  • Consider a PRNG that re-seeds itself as needed from high quality pseudo-random output sources, such as hardware devices.
  • Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems. Consult FIPS 140-2 Annex C (Approved Random Number Generators).

More Use of Insufficiently Random Values vulnerabilities (CWE-330)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Com-Server LC

All Com-Server LC vulnerabilities

Recent Use of Insufficiently Random Values vulnerabilities

Spotted an error? Tell us.