J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1545
    posted: 11/19/09
  • NSM Daily Update #1545
    posted: 11/19/09
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1545
    posted: 11/19/09
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 11/19/09
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 11/19/09

Title: CGI_lite.pm Insecure Input Handling Vulnerability

Severity: MODERATE

Description:

It is possible for users to access sensitive files remotely due to a problem in the CGI_lite.pm module. The CGI_lite.pm module allows users to upload files to a remote system. However, due to inadequate checking of the input of filenames by the module, it is possible to either view the contents of a file, or arbitrarily execute a command on a host using the module. The $filename variable within the modules does not adequately escape the inputted data when creating a file. Therefore, when a command is entered through a form POST method, it is piped directly to a shell. Therefore, a user with malicious intentions could use this to either view the contents of files readable by the UID of the httpd process, or execute commands with the inherited UID and GID of the httpd process.

Affected Products:

  • Shishir Gundavaram CGI_lite.pm 1.62.0
  • Shishir Gundavaram CGI_lite.pm 1.7.0
  • Shishir Gundavaram CGI_lite.pm 1.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.