J-Security Center

Title: Horde and Imp Temporary File Vulnerability

Severity: MODERATE

Description:

Imp is a powerful web-based mail interface/client developed by members of the Horde project. Horde Application Framework provides support for dealing with things like preferences, compression, browser detection, connection tracking, etc.

Imp creates temporary files insecurely.

Some temporary file issues have been patched in Imp, there are still multiple instances where the files are created insecurely. The patches in place cause Imp to acknowledge 'TMPDIR', which is an environment variable that allows users to specify a directory other than '/tmp'(which is world-writeable) for temporary files. This still does not address the problem of predictable naming format for temporary files, nor does it cause Imp to check to see if the file already exists before trying to create it.

This issue can be exploited with symlink attacks by local attackers. Files attacked in this manner will be overwritten with the privileges of Imp. The minimum effect of exploitation would be loss of critical data in overwritten files, and a potential for denial of services depending on which files are attacked. Worse than that is that local attackers may be able to elevate privileges on the host if they find a way to supply input that is written to files in symlink attacks.

Affected Products:

  • Caldera OpenLinux Server 3.1.0
  • Horde Horde 1.2.0
  • Horde Horde 1.2.1
  • Horde Horde 1.2.2
  • Horde Horde 1.2.3
  • Horde Horde 1.2.4
  • Horde Horde 1.2.5
  • Horde IMP 2.0.0
  • Horde IMP 2.2.0
  • Horde IMP 2.2.1
  • Horde IMP 2.2.2
  • Horde IMP 2.2.3
  • Horde IMP 2.2.4
  • Horde IMP 2.2.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.