Title: WEBgais websendmail Remote Command Execution Vulnerability
Severity: HIGH
Description:
WEBgais is a package that provides a web interface to the "gais" (Global Area Intelligent Search) search engine tool. This package contains a vulnerable script, websendmail, which can be used to execute arbitrary commands on the server with the privileges of the web server. User supplied data (from the "receiver=" form variable) is passed to a Perl OPEN function without proper input verification, allowing the use of shell metacharacters to separate commands. This can be directly exploited by submitting via the POST method the variable "receiver=" with the command separation shell metacharacter (;) followed by a command. Consequences could range from destruction of data and web site defacement to elevation of privileges through locally exploitable vulnerabilities.
Affected Products:
- WebGAIS Development Team WebGAIS 1.0.0
- WebGAIS Development Team WebGAIS 1.0.0B1
- WebGAIS Development Team WebGAIS 1.0.0B2
References:
- WebGAIS: WebGAIS
- lirik@nanko.ru: The Most Comprehensive List of CGI & httpd Bugs
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.