CRITICAL✓ PATCH🇵🇱 Wersja polska

CVE-2023-50164

CVSS 9.8v3.1pub. 2023-12-07upd. 2025-02-13

An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.

🤖 AI Analysis
How it works

The attacker manipulates HTTP request parameters responsible for file upload to bypass target path restrictions (path traversal, CWE-552 — improper access control to resources on the server side). As a result, it is possible to save a file in an unexpected location on the server. If the file is placed in a directory accessible by the application server, it can be subsequently executed as server code, leading to full RCE.

Impact

An unauthenticated attacker can gain full control over the application server — read confidential data, modify it, and execute arbitrary system commands (RCE).

Mitigation & patch

Apache Struts must be updated to version 2.5.33 or 6.3.0.2 or newer. The vendor clearly indicates these versions as containing the security patch.

Who is affected

Apache Struts in versions prior to 2.5.33 and prior to 6.3.0.2

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Apache Struts

    APP
    Apache
    2.0.0 – 2.5.33 (excl.)6.0.0 – 6.3.0.2 (excl.)
🟢
PATCH AVAILABLE
Vendor update available. Deploy in standard maintenance cycle.
Tags
RCE
CWE
References

Related vulnerabilities

CVE-2020-17530CRITICAL9.8⚠ KEVPL ✓same product

RCE w Apache Struts 2 poprzez wymuszoną ewaluację OGNL

CVE-2017-9791CRITICAL9.8⚠ KEVPL ✓same product

RCE w pluginie Struts 1 dla Apache Struts 2 (S2-048)

CVE-2017-5638CRITICAL9.8⚠ KEVPL ✓same product

RCE w Apache Struts 2 poprzez błędną obsługę nagłówków HTTP (Jakarta Multipart parser)

CVE-2013-2251CRITICAL9.8⚠ KEVPL ✓same product

Apache Struts 2: RCE przez prefiks action/redirect w parametrach

CVE-2012-0391CRITICAL9.8⚠ KEVPL ✓same product

Apache Struts: RCE przez OGNL injection w ExceptionDelegator