search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Cherokee Web Server does not adequately validate user input thereby allowing remote command execution

Vulnerability Note VU#711315

Original Release Date: 2002-09-24 | Last Revised: 2002-09-24

Overview

Cherokee does not properly validate HTTP requests. Attackers may exploit this vulnerability to execute arbitrary commands as root.

Description

Cherokee is a compact, open-source web server. Cherokee passes Uniform Resource Identifiers (URI's) from HTTP requests directly to the shell without filtering shell metacharacters. As a result, attackers can cause Cherokee to execute arbitrary commands by embedding the commands in an HTTP URI.

Cherokee is designed to start as root and drop root privileges after binding to port 80. However, versions of Cherokee prior to 0.2.7 fail to drop privileges properly. By attacking these versions of Cherokee, attackers may execute arbitrary commands as root.

Impact

Attackers can run arbitrary commands with privileges of the Cherokee listener process, which may include root privileges.

Solution

Upgrade

Upgrade to Cherokee 0.2.7:

http://aurora.esi.uem.es/~alo/cherokee/Cherokee-0.2.7.tar.gz

Vendor Information

711315
 

Cherokee Development Team Affected

Updated:  September 20, 2002

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

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


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to GOBBLES for reporting this vulnerability.

This document was written by Shawn Van Ittersum.

Other Information

CVE IDs: None
Severity Metric: 8.55
Date Public: 2001-12-29
Date First Published: 2002-09-24
Date Last Updated: 2002-09-24 17:43 UTC
Document Revision: 7

Sponsored by CISA.