CVE-2021-29425
MEDIUMApache Commons IO - Path Traversal via FileNameUtils.normalize
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2021-29425. PoCs published by shoucheng3, arsalanraja987.
AI-analyzed exploit summary This repository contains the Apache Commons IO source code with a focus on CVE-2021-29425, but lacks explicit exploit code. It includes documentation and build configurations, suggesting it is a technical analysis or patched version of the library.
Description
In Apache Commons IO before 2.7, When invoking the method FileNameUtils.normalize with an improper input string, like "//../foo", or "\\..\foo", the result would be the same value, thus possibly providing access to files in the parent directory, but not further above (thus "limited" path traversal), if the calling code would use the result to construct a path value.
Exploits (2)
This repository contains the Apache Commons IO source code with a focus on CVE-2021-29425, but lacks explicit exploit code. It includes documentation and build configurations, suggesting it is a technical analysis or patched version of the library.
This repository contains a functional PoC for CVE-2021-29425, demonstrating an XXE vulnerability in Apache Tika. It includes both vulnerable and safe parser implementations, showcasing the exploit and mitigation.
References (47)
Scores
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N