GLSA 200611-17: fvwm: fvwm-menu-directory fvwm command injection

Severity:normal
Title:fvwm: fvwm-menu-directory fvwm command injection
Date:11/23/2006
Bugs: #155078
ID:200611-17

Synopsis

A flaw in fvwm-menu-directory may permit a local attacker to execute arbitrary commands with the privileges of another user.

Background

fvwm is a highly configurable virtual window manager for X11 desktops. fvwm-menu-directory allows fvwm users to browse directories from within fvwm.

Affected packages

Package Vulnerable Unaffected Architecture(s)
x11-wm/fvwm < 2.5.18-r1 >= 2.5.18-r1 All supported architectures

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team discovered that fvwm-menu-directory does not sufficiently sanitise directory names prior to generating menus.

Impact

A local attacker who can convince an fvwm-menu-directory user to browse a directory they control could cause fvwm commands to be executed with the privileges of the fvwm user. Fvwm commands can be used to execute arbitrary shell commands.

Workaround

There is no known workaround at this time.

Resolution

All fvwm users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=x11-wm/fvwm-2.5.18-r1"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200611-17.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!