Vulnerability Note VU#671444

Input validation error in quikstore.cgi allows attackers to execute commands

Original Release date: 22 Dec 2000 | Last revised: 05 Mar 2002

Overview

The quikstore shopping cart script contains an input validation error that allows attackers to execute commands on affected web servers.

Description

The quikstore.cgi script is written in Perl and provides its users with shopping cart software for e-commerce transactions. In November 2000, the CERT/CC received a report of an input validation error in this script that allows attackers to execute commands that are available on the system. After reviewing portions of the Quikstore source code, we believe that this vulnerability was caused by the use of an insecure form of the Perl open call. By including certain shell metacharacters in the URL portion of an HTTP GET request, attackers can cause the Perl interpreter to execute any commands that are available to the web server process.

Depending on the configuration of the victim's web server, it may be possible to execute commands that are above the root of the web server directory.

Impact

Attackers can execute arbitrary commands with privileges equivalent to the web server or cgi user.

Solution

Quikstore has produced a patch for this vulnerability; please contact info@quikstore.com for further details.

The impact of this vulnerability can be reduced by restricting the set of commands available to the web server. On Unix and Linux systems, this can be accomplished using chroot. In addition, any scripts or binaries that are not necessary for web service should be removed from the user's web server directory.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
QuikstoreAffected01 Dec 200022 Mar 2001
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

Credit

The CERT/CC thanks Anders Henke of Schlund+Partner AG for reporting this vulnerability and Quikstore for their assistance in researching the issue.

This document was written by Jeffrey P. Lanza.

Other Information

  • CVE IDs: Unknown
  • Date Public: 20 Nov 2000
  • Date First Published: 22 Dec 2000
  • Date Last Updated: 05 Mar 2002
  • Severity Metric: 15.39
  • Document Revision: 26

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.