Privilege escalation in Siemens SCALANCE LPE9403 and SINUMERIK Edge Products



| Updated: 2023-04-27
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-4034
CWE-ID CWE-20
Exploitation vector Local
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
SINUMERIK Edge
Server applications / SCADA systems

SCALANCE LPE9403
Hardware solutions / Routers & switches, VoIP, GSM, etc

Vendor Siemens

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU60007

Risk: Medium

CVSSv4.0: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Green]

CVE-ID: CVE-2021-4034

CWE-ID: CWE-20 - Improper input validation

Exploit availability: Yes

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper handling of the calling parameters count in the pkexec setuid binary, which causes the binary to execute environment variables as commands. A local user can craft environment variables in a way that they will be processed and executed by pkexec and execute arbitrary commands on the system as root.

Mitigation

Install update from vendor's website.

Vulnerable software versions

SINUMERIK Edge: before 3.3.0

SCALANCE LPE9403: before 2.0

CPE2.3 External links

https://cert-portal.siemens.com/productcert/txt/ssa-330556.txt


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

The attacker would have to login to the system and perform certain actions in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.



###SIDEBAR###