J-Security Center

Title: Multiple Vendor BSD Global Port Package CGI Vulnerability

Severity: MODERATE

Description:

Global is a source code tag system included in the NetBSD ports package. A vulnerability exists in versions 3.55 and prior that allows for an attacker to remotely execute commands.

The problem occurs in the handling of quoted and escaped characters by the Common Gateway Interface script. An administrator can use the "htags -f" function to generate a CGI script that will provide the interface between the web server and the system. However, through the CGI, it is possible for a malicious user to pass a specially formatted string to the interface, resulting in the execution of a shell command.

Affected Products:

  • FreeBSD FreeBSD 3.5.0 x
  • FreeBSD FreeBSD 4.0.0
  • FreeBSD FreeBSD 4.1.0
  • FreeBSD FreeBSD 4.1.1
  • NetBSD NetBSD 1.4.0
  • NetBSD NetBSD 1.4.1
  • NetBSD NetBSD 1.4.2
  • Shigio Yamaguchi Global 3.55.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.