Lucene search
K

wide-dhcp.txt

🗓️ 17 Aug 1999 00:00:00Reported by Packet StormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 36 Views

Wide DHCP security hole allows file overwrite; fixed in OpenBSD; patching recommended.

Code
`  
[ http://www.rootshell.com/ ]  
  
From [email protected] Fri Jul 17 12:47:17 1998  
Date: Fri, 17 Jul 1998 19:52:31 +0700 (NOVST)  
From: Oleg Safiullin <[email protected]>  
To: [email protected]  
Subject: wide-dhcp security hole  
  
Bug found in OpenBSD port of wide-dhcp /created by me :-)/.  
  
WIDE DHCP server creates /tmp/addrpool_dump without checking if this file  
already exists, so any user can overwrite any file doing something like this:  
  
ln -s /etc/master.passwd /tmp/addrpool_dump  
  
This bug already fixed in OpenBSD ports tree. The author of wide-dhcp is  
notified.  
  
If you are currently using wide dhcp, you can fix this error by adding  
  
unlink(ADDRPOOL_DUMP) before fopen(ADDRPOOL_DUMP, "w+") in files  
server/dhcps.c  
server/database.c  
  
Sorry for patchless message - I've made this fix only over patched sources for  
OpenBSD. And of course, sorry for my poor English :)  
  
---  
* FORTRAN: God is real, unless declared integer...  
`

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

17 Aug 1999 00:00Current
7.4High risk
Vulners AI Score7.4
36