1. Archivio CVE
  2. 2026
  3. CVE-2026-17435

CVE-2026-17435

2.5 Gravità bassa CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N 2.5 – Bassa

Descrizione

File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files. When the file to be rotated is a symbolic link to a missing file, and the touch option is enabled, then the rotate method assumes that the file is absent (since the existence check is against the target), and does not rotate it. But it touches the file, which creates the target. An attacker that has the ability to create the symlink can use this to create an arbitrary file with permissions of the process rotating the files (which may be different from the process that normally writes to the log file that is being rotated). Note that the touch option is disabled by default.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
rrwo file::rotate::simple < 0.4.0 –

Tipo di vulnerabilità

CWE-59 Risoluzione impropria dei collegamenti prima dell’accesso a un file (link following)

Il prodotto accede a un file in base al nome, ma non impedisce che quel nome sia un collegamento (link o scorciatoia) verso una risorsa diversa da quella prevista.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Controllo degli accessi Leggere file o cartelle, Modificare file o cartelle, Aggirare i meccanismi di protezione
Altro Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Separazione dei privilegi Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.875 CVE di tipo CWE-59, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org