PatchSiren

PatchSiren cyber security CVE debrief

CVE-2023-42794 Siemens CVE debrief

CVE-2023-42794 is a MEDIUM severity (CVSS 5.9) Incomplete Cleanup vulnerability in Apache Tomcat, affecting versions 9.0.70 through 9.0.80 and 8.5.85 through 8.5.93. The issue stems from an internal fork of Commons FileUpload that included unreleased refactoring code, exposing a denial-of-service condition on Windows systems. If a web application opens a stream for an uploaded file but fails to close it, the file is never deleted from disk, potentially leading to disk exhaustion over time. Siemens SINEC NMS is identified as an affected product in this advisory. The vulnerability was published on August 13, 2024, and is not listed in CISA's Known Exploited Vulnerabilities catalog.

Vendor
Siemens
Product
SINEC NMS
CVSS
MEDIUM 5.9
CISA KEV
Not listed in stored evidence
Original CVE published
2024-08-13
Original CVE updated
2024-08-13
Advisory published
2024-08-13
Advisory updated
2024-08-13

Who should care

Organizations running Siemens SINEC NMS on affected versions, Apache Tomcat administrators on Windows with file upload functionality, industrial control system operators relying on Tomcat-based web applications, and security teams responsible for resource exhaustion attack prevention in Java web environments.

Technical summary

The vulnerability exists in an internal fork of Apache Commons FileUpload packaged with specific Apache Tomcat versions. An in-progress refactoring exposed a cleanup failure: when a web application opens a stream for an uploaded file but fails to close it, the temporary file is never deleted on Windows systems. This resource leak can accumulate over time, eventually exhausting available disk space and causing denial of service. The issue is platform-specific to Windows due to file locking behavior that prevents deletion of open files.

Defensive priority

medium

Recommended defensive actions

  • Upgrade Siemens SINEC NMS to version 3.0 or later per vendor guidance
  • For Apache Tomcat deployments, upgrade to version 9.0.81 or later, or 8.5.94 or later
  • Audit web applications for proper file stream closure after upload handling
  • Monitor disk usage on Windows-based Tomcat servers for abnormal growth in temporary directories
  • Review application code to ensure all InputStream/OutputStream objects from file uploads are closed in finally blocks or try-with-resources
  • Apply defense-in-depth practices for industrial control systems as recommended by CISA

Evidence notes

The vulnerability description and affected product information are derived from CISA CSAF advisory ICSA-24-228-06, which identifies Siemens SINEC NMS as affected. The Apache Tomcat version ranges and remediation guidance (upgrade to 9.0.81+ or 8.5.94+) are explicitly stated in the source. CVSS 5.9 MEDIUM severity is confirmed. The CVE was published August 13, 2024, with no KEV entry present.

Official resources

Apache Tomcat versions 9.0.70-9.0.80 and 8.5.85-8.5.93 contain an incomplete cleanup vulnerability in their internal Commons FileUpload fork. On Windows systems, unclosed file streams from uploads are not deleted, enabling eventual disk-flo