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.
Metrics
CVSS 2.0 5.0/10
AV:N/AC:L/Au:N/C:N/I:P/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://archives.neohapsis.com/archives/vulnwatch/2003-q1/0065.htmlExploit
- http://search.cpan.org/~smylers/CGI-Lite-2.02/Lite.pmExploit
- http://securityreason.com/securityalert/3237
- http://use.perl.org/~cbrooks/journal/10542
- http://www.securityfocus.com/archive/1/311414Exploit
- http://www.securityfocus.com/bid/6833
- https://exchange.xforce.ibmcloud.com/vulnerabilities/11308
- http://archives.neohapsis.com/archives/vulnwatch/2003-q1/0065.htmlExploit
- http://search.cpan.org/~smylers/CGI-Lite-2.02/Lite.pmExploit
- http://securityreason.com/securityalert/3237
- http://use.perl.org/~cbrooks/journal/10542
- http://www.securityfocus.com/archive/1/311414Exploit
- http://www.securityfocus.com/bid/6833
- https://exchange.xforce.ibmcloud.com/vulnerabilities/11308
Timeline
- Published
- Dec 31, 2003
- Last modified
- Jun 16, 2026
- NVD status
- Modified