what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Enomaly ECP/Enomalism Insecure File Creation

Enomaly ECP/Enomalism Insecure File Creation
Posted Jan 30, 2009
Authored by Sam Johnston

Enomaly ECP/Enomalism versions prior to 2.1.1 use temporary files in an insecure manner, allowing for symlink and command injection attacks.

tags | exploit
advisories | CVE-2008-4990
SHA-256 | c2f83d754ab9d6bdb0af2e41fc5bf6c46034f1807d705f25738a759685b5720d

Enomaly ECP/Enomalism Insecure File Creation

Change Mirror Download
CVE-2008-4990 Enomaly ECP/Enomalism: Insecure temporary file creation
vulnerabilities

1. Synopsis

All versions of Enomaly ECP/Enomalism prior to 2.1.1 use temporary
files in an insecure
manner, allowing for symlink and command injection attacks.

2. Impact Information

Background

Enomaly ECP (formerly Enomalism) is management software for virtual machines.

Description

Sam Johnston of Australian Online Solutions reported that enomalism2.sh uses
the /tmp/enomalism2.pid temporary file in an insecure manner.

Impact

A local attacker could perform a symlink attack to overwrite arbitrary files
on the system with root privileges, or inject arguments to the 'kill' command
to terminate or send arbitrary signals to any process(es) as root.

Exploits

a. ln -s /tmp/target /tmp/enomalism2.pid
b. echo "-9 1" > /tmp/enomalism2.pid

3. Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Enomaly ECP and Enomalism users should upgrade to the latest version.

History

2008-10-27 Bug initially reported to Enomaly by mail.

2008-10-27 Reuven Cohen acknowledged receipt and suggested a fix.

2008-11-06 CVE-2008-4990 allocated, update requested from Enomaly.

2008-11-08 Reuven Cohen publicly acknowledged the bug:

"Sam's security exploit is relativly minor and should not effect anyone with
decent dom0 access rules. We currently use random filenames that are pretty
hard to guess and if an un-authorized user were to gain access to the Dom0,
you'd probably have bigger issues to deal with. So this really only effects
"trusted" dom0 users. The resolution is don't give out dom0 access to untrusted
users, which is probably a good idea anyway. The whole purpose of ECP is to
abstract resources so you don't have to give that level of access to core
system resources. The next release of Enomaly ECP will address this issue."

2008-12-12 Enomaly ECP 2.1.1 (next subminor release) available with fix

2009-01-29 Enomaly ECP 2.2 (next minor release) available with fix
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close