J-Security Center

Title: Bugzilla Remote Arbitrary Command Execution Vulnerability

Severity: HIGH

Description:

Bugzilla is a web-based bug-tracking system based on Perl and MySQL. It allows people to submit bugs and catalogs them.

Bugzilla is prone to a vulnerability which may allow remote users to execute arbitrary commands on the target webserver.

Consequently, commands can be appended to the end of the form values and executed by /bin/sh in the manner: "value;id". The form value that is passed to system() for all bug reports is "who", shown here in this section of code from "process_bug.cgi":

system("./processmail $k $::FORM{'who'}");

What this means is that it is possible for an attacker to supply maliciously crafted input to form fields, which when submitted will cause arbitrary commands to be executed on the shell of the host running vulnerable versions of Bugzilla. Commands will be executed with the privileges of the webserver process.

Affected Products:

  • Mozilla Bugzilla 2.10.0
  • Mozilla Bugzilla 2.4.0
  • Mozilla Bugzilla 2.6.0
  • Mozilla Bugzilla 2.8.0

References:

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.