J-Security Center

Title: Bugzilla showvotes.cgi Cross-Site Scripting Vulnerability

Severity: HIGH

Description:

Bugzilla is a free, open source bug tracking and reporting appplication. It allows users to submit bugs, offers a forum for discussing bugs, keeps track of the status of bugs, and can restrict who has access to bug information.

An input validation problem exists in a Bugzilla script. 'showvotes.cgi' does not strip HTML tags from requests. As a result, it is possible to submit a malicious link to a website which contains arbitrary script code. The script code will be executed in the browser of the user clicking the link, appearing to originate from the site that the malicious link was submitted to.

This example will cause 'showvotes.cgi' to display an alert:

http://bugzillahost/showvotes.cgi?bug_id=<script>alert(1)</script>

Variations of cross-site scripting attacks may occur as a result of this issue. Cookie-based authentication credentials may be affected, Bugzilla data may be modified remotely, etc.

Affected Products:

  • Mozilla Bugzilla 2.10.0
  • Mozilla Bugzilla 2.12.0
  • Mozilla Bugzilla 2.4.0
  • Mozilla Bugzilla 2.6.0
  • Mozilla Bugzilla 2.8.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.