CVE-2023-22629
TitanFTP 2.0.1.2102 - Path traversal to Remote Code Execution (RCE)
Record summary
CVE-2023-22629 has a selected CVSS score of 8.8 (high); EIP currently links 1 catalogued exploit and 1 Nuclei template.
Description
An issue was discovered in TitanFTP through 1.94.1205. The move-file function has a path traversal vulnerability in the newPath parameter. An authenticated attacker can upload any file and then move it anywhere on the server's filesystem.
Exploitation context
Proofs of concept
1Catalogued exploits
ExploitDBTitanFTP 2.0.1.2102 - Path traversal to Remote Code Execution (RCE)ExploitDB exploitby Andreas FinstadNot analyzed1 file
Nuclei templates
1ProjectDiscoveryHIGHTitanFTP move-file Function ≤ 1.94.1205 - Path TraversalCVSS 8.8
TitanFTP versions up to 1.94.1205 contain a path traversal vulnerability in the move-file function where the newPath parameter is improperly validated. An authenticated user can upload a file and then move it to any location on the server filesystem, potentially allowing arbitrary file placement and system compromise.
Impact
Authenticated attackers can exploit the move-file function to place files anywhere on the server filesystem using path traversal techniques, potentially overwriting system files, planting malicious executables, or compromising server integrity.
Remediation
Upgrade to TitanFTP version newer than 1.94.1205 that properly validates the newPath parameter in the move-file function.
Source: ProjectDiscovery