mhc-utils adb2mhc creates an insecure temporary directory

mhc-adb2mhc-insecure-tmp (11439) The risk level is classified as MediumMedium Risk


The adb2mhc utility in the mhc-utils (Message Harmonized Calendaring system utilities) package included with Debian Linux creates a temporary directory with an easily guessable name. This could allow a local attacker to overwrite arbitrary files on the system with privileges of the adb2mhc process owner.


File Manipulation


For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest mhc-utils package (0.25+20010625-7.1 or later), as listed in DSA 256-1. See References.


  • DSA 256-1: mhc -- insecure temporary file.
  • BID-6978: mhc-utils Insecure Temporary File Creation Vulnerability
  • CVE-2003-0120: adb2mhc in the mhc-utils package before 0.25+20010625-7.1 allows local users to overwrite arbitrary files via a symlink attack on a default temporary directory with a predictable name.
  • DSA-256: mhc -- insecure temporary file
  • OSVDB ID: 12497: mhc-utils adb2mhc Symlink Arbitrary File Overwrite

Platforms Affected:

  • Debian Debian Linux 3.0
  • mhc-utils


Feb 28, 2003

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page