#VU74202 Path traversal in TestNG - CVE-2022-4065
Published: March 30, 2023
TestNG
Testng Project
Description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences within the testngXmlExistsInJar() function in testng-core/src/main/java/org/testng/JarFileUtils.java of the XML File Parser component. A remote attacker can pass specially crafted XML file to the application and overwrite arbitrary files on the system.