CVE-2003-1365 Command injection in n/a

Medium 5.0 Published Updated

Remote attackers can execute arbitrary commands or read/write files via shell scripts using the vulnerable CGI::Lite library due to improper input filtering.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2003-1365?

CVE-2003-1365 is a medium-severity command injection vulnerability in n/a, published on 17 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-20

Which versions are affected by CVE-2003-1365?

It affects 1 product.

Products include Perl Cgi Lite.

How do I fix CVE-2003-1365?

No fix has been published for CVE-2003-1365 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2003-1365 being exploited?

There is no known exploitation of CVE-2003-1365 in the wild and no public exploit code.

Sources

Also known as GHSA-2fjp-fr4m-265h.

Is CVE-2003-1365 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free