Falhas do tipo CWE-59

822 resultados

Seguimento de links simbólicos (symlink)

A aplicação segue links simbólicos sem validação, permitindo que um atacante redirecione operações de arquivo para locais não autorizados. Isso pode resultar em leitura, modificação ou exclusão de arquivos sensíveis fora do diretório esperado.

Exemplo

Um servidor web processa uploads em /tmp/uploads/, mas não verifica se os caminhos são links simbólicos. Um atacante cria um symlink em /tmp/uploads/config que aponta para /etc/passwd, e a aplicação sobrescreve o arquivo de senhas do sistema.

Como mitigar

Use funções que resolvem caminhos canônicos (realpath em C, Path.toRealPath() em Java) antes de qualquer operação com arquivo, e implemente verificações de TOCTOU (time-of-check-time-of-use). Mantenha operações sensíveis em diretórios controlados com permissões restritivas e evite processar symlinks vindos de áreas com controle de usuário.

CVE-2009-1143HIGHAn issue was discovered in open-vm-tools 2009.03.18-154848. Local users can bypass intended access restrictions on mounting shares via a symEPSS 0.3%CVE-2026-27905HIGHBentoML has an Arbitrary File Write via Symlink Path Traversal in Tar ExtractionEPSS 0.3%CVE-2022-22262HIGHASUS Armoury Crate & Aura Creator Installer之ROG Live Service - Improper Link Resolution Before File AccessEPSS 0.3%CVE-2026-28684MEDIUMpython-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallbackEPSS 0.3%CVE-2024-9766HIGHWacom Center WTabletServicePro Link Following Local Privilege Escalation VulnerabilityEPSS 0.3%CVE-2025-15541MEDIUMAccess to System Files via SFTP on TP-Link VX800vEPSS 0.3%CVE-2023-53973HIGHZillya Total Security 3.0.2367.0 Local Privilege Escalation via Quarantine ModuleEPSS 0.3%CVE-2022-45440MEDIUMA vulnerability exists in the FTP server of the Zyxel AX7501-B0 firmware prior to V5.17(ABPC.3)C0, which processes symbolic links on externaEPSS 0.2%CVE-2025-11489LOWwonderwhy-er DesktopCommanderMCP filesystem.ts isPathAllowed symlinkEPSS 0.2%CVE-2026-44471HIGHgitoxide: Symlink prefix-reuse allows worktree escape during checkoutEPSS 0.2%CVE-2023-31003HIGHIBM Security Access Manager Container privilege escalationEPSS 0.2%CVE-2023-50197HIGHIntel Driver & Support Assistant Link Following Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2026-61858MEDIUMImageMagick before 7.1.2-26 Policy Bypass via APNG encoderEPSS 0.2%CVE-2023-47192HIGHAn agent link vulnerability in the Trend Micro Apex One security agent could allow a local attacker to escalate privileges on affected instaEPSS 0.2%CVE-2026-89021MEDIUMMikroTik RouterOS Path Traversal via Container OCI/tar Image ExtractionEPSS 0.2%CVE-2023-1412HIGHLocal Privilege Escalation Vulnerability in WARP's MSI InstallerEPSS 0.2%CVE-2026-27967HIGHSymlink Escape in Agent File ToolsEPSS 0.2%CVE-2022-0012MEDIUMCortex XDR Agent: Local Arbitrary File Deletion VulnerabilityEPSS 0.2%CVE-2026-2627HIGHSoftland FBackup Backup/Restore HID.dll link followingEPSS 0.2%CVE-2024-29188HIGHMalicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated filesEPSS 0.2%