Descripción
HTTP::Daemon versions before 6.17 for Perl allow OS command injection via send_file(). send_file() opens its string argument with Perl-s 2-arg open(). The 2-arg form interprets magic prefixes: -| cmd- and -cmd |- open a pipe to a subprocess, -> path- and ->> path- open the path for write or append. Untrusted input passed to send_file() can run OS commands at the daemon process UID. The read-pipe form (-cmd |-) also leaks subprocess stdout into the HTTP response body. The write-mode forms can create or truncate files at attacker chosen paths.
CVSS 9.1EPSS 1.398%Riesgo 1.02
Ver fuente- Publicación
- 2026-05-27 05:16:23
- Versiones afectadas
- <6.17
- Tipo
- Package
- Última modificación
- 2026-07-23 11:10:00
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N