bytedance/AabResGuard

Path Manipulation: Zip Entry Overwrite

QiAnXinCodeSafe opened this issue · 0 comments

FileOutputStream fos = new FileOutputStream(file);

Path Manipulation: ZIP Entry Overwrite errors occur when a ZIP file is opened and expanded without checking the file path of the ZIP entry.Allowing user input to control the targetDir could allow an attacker to overwrite files on the system at will.