Slackware Security Advisories
Slackware Logo


Security Advisories



General Info

Get Slack

Install Help






Other Sites



Mailing Lists


From: Slackware Security Team <>
Subject: [slackware-security] xdg-utils (SSA:2009-033-01)
Date: Mon, 2 Feb 2009 16:32:22 -0800 (PST)
Hash: SHA1

[slackware-security]  xdg-utils (SSA:2009-033-01)

New xdg-utils packages are available for Slackware 12.2 and -current to
fix security issues.  Applications that use /etc/mailcap could be tricked
into running an arbitrary script through xdg-open, and a separate flaw in
xdg-open could allow the execution of arbitrary commands embedded in untrusted
input provided to xdg-open.

More details about the issues may be found in the Common
Vulnerabilities and Exposures (CVE) database:

Here are the details from the Slackware 12.2 ChangeLog:
  This update fixes two security issues.  First, use of xdg-open in
  /etc/mailcap was found to be unsafe -- xdg-open passes along downloaded files
  without indicating what mime type they initially presented themselves as,
  leaving programs further down the processing chain to discover the file type
  again.  This makes it rather trivial to present a script (such as a .desktop
  file) as a document type (like a PDF) so that it looks safe to click on in a
  browser, but will result in the execution of an arbitrary script.  It might
  be safe to send files to trusted applications in /etc/mailcap, but it does
  not seem to be safe to send files to xdg-open in /etc/mailcap.
    This package will comment out calls to xdg-open in /etc/mailcap if they are
  determined to have been added by a previous version of this package.
  If you've made any local customizations to /etc/mailcap, be sure to check
  that there are no uncommented calls to xdg-open after installing this update.
  Thanks to Manuel Reimer for discovering this issue.
  For more information, see:
  Another bug in xdg-open fails to sanitize input properly allowing the
  execution of arbitrary commands.  This was fixed in the xdg-utils repository
  quite some time ago (prior to the inclusion of xdg-utils in Slackware), but
  was never fixed in the official release of xdg-utils.  The sources for
  xdg-utils in Slackware have now been updated from the repo to fix the problem.
  For more information, see:
  (* Security fix *)

Where to find the new packages:

HINT:  Getting slow download speeds from
Give a try.  This is another primary FTP site
for Slackware that can be considerably faster than downloading
directly from

Thanks to the friendly folks at the OSU Open Source Lab
( for donating additional FTP and rsync hosting
to the Slackware project!  :-)

Also see the "Get Slack" section on for
additional mirror sites near you.

Updated package for Slackware 12.2:

Updated package for Slackware -current:

MD5 signatures:

Slackware 12.2 package:
98bc4e7784a4347f9700dc3dc3a0c892  xdg-utils-1.0.2-noarch-3_slack12.2.tgz

Slackware -current package:
61cd5c6a64a1d69d682dcf171e826ad0  xdg-utils-1.0.2-noarch-3.tgz

Installation instructions:

Upgrade the package as root:
# upgradepkg xdg-utils-1.0.2-noarch-3_slack12.2.tgz


Slackware Linux Security Team

| To leave the slackware-security mailing list:                          |
| Send an email to with this text in the body of |
| the email message:                                                     |
|                                                                        |
|   unsubscribe slackware-security                                       |
|                                                                        |
| You will get a confirmation message back containing instructions to    |
| complete the process.  Please do not reply to this email address.      |
Version: GnuPG v1.4.9 (GNU/Linux)


Slackware™ is a trademark of Patrick Volkerding.