J-Security Center

Title: gbook.cgi Remote Command Execution Vulnerability

Severity: MODERATE

Description:

Bill Hendrick's gbook.cgi is a guestbook script used by certain websites to log visitor names, comments and similar information.

Gbook.cgi fails to properly validate user-supplied input to the script's _MAILTO parameter. This allows a malicious user to append a ';' character to the definition of the _MAILTO field, followed by text containing malicious shell commands. These will be executed as the webserver, providing the attacker with an elevation of privileges, and, if properly exploited, allowing more serious compromises of the host system..

Affected Products:

  • Bill Kendrick GBook.cgi 1.0.0

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.