8:42 PM - HTTP downloads
http://www.pacificepoch.com/newsstories/82819_0_5_0_M/
There have been quite a few derivatives of FreeBSD floating around lately.
Teemu Salmela has reported a security issue in GNU tar, which can be
exploited by malicious people to overwrite arbitrary files.
The security issue is caused due to the "extract_archive()" function
in extract.c and the "extract_mangle()" function in mangle.c still
processing the deprecated "GNUTYPE_NAMES" record type containing
symbolic links. This can be exploited to overwrite arbitrary files by
e.g. tricking a user into unpacking a specially crafted tar file.
The security issue is reported in version 1.15.1 and 1.16. Other
versions may also be affected.
---
MidnightBSD mports included 1.15.1 which is vulnerable.
Several vulnerabilities have been found in archivers/lha. These are similar to the gzip issues found a few months back. MidnightBSD was the first to get an update into ports as OpenBSD, NetBSD's pkgsrc and FreeBSD do not have an update in cvs. Several of the linux distros beat us to it, however.
In the process, I've switched the port over to a maintained version. The original had not been updated since 2000 and had port specific patches up to two years ago. OpenBSD is using this version as well although they haven't updated to p1.
The port was a bit rushed so please report any problems with it.
OpenLDAP was updated to 2.3.30 to work around some potential security issues. OpenLDAP-sasl-client was added to mports as well.
msdosfs was patched to handle dates correctly.
The dovecot port was updated to fix a security issue and simply to catch it up. There were 8 release canidates since the version was added to ports. A few options changed in the config file. The default_mail_env variable changed name and requires a slightly different entry. Consult the new example config for mail_location to fix your paths.
Apache 2.0.59 and 2.2.3 were finally added to mports!
I'm in the process of catching up on several security problems with ports. QT was updated to 3.3.7. PHP was updated to 5.2.0. Ruby was patched for a cgi vulnerability.
I've corrected an overflow in banner as reported on bugtraq.
I've added the lang/tcl83 port as a dependancy of tuxracer which was also added today. I also added kdehier as a start toward kde in ports. I'm not going to push kde, but some users like some of the applications. GNUstep is still the focus of the project.
Yesterday, I updated MySQL to 5.0.27.
The NVIDIA driver port was updated to fix the buffer overflow vulnerability from some weeks back. I also added x11/nvidia-settings to allow configuration of graphics cards.
glxgears is working great with the new driver although i've noticed a problem with Enemy Territory.
audio/nas, qmake, qt33, python 2.3, and python 2.4 were added to mports today. linux-thunderbird was updated.
-- http://www.kernelhacking.com/rodrigo Kernel Hacking: If i really know, i can hack GPG KeyID: 5E90CA19 ________________________________________________ Message sent using UebiMiau 2.7.2
FreeBSD all versions FireWire IOCTL kernel integer overflow information disclousure 11/15/2006 Notice =================== This bug has been specially discovered for the Month of Kernel Bugs and to the Hackers to Hackers Conference III (http://www.h2hc.org.br/en/). Summary =================== Firewire device is enabled by default in the GENERIC kernel. It defines an IOCTL function which can be malicious called passing a negative buffer lenght value. This value will bypass the lenght check (because the value is negative) and will be used in a copyout operation. Systems Affected =================== FreeBSD all versions NetBSD all versions DragonFly all versions TrustedBSD* all versions Impact =================== This is a kernel bug and the system can be compromised by local users and important system informations can be discloused (basically, a mem dump ;) ) Explanation =================== Firewire interface can be tunned. It provides an ioctl function receiving many parameters that can be changed. The follow is a code fragment from (FreeBSD - dev/firewire/fwdev.c (fw_ioctl function) || DragonFlyBSD bus/firewire/fwdev.c (fw_ioctl function) || NetBSD - dev/ieee1394/fwdev.c (FW_IOCTL function)) file: if (crom_buf->len < len) len = crom_buf->len; else crom_buf->len = len; err = copyout(ptr, crom_buf->ptr, len); We control the crom_buf->len (it's passed as argument to the ioctl function) so, passing it as a negative value will bypass this if statement (our value is minor than the default one). So, our value is used in a copyout function. ptr is defined before this copyout as: if ( fwdev == NULL ) { ... ptr = malloc(CROMSIZE, M_FW, M_WAITOK); ... } else { ptr = (void *)&fwdev->csrrom[0]; ... } This information disclousure lead an attacker dump all the system memory. Solution =================== Attached in this advisory a patch for the FreeBSD 5.5 (it's pretty simple, so, just need to be little changed to the other BSD's) Timelife =================== 11/15/2006 - Advisory Public Disclousure (sorry for the developers, but we are just respecting the Month of Kernel Bugs Timelife) Acknowledgments =================== Filipe Balestra <filipe@balestra.com.br> and Rodrigo Rubira Branco (BSDaemon) <rodrigo@kernelhacking.com> for the discovering, analysis and patch. Contact Information =================== You can reach the authors of this advisory by mail or visiting some websites: http://www.balestra.com.br -> Personal Website of Filipe http://www.risesecurity.org -> RISE Security Research (Rodrigo is member of the RISE Security Team) http://www.kernelhacking.com/rodrigo -> Personal Website of Rodrigo References =================== http://www.kernelhacking.com/bsdadv1.txt -> Actual version of the advisory http://www.risesecurity.org/RISE-2006002.txt -> Related issue Disclaimer (taken from teso-team) =================== This advisory does not claim to be complete or to be usable for any purpose. Especially information on the vulnerable systems may be inaccurate or wrong. The supplied exploit is not to be used for malicious purposes, but for educational purposes only. This advisory is free for open distribution in unmodified form.
--- dev/firewire/fwdev.c.orig Fri Oct 13 13:12:49 2006 +++ dev/firewire/fwdev.c Fri Oct 13 13:13:42 2006 @@ -712,7 +712,7 @@ out: else len = fwdev->rommax - CSRROMOFF + 4; } - if (crom_buf->len < len) + if (crom_buf->len < len && crom_buf->len > 0) len = crom_buf->len; else crom_buf->len = len;
Python 2.2 was just added to mports. We now have 2.1 and 2.2 working on MidnightBSD. The 2.1 port makes a symlink to /usr/local/bin/python but the 2.2 port does not. If you use a port that requires python like subversion, you will need to manually add the symlink if you choose to use python 2.2
OpenSSH port was updated to 4.5p1. Anyone concerned about the possible security issue can install this port.
A new version of OpenSSH was released. We are researching the need to update the version in base. The fix list states that there were bugs in solaris and a potential security hole that requires additional interference to compromise.
There have been several additions to ports. One of the most recent additions is xinetd.