Exploit database

Vulnerability

CVE-2023-50164

Apache Struts: File upload component had a directory traversal vulnerability

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

CVE Program

Exploit source choices

18 sources
jakabakos/cve-2023-50164-apache-struts-rce
GH-0e78ac10c76a069e49050c4a4598239dGitHubUnofficial GitHub sourcePreferred

A critical security vulnerability, identified as CVE-2023-50164 (CVE: 9.8) was found in Apache Struts, allowing attackers to manipulate file upload parameters that can potentially lead to unauthorized path traversal and remote code execution (RCE).

2023-12-1319 files · 84 stars
dwisiswant0/cve-2023-50164-poc
GH-6fe478916ccd3fac7a83968cf6913199GitHubUnofficial GitHub source

Proof of Concept for Path Traversal in Apache Struts ("CVE-2023-50164")

2023-12-1717 files · 57 stars
eqstlab/cve-2024-53677
GH-c7f3c2441ff6fdb79b0f3635ec62daa8GitHubUnofficial GitHub source

File upload logic flaw in Apache Struts2 exploit

2025-01-0321 files · 17 stars
snyk-labs/cve-2023-50164-poc
GH-3c85b033ef8f8c127e17aa1388753d06GitHubUnofficial GitHub source

snyk-labs/cve-2023-50164-poc source repository

2023-12-3018 files · 6 stars
chriszubiaga/cvedetails-scraper
GH-8281854e829b42fce31652335550dc76GitHubUnofficial GitHub source

This Python script is tool that scrapes detailed information about one or more specified CVEs (Common Vulnerabilities and Exposures) from the cvedetails.com website and outputs the data in JSON format.

2025-05-054 files · 5 stars
bcdannyboy/cve-2023-50164
GH-2c961a4e2033490904ec43741bf6cc02GitHubUnofficial GitHub source

A scanning utility and PoC for CVE-2023-50164

2023-12-153 files · 4 stars
c4ooco/cve-2024-53677-docker
GH-ba6199d166f256b1a4866846ca03ed90GitHubUnofficial GitHub source

A Docker-based environment to reproduce the CVE-2024-53677 vulnerability in Apache Struts 2.

2024-12-1716 files · 3 stars
trackflaw/cve-2024-10924-wordpress-docker
GH-2080b4ff92812b4742f366886bce7391GitHubUnofficial GitHub source

Vulnerable docker container for Really Simple Security (Free, Pro, and Pro Multisite) 9.0.0 – 9.1.1.1 – Authentication Bypass CVE-2023-50164

2024-11-203,803 files · 3 stars
sunnyvale-it/cve-2023-50164-poc
GH-97e182cc6228d87f14bda2b675a9f85cGitHubUnofficial GitHub source

CVE-2023-50164 (Apache Struts path traversal to RCE vulnerability) - Proof of Concept

2024-01-1216 files · 2 stars
12442rf/poc
GH-3a840c3a743e0417793b49231edf2d51GitHubUnofficial GitHub source

12442rf/poc source repository

2025-05-0612 files · 1 stars
nikitapark/cve-2023-50164-poc
GH-c6bbf9bbe5d76255950ff7172c1cf4b2GitHubUnofficial GitHub source

CVE-2023-50164 PoC Application & Exploit script

2024-10-0616 files · 1 stars
pixel-defaultbr/cve-2023-50164
GH-293b223bb083093da878d1bcde52cfc1GitHubUnofficial GitHub source

pixel-defaultbr/cve-2023-50164 source repository

2025-03-054 files · 1 stars
0xpthree/struts_cve-2024-53677
GH-2da74692cea014be6309126b687ff677GitHubUnofficial GitHub source

0xpthree/struts_cve-2024-53677 source repository

2025-01-0716 files · 0 stars
agilevatester/strutssecurity
GH-5d29f404c63d8ecd3e3deb091f4e6d1dGitHubUnofficial GitHub source

agilevatester/strutssecurity source repository

2025-04-28520 files · 0 stars
alvaromcarmena/strutsshell-poc
GH-150cbff6f947c6d938eb282f81e46a9aGitHubUnofficial GitHub source

alvaromcarmena/strutsshell-poc source repository

2024-08-3011 files · 0 stars
asfandalimemon25/cve-2023-50164analysis-
GH-3e5e5f32393d7eac41020dc9da6790f8GitHubUnofficial GitHub source

CVE-2023-50164 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.

2024-04-1615 files · 0 stars
d4n-sec/d4n-sec.github.io
GH-a977c770ad0cb70a8725a440ce0aeba7GitHubUnofficial GitHub source

Generated personal blog

2026-11-06385 files · 0 stars