about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , The 25 Year Old BSD Bug




logo
2008-05-12 The 25 Year Old BSD Bug

1983. The year of the IBM PC XT, the Apple Lisa, Pioneer 10 leaving the solar system, and Hooters opening up shop in Florida. It's also the birthyear of a 25 year old BSD bug, squashed only a few days ago.


A few days ago, Marc Balmer, OpenBSD developer, received an email from an OpenBSD user. The email claimed that SAMBA would crash when serving files off an MS-DOS filesystem. Balmer got into contact with a few SAMBA developers who claimed that SAMBA uses a special workaround in order to function properly on BSD systems: the code for reading directories in all BSDs was flawed.


Understandably, Balmer's first reaction was disbelief. "Of course my first reaction was to blame Samba," he writes. Despite his initial reaction, he decided to dig deeper into this case, and he uncovered a bug that had been sitting in the code of all BSDs (including Mac OS X), including a lot of old releases. He confirmed the bug was already in 4.2BSD, released in August of 1983.


The bug itself? Well, I'm no programmer so the actual code is kind of gibberish to me, but I think I get the gist of the problem.


This code will not work as expected when seeking to the second entry of a block where the first has been deleted: seekdir() calls readdir() which happily skips the first entry (it has inode set to zero), and advance to the second entry. When the user now calls readdir() to read the directory entry to which he just seekdir()ed, he does not get the second entry but the third.


t3xt 1t!

Advertising

Copyright 2007, SecurityDot
Wed, 25 Nov 2009 15:42:39 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
mingchao.y for www.10 FrontPage Http:/www. yx131.com sibelkekil www.vsteam www animal freesexved www.hotblo www.dy0551 www.yx131. Americans www.vidiop www.www.st SEO WWW.DEWASA Sara ashar freesexved tamilkamak www.videoh t10t Kajol nude My_eGaller zyxel www.banzhe www.im286. Waptrik www.sexyan Www.Freefu Www.sex vi Kajol nude sexywalpap mambo Remo smartgate defloratio nude katri www.ifucky aishwaryas www.hotmai = !scan ne %253D %252 Exploits S suse 10 shakilasex news for c www.hengfe wwwplaygir Sexy asin Japanese L