← Database

CVE-2003-1365

MEDIUM CVSS: 5.0 Published: 2003-12-31 Modified: 2026-06-16

Description

The escape_dangerous_chars function in CGI::Lite 2.0 and earlier does not correctly remove special characters including (1) "\" (backslash), (2) "?", (3) "~" (tilde), (4) "^" (carat), (5) newline, or (6) carriage return, which could allow remote attackers to read or write arbitrary files, or execute arbitrary commands, in shell scripts that rely on CGI::Lite to filter such dangerous inputs.

Affected Platforms

Perl Cgi Lite

Weakness Type

CWE-20

References