|
|
|
Vulnerability Note VU#419241Multiple vendor SFTP logging format string vulnerabilityOverviewA logging function used by multiple vendors' SFTP servers contains a format string vulnerability, which may allow an authorized remote attacker to execute arbitrary code or cause a denial of service.I. DescriptionSFTPSFTP (Secure FTP) is a file transfer application that uses SSH for encryption.
II. ImpactA remote authenticated attacker may be able to execute arbitrary code with the privilege of the user or cause a denial of service to the SSH server.III. SolutionUpgrade or patch
1. Edit the SSH server's sshd2_config file: 1. Change the line subsystem-sftp internal://sftp-server to subsystem-sftp sftp-server Note: This change disallows the use of chroot. 2. Comment out the SftpSyslogFacility keyword line. Note: The line should begin with two "pound" signs, as in this example: ## SftpSyslogFacility LOCAL7 2. Restart the SSH server to read the changes in the configuration file. On Windows Servers The only workaround is to disable the sftp subsystem as follows: 1. Edit the SSH server's sshd2_config file and comment out the subsystem-sftp line. Note: The line should begin with two "pound" signs, as in this example: ## subsystem-sftp "fsshsftpd.exe" 2. Restart the SSH server to read the change in the configuration file. Systems Affected
Referenceshttp://support.wrq.com/techdocs/1882.html CreditThanks to WRQ for reporting this vulnerability. This document was written by Will Dormann.
If you have feedback, comments, or additional information about this vulnerability, please send us
email. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||