White Wolf Labs #080826-1: Kyocera Mita Scanner File Utility (Multiple) Product: Kyocera Mita Scanner File Utility 3.3.0.1 Platform: NA Requirements: NA Credits: Seth Fogie White Wolf Security http://www.whitewolfsecurity.com August 26, 2008 Risk Level: High - Unauthorized document upload / File redirection / Uploading of binaries / Overwriting of existing files Summary: Kyocera Mita multifunction devices come with the ability to scan to the user's desktop. Part of the solution requires a listener at the PC/Mac, which handles authorization and document upload. This listener has several logic bugs and, as a result, the authorization can be bypassed, files can be uploaded, auditing can be spoofed, and the storage location can be altered from the configured value. Details: Unauthorized document upload - The listener works in conjunction with the multifunction device to authorize the user. If an attacker connects direct to the listener with a custom program, all authorization can be bypassed. This provides an attacker with the ability to directly upload a file to the target's computer. File Redirection - During the transfer process, the file name is provided to the listener. This name can be altered to include "../", which causes the listener to break out of the specified file storage location and allows an attacker to upload a file anywhere on the target system. Upload any file type - There are no checks in the listener to validate the content of the uploaded file. As a result, an attacker can upload any file type with any file name. When combined with the other bugs, this give the attacker the ability to overwrite existing files, or write a binary into the Startup Folder. More details are located at: http://www.informit.com/guides/content.aspx?g=security&seqNum=320 http://www.informit.com/guides/content.aspx?g=security&seqNum=321 MetaSploit module is located at: http://www.whitewolfsecurity.com/security/metasploit/fileutility.txt Workaround: Uninstall the software from the PC/Mac. Vendor Response: Vendor has released an update that fixes only the file redirection issue. Copyright © 2008 White Wolf Security Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of White Wolf Security. If you wish to reprint the whole, or any part, of this alert in any other medium other than electronically, please contact White Wolf Security for permission. Disclaimer: The information in this advisory is believed to be accurate at the time of publishing, based on currently available information. Use of the information constitutes acceptance for use on an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.