CVE-2003-1365

Current 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.

Basic Data

PublishedDecember 31, 2003
Last ModifiedJuly 29, 2017
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeCWE-20
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:N/AC:L/Au:N/C:N/I:P/A:N
CVSS 2 - Access VectorNETWORK
CVSS 2 - Access ComplexityLOW
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactNONE
CVSS 2 - Availability ImpactNONE
CVSS 2 - Base Score5.0
SeverityMEDIUM
Exploitability Score10.0
Impact Score2.9
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegefalse

Base Metric V3

No data provided.

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3ApplicationPerlCgi Lite2.0*******

Vulnerable Software List

VendorProductVersions
Perl Cgi Lite 2.0

References

NameSourceURLTags
20030211 Security bug in CGI::Lite::escape_dangerous_chars() functionhttp://archives.neohapsis.com/archives/vulnwatch/2003-q1/0065.htmlVULNWATCHExploit
http://search.cpan.org/~smylers/CGI-Lite-2.02/Lite.pmhttp://search.cpan.org/~smylers/CGI-Lite-2.02/Lite.pmCONFIRMExploit
3237http://securityreason.com/securityalert/3237SREASON
http://use.perl.org/~cbrooks/journal/10542http://use.perl.org/~cbrooks/journal/10542MISC
20030211 Security bug in CGI::Lite::escape_dangerous_chars() functionhttp://www.securityfocus.com/archive/1/311414BUGTRAQExploit
6833http://www.securityfocus.com/bid/6833BID
cgilite-shell-command-execution(11308)https://exchange.xforce.ibmcloud.com/vulnerabilities/11308XF