J-Security Center

Title: Weex Log_Flush() Function Remote Format String Vulnerability

Severity: HIGH

Description:

Weex is a non-interactive FTP client that automates maintaining a Web site or an FTP archive by synchronizing a set of local files to a remote server.

Weex is affected by a remote format string vulnerability. This issue arises due to insufficient sanitization of user-supplied data.

Specifically, the vulnerability presents itself in the 'log_flush()' function of the 'log.c' file and is exposed when the application attempts to write an error log entry containing format specifiers. An attacker can exploit this condition by establishing a malicious FTP server and supplying a malformed directory name to the utility upon access to the server.

The issue only arises when the application is executed for the first time or the '-r' option is used to re-build cache files from a remote server. A successful attack can facilitate a crash or arbitrary code execution in the context of the application.

Weex versions 2.6.1 and 2.6.1.5 are reported to be vulnerable.

Affected Products:

  • Debian Linux 3.0.0
  • Debian Linux 3.0.0 alpha
  • Debian Linux 3.0.0 arm
  • Debian Linux 3.0.0 hppa
  • Debian Linux 3.0.0 ia-32
  • Debian Linux 3.0.0 ia-64
  • Debian Linux 3.0.0 m68k
  • Debian Linux 3.0.0 mips
  • Debian Linux 3.0.0 mipsel
  • Debian Linux 3.0.0 ppc
  • Debian Linux 3.0.0 s/390
  • Debian Linux 3.0.0 sparc
  • Debian Linux 3.1.0
  • Debian Linux 3.1.0 alpha
  • Debian Linux 3.1.0 amd64
  • Debian Linux 3.1.0 arm
  • Debian Linux 3.1.0 hppa
  • Debian Linux 3.1.0 ia-32
  • Debian Linux 3.1.0 ia-64
  • Debian Linux 3.1.0 m68k
  • Debian Linux 3.1.0 mips
  • Debian Linux 3.1.0 mipsel
  • Debian Linux 3.1.0 ppc
  • Debian Linux 3.1.0 s/390
  • Debian Linux 3.1.0 sparc
  • Gentoo Linux
  • Weex Weex 2.6.1
  • Weex Weex 2.6.1 .5

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.