
PEACH
Un cadre d’isolation des locataires
@appium/support exposes an extractAllTo(zipFilePath, destDir, opts) ZIP extraction helper that supports an opt-in useSystemUnzip: true option. When that option is set, extraction is delegated to the system unzip binary and the function returns before the hardened JavaScript extractor runs. The system-unzip path performs no symlink target validation, so an attacker who controls a ZIP archive that an application extracts with useSystemUnzip: true can plant a symbolic link pointing outside the extraction directory and then write attacker-controlled file content to an arbitrary location writable by the Appium process.
The security invariant is that no archive entry may cause a write outside the extraction root. The JavaScript extractor (ZipExtractor) enforces this by resolving each symlink target and rejecting any that escapes the root. The useSystemUnzip: true branch bypasses that enforcement entirely: it invokes the external unzip binary with no symlink-safety flags and no pre- or post-extraction containment check, and extractAllTo returns immediately on success so the ZipExtractor is never constructed. Info-ZIP recreates symbolic links verbatim from archive entries, so a link whose target points outside the destination is written as-is, and a subsequent entry (or a later extraction into the same directory) whose name resolves through that link escapes the extraction root.
An attacker who controls a ZIP archive that an application extracts through @appium/support with useSystemUnzip: true on a non-Windows host that has the Info-ZIP unzip binary available can create a symbolic link outside the extraction directory and write attacker-controlled content through it to any path writable by the Appium process.
Exploitation requires the non-default useSystemUnzip: true option, and achieving the out-of-root write of file content (rather than only the escaping symlink) requires two extractions into the same destination directory with Info-ZIP, which raises attack complexity but is a realistic multi-stage installation pattern.
Use-cases with useSystemUnzip disabled (the default configuration) are not affected.
Source: NVD
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."