CVE-2023-42796 Path traversal in CP-8031 MASTER MODULE
Authenticated attackers can traverse directories to download arbitrary files and potentially escalate privileges to administrator on Siemens CP-8031/8050 modules.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-42796?
CVE-2023-42796 is a high-severity path traversal vulnerability in Siemens CP-8031 MASTER MODULE, published on 10 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been identified in CP-8031 MASTER MODULE (All versions < CPCI85 V05.11), CP-8050 MASTER MODULE (All versions < CPCI85 V05.11). The web server of affected devices fails to properly sanitize user input for the /sicweb-ajax/tmproot/ endpoint. This could allow an authenticated remote attacker to traverse directories on the system and download arbitrary files. By exploring active session IDs, the vulnerability could potentially be leveraged to escalate privileges to the administrator role.
Weakness: CWE-22
Which versions are affected by CVE-2023-42796?
It affects 2 products.
Products include Siemens Cp-8031 Firmware, Siemens Cp-8050 Firmware.
How do I fix CVE-2023-42796?
No fix has been published for CVE-2023-42796 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-42796 being exploited?
There is no known exploitation of CVE-2023-42796 in the wild and no public exploit code.
Other vulnerabilities in Siemens CP-8031 MASTER MODULE
Sources
Also known as GHSA-fvx8-3v89-2x6h.