Falhas do tipo CWE-24

119 resultados

Travessia de diretórios via sequências relativas

A aplicação não valida corretamente caminhos de arquivo fornecidos pelo usuário, permitindo que sequências como '../' sejam usadas para escapar do diretório pretendido e acessar arquivos fora da área permitida. Um atacante consegue ler, modificar ou deletar arquivos sensíveis do servidor navegando para diretórios pais.

Exemplo

Uma API de download recebe um parâmetro file=/relatorios/vendas.pdf, mas não sanitiza a entrada. O atacante manda file=../../etc/passwd e consegue ler o arquivo de senhas do sistema Linux, porque o código simplesmente concatena o caminho sem validação.

Como mitigar

Valide caminhos contra uma lista branca de arquivos ou diretórios permitidos; use APIs de manipulação de paths que normalizem sequências (rejeitando '..' após normalização); implemente controle de acesso no nível do arquivo; nunca confie em entrada do usuário para construir caminhos sem validação prévia.

CVE-2018-25094LOWระบบบัญชีออนไลน์ Online Accounting System image.php path traversalEPSS 0.8%CVE-2023-7058MEDIUMSourceCodester Simple Student Attendance System path traversalEPSS 0.7%CVE-2024-2825MEDIUMlakernote EasyAdmin saveReportFile path traversalEPSS 0.7%CVE-2025-61318MEDIUMEmlog Pro 2.5.20 has an arbitrary file deletion vulnerability. This vulnerability stems from the admin/template.php component and the admin/EPSS 0.7%CVE-2024-0465LOWcode-projects Employee Profile Management System download.php path traversalEPSS 0.7%CVE-2025-57618HIGHA path traversal vulnerability in FastX3 thru 3.3.67 allows an unauthenticated attacker to read arbitrary files on the server. By leveragingEPSS 0.7%CVE-2024-10379MEDIUMESAFENET CDG DecryptApplicationService.java actionViewDecyptFile path traversalEPSS 0.7%CVE-2023-3098MEDIUMKylinSoft youker-assistant restore_all_sound_file path traversalEPSS 0.7%CVE-2025-53513HIGHZip slip vulnerability in JujuEPSS 0.7%CVE-2023-7098LOWicret EasyImages hide.php path traversalEPSS 0.7%CVE-2024-3218MEDIUMShibang Communications IP Network Intercom Broadcasting System busyscreenshotpush.php path traversalEPSS 0.7%CVE-2024-8409MEDIUMABCD ABCD2 show_image.php path traversalEPSS 0.7%CVE-2025-67364HIGHfast-filesystem-mcp version 3.4.0 contains a critical path traversal vulnerability in its file operation tools including fast_read_file. ThiEPSS 0.6%CVE-2025-32807MEDIUMA path traversal vulnerability in FusionDirectory before 1.5 allows remote attackers to read arbitrary files on the host that end with .png EPSS 0.6%CVE-2024-0341LOWInis GET Request File.php path traversalEPSS 0.6%CVE-2024-13130MEDIUMDahua IPC-HFW1200S Web Interface Sha1Account1 path traversalEPSS 0.6%CVE-2025-1584MEDIUMopensolon Solon StaticMappings.java path traversalEPSS 0.6%CVE-2024-6786MEDIUMMXview One Series vulnerable to Path TraversalEPSS 0.6%CVE-2026-21857HIGHRedaxo has Path Traversal in Backup Addon Leading to Arbitrary File ReadEPSS 0.5%CVE-2026-34151HIGHXWiki Platform: Resource path traversal via /skin/ action endpoint in Jetty 12+EPSS 0.5%