CyberSecBulletin
CVE-2022-40181NVD status: Modified

Desigo PXM30-1: Improper Neutralization of Input During Web Page Generation

CVE-2022-40181 is a high-severity improper neutralization of input during web page generation vulnerability in Desigo PXM30-1 from Siemens, with a CVSS 3.1 base score of 8.3 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 Desigo PXM30-1 versions: All versions < V02.20.126.11-41. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.01% chance of exploitation within 30 days, higher than 64% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Desigo Pxm30-1 Firmware to 02.20.126.11-41 or a later version.
  2. Update Desigo Pxm30.e Firmware to 02.20.126.11-41 or a later version.
  3. Update Desigo Pxm40-1 Firmware to 02.20.126.11-41 or a later version.
  4. Read the advisory on cert-portal.siemens.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
SiemensDesigo PXM30-1All versions < V02.20.126.11-41Not stated
SiemensDesigo PXM30.EAll versions < V02.20.126.11-41Not stated
SiemensDesigo PXM40-1All versions < V02.20.126.11-41Not stated
SiemensDesigo PXM40.EAll versions < V02.20.126.11-41Not stated
SiemensDesigo PXM50-1All versions < V02.20.126.11-41Not stated
SiemensDesigo PXM50.EAll versions < V02.20.126.11-41Not stated
SiemensPXG3.W100-1All versions < V02.20.126.11-37Not stated
SiemensPXG3.W100-2All versions < V02.20.126.11-41Not stated
SiemensPXG3.W200-1All versions < V02.20.126.11-37Not stated
SiemensPXG3.W200-2All versions < V02.20.126.11-41Not stated
SiemensDesigo Pxm30-1 Firmwarebefore 02.20.126.11-4102.20.126.11-41
SiemensDesigo Pxm30.e Firmwarebefore 02.20.126.11-4102.20.126.11-41
SiemensDesigo Pxm40-1 Firmwarebefore 02.20.126.11-4102.20.126.11-41
SiemensDesigo Pxm40.e Firmwarebefore 02.20.126.11-4102.20.126.11-41
SiemensDesigo Pxm50-1 Firmwarebefore 02.20.126.11-4102.20.126.11-41
SiemensDesigo Pxm50.e Firmwarebefore 02.20.126.11-4102.20.126.11-41
SiemensPxg3.w100-1 Firmwarebefore 02.20.126.11-3702.20.126.11-37
SiemensPxg3.w100-2 Firmwarebefore 02.20.126.11-4102.20.126.11-41
SiemensPxg3.w200-1 Firmwarebefore 02.20.126.11-3702.20.126.11-37
SiemensPxg3.w200-2 Firmwarebefore 02.20.126.11-4102.20.126.11-41

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
HighAll data handled by the component can be read.
Integrity
LowLimited modification of data is possible.
Availability
HighThe component can be taken down completely.

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

Official description

A vulnerability has been identified in Desigo PXM30-1 (All versions < V02.20.126.11-41), Desigo PXM30.E (All versions < V02.20.126.11-41), Desigo PXM40-1 (All versions < V02.20.126.11-41), Desigo PXM40.E (All versions < V02.20.126.11-41), Desigo PXM50-1 (All versions < V02.20.126.11-41), Desigo PXM50.E (All versions < V02.20.126.11-41), PXG3.W100-1 (All versions < V02.20.126.11-37), PXG3.W100-2 (All versions < V02.20.126.11-41), PXG3.W200-1 (All versions < V02.20.126.11-37), PXG3.W200-2 (All versions < V02.20.126.11-41). The device embedded browser does not prevent interaction with alternative URI schemes when redirected to corresponding resources by web application code. By setting the homepage URI, the favorite URIs, or redirecting embedded browser users via JavaScript code to alternative scheme resources, a remote low privileged attacker can perform a range of attacks against the device, such as read arbitrary files on the filesystem, execute arbitrary JavaScript code in order to steal or manipulate the information on the screen, or trigger denial of service conditions.

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

The underlying weakness: Improper Neutralization of Input During Web Page Generation

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

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. Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.
  • Understand all the potential areas where untrusted inputs can enter your software: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.
  • For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.

More Improper Neutralization of Input During Web Page Generation vulnerabilities (CWE-79)

Timeline

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

References

Other vulnerabilities in Desigo PXM30-1

All Desigo PXM30-1 vulnerabilities

Recent Improper Neutralization of Input During Web Page Generation vulnerabilities

Spotted an error? Tell us.