J-Security Center

Title: Mirror File Creation Vulnerability

Severity: HIGH

Description:

A vulnerability in the Mirror Perl script allows remote FTP server operators to create or overwrite arbitrary files in the local system with the permission of the user running Mirror.

Mirror is a Perl script designed to duplicate a directory hierarchy between two machines via FTP. Lack of proper input validation on the part of Mirror allows malicious remote web sites to send it filenames formatted in such a way that force Mirror to create or overwrite arbitrary files on the system with the permissions of the user running the script. For example a malicous FTP server can send filenames with embedded ".." and '\' strings that will not be filtered by the script.

Affected Products:

  • Lee McLoughlin Mirror 2.9.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.