Slashdot Mirror


DJB Announces 44 Security Holes In *nix Software

generationxyu writes "D. J. Bernstein, better known as DJB, has announced the discovery of 44 security holes that were found by students in his course MCS 494: Unix Security Holes this fall at the University of Illinois at Chicago. Vulnerable programs of note include: CUPS, NASM, mpg123, MPlayer, xine-lib, and numerous others. Copies of the notification emails are here. The homework for the course was to find and exploit 10 previously undiscovered security holes in currently deployed Unix software. In a class of 25, 44 security holes seems a bit low. Most of the class failed. I was credited with bsb2ppm (actually libbsb) and jpegtoavi. After 300 hours of work and an A average on the exams, I expect to fail the course."

22 of 983 comments (clear)

  1. Misleading Title by __aaitqo8496 · · Score: 4, Insightful

    The title of this article is quite confusing, if I read it correctly. To me, it reads that *nix variants themselves have 44 security holes (as in something in the underlying OS, such as the kernel). However, upon further reading the story indicates that it is actually the 3rd party software that has holes in it. Sounds a little unfair to *nix environments. Consider blaming Microsoft for all holes in ever Win32 program (oh wait, we already do!) How about a better title like "DJB Announces 44 Security Holes In *nix-based Software"

    1. Re:Misleading Title by WIAKywbfatw · · Score: 4, Insightful

      If you want to get technical you could argue that everything apart from the kernel is *nix-based software. Where do you want to draw the line?

      --

      "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
    2. Re:Misleading Title by __aaitqo8496 · · Score: 5, Insightful

      For the sake of argument, what would you consider Windows software? The kernel, the graphics server, the programs that come with every "distribution" of Windows?

      I think that most people would agree that if the program can be *easily* removed from the underlying OS, it's not part of the OS itself. Therefore I would not consider notepad.exe part of the OS, however I would consider explorer.exe (even though it is a seperate application).

      If you don't agree, it's okay, but that's how I think of it.

    3. Re:Misleading Title by stor · · Score: 4, Insightful

      For the sake of argument, what would you consider Windows software? The kernel, the graphics server, the programs that come with every "distribution" of Windows?

      Ahh, this is such stuff that pointless flamewars are made on.

      Cheers
      Stor

      --
      "Yeah well there's a lot of stuff that should be, but isn't"
  2. Re:Don't just take this lying down, IMO by jdray · · Score: 5, Insightful

    I wouldn't get too worked up about it until it happens. I had several college profs who started out the terms saying how they were strict about assignments getting turned in, and how you could fail if you didn't do this or that; I rarely found their bite to be as bad as their bark. Mostly they want to put the fear of them as a deity figure in you, then be gracious later. If they get overwhelmed, they've set a good baseline to fall back on.

    --
    The Spoon
    Updated 6/28/2011
  3. Re:Don't just take this lying down, IMO by Marxist+Hacker+42 · · Score: 4, Insightful

    Not disagreeing- but if I was this student, I'd get a few buddies together from the class and point out to the prof:
    1. This is the first term this class has been taught.
    2. Nobody did well with the homework if the entire class of 25 students only found 44 holes.
    3. Even those who were among the best students in the class, getting A's on all the exams, only found 2-3 holes.

    Therefore the grades should be assigned to fit a bell curve based mainly on test scores and minimizing points earned for the homework.

    --
    SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
  4. ah, buffer overflows... by Mr.+Slippery · · Score: 4, Insightful

    I see the two specific items linked to are buffer overflow exploits. Anyone learning to program in C needs to have good buffer dicipline beaten into their heads.

    It's like wiping your butt after crapping - mandatory basic hygine. If you can always remember to wipe your butt, you can always remembers to watch your buffer lengths.

    --
    Tom Swiss | the infamous tms | my blog
    You cannot wash away blood with blood
  5. My thoughts. by Anonymous Coward · · Score: 5, Insightful

    Thesis: This professor is retarded.

    Evidence to support this belief:

    1) Giving homework to "go out and find some exploits" doesn't teach you anything and has a very unpredictable "path to completion"; i.e., it's not like there's a "problem" to solve, per se. It's simply a matter of some students having gotten lucky whereas others failed.

    2) "After 300 hours of work and an A average on the exams, I expect to fail the course." Either the student is overly-pessimistic (which is possible), or the prof has done very little to: (a) boost morale, reassure students, or instil confidence; or, (b) grade students appropriately for the effort that they've put in. I think that the truth always lies somewhere between the extremes ... which would lead me to believe "a little bit of both".

    3) "In a class of 25, 44 security holes seems a bit low." I highly doubt this, but then again, it entirely depends. If you're trying to find a security hole in "telnet" or "finger", I think you'd be outta luck -- the average joe undergrad would be better off picking random numbers to win the lottery than to find holes in software that has been tried, tested, and true for years.

    Alternatively, if you just go to http://freshmeat.net and find some little backward project coded by a grade 9 high school student -- well, yeah, I think that an exploit should be pretty straightforward. Which leads me to ask: What the fuck does this assignment actually prove/teach? (See point (1), above.)

    1. Re:My thoughts. by slavemowgli · · Score: 4, Insightful

      It teaches you that professors can be asshats/idiots/..., too, and that you should not take classes taught by DJB. Furthermore, it teaches you that in life, you will still get treated like shit even when you're paying for things (like your education, in this case), and that having a famous name (like DJB) is more important than what you actually do.

      --
      quidquid latine dictum sit altum videtur.
  6. Fourth year: bird courses only please by Ars-Fartsica · · Score: 4, Insightful
    Who signs up for hard classes in fourth year? Duh! You've practically got your degree. sit back, uncap a cold one and choose from the many many many easy courses every school offers to fourth year students.

    Its well known that every college grinds out the poor students in the first two years...if you've made it to fourth year, its time to ladle up some gravy and bolster your GPA in time for grad school applications, resume bolstering, etc.

    So the real moral is that the most intelligent students are the ones avoiding the course altogether. If you want to get an education in unix security holes, go read the OpenBSD mail archives.

  7. What's the deal? by retro128 · · Score: 4, Insightful

    The homework for the course was to find and exploit 10 previously undiscovered security holes in currently deployed Unix software.

    10 for each student? I doubt DJB himself could find 10 on his own inside of a semester.

    In a class of 25, 44 security holes seems a bit low. Most of the class failed. I was credited with bsb2ppm (actually libbsb) and jpegtoavi. After 300 hours of work and an A average on the exams, I expect to fail the course.

    I guess the whispers I've been hearing about DJB being a complete asshole are true. It is always nice to have your academic future dictated by such people to your disadvantage, even though you may be a cut above the teacher himself. And in the meantime he will take credit for your work while simultaneously failing you. Thank you, sir, for reminding me why I dropped out of college.

    --
    -R
  8. If the majority of the class failed... by JoshMKiV · · Score: 4, Insightful

    If the majority of the class failed, then the professor failed YOU.

  9. Re:Don't just take this lying down, IMO by mateomiguel · · Score: 4, Insightful

    "As a student, I'm the consumer. "

    No, no, and hell no. As a student, you are a student. Leave your stupid consumer victimization routine in suburbia, where it belongs. Don't try to bring that crap to academia.

  10. Re:Don't just take this lying down, IMO by KillerDeathRobot · · Score: 5, Insightful

    As soon as universities start being free, I'll agree with you.

    --
    Thinkin' Lincoln - a web comic of presidential proportions
  11. Re:Don't just take this lying down, IMO by Marxist+Hacker+42 · · Score: 4, Insightful

    Perhaps- I didn't think of this until reading your post- that's exactly what the professor was trying to teach. Though it would be a damned awfull way to do it, I've got to admit that 95% of the projects I've worked on since college have followed that general path. Work obscenely hard- get a product out there- get laid off when the marketing people spend tons on booze to cover their poor marketing skills and drive the company into the ground. Yep- sounds just like this assignment.

    --
    SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
  12. Re:Don't just take this lying down, IMO by Skyshadow · · Score: 4, Insightful
    I don't have any problem with the concept of an entire class failing a course. Why you think that a professor failing his entire class constitutes a failure on the part of the university is a mystery to me: would you be so opposed if a professor failed an astronomy class that failed to put the planets in the correct order or an economics class that couldn't describe how supply and demand affect prices?

    Frankly, I think you're jumping the gun here...

    I didn't jump the gun, I provided a qualified statement. You know, "if he does this then you should do this".

    Now, let me provide another statement which may or may not apply to this specific case (since we haven't seen grades yet): Any time an entire class fails, it is on the professor's shoulders. Since we assume that the people in the class are both mentally competent and reasonably intelligent based on the fact that they're in college, and excepting odd situations (a 1 or 2 person class, for instance), a near-100% failure rate can only be one of three things:

    1. The professor has created a class which cannot be successfully completed given the time constraints and the level of the students.
    2. The professor has completely failed to impart his knowledge to the students.
    3. The professor has based the grades on items which do not accurately reflect what was taught in the class.

    Implying that a professor who fails all or nearly all of a given class has competently done his/her job is nonsense. It's not "part of the learning experience", it's a professional failure on the part of the professor and needs to be treated as such. In any event, when this sort of extraordinary event occurs, the University itself is responsible for allowing that failure to occur.

    --
    Every year during my review, I just pray the words "slashdot.org" aren't mentioned.
  13. Re:Don't just take this lying down, IMO by Punk+Walrus · · Score: 5, Insightful
    Why you think that a professor failing his entire class constitutes a failure on the part of the university is a mystery to me: would you be so opposed if a professor failed an astronomy class that failed to put the planets in the correct order or an economics class that couldn't describe how supply and demand affect prices?

    That's different, and it's still bad because that reflects poorly on the professor. If you were a university, would you want to hire a professor of astronomy who couldn't teach people the basics (for whatever reason)?

    What most of these posts are saying is that this professor did not grade these students on a reasonable test of their skills. It's kind of like a professor of Art History requiring students to discover a previously undiscovered Picasso. Sure, some may exist in people's basements or garage sales, and sometimes a new piece of art from an expired artist shows up on the auction block from an previously unknown collector of rare things, but would you consider it fair to flunk art students who could not find a new Picasso? How would you rate such a find, grade-wise?

  14. Re:It's just an assignment - Did you even go to un by prockcore · · Score: 5, Insightful

    If you read the slides from the first lecture, it says the findings of holes amounts to 60% of your grade.

    Makes sense.

    The requirements are to exploit 10 holes in unix software. Nowhere does it say that the unix software must come standard with any distros, and it doesn't say that you can't write it yourself.

    Write a simple program with 10 holes in it, point them out, and boom you win.

    We are talking about finding vulnerabilities and exploiting them aren't we? I'd get extra credit for finding and exploiting holes the class requirements.

  15. Re:Misleading "Exploits" (Was Re:Misleading Title) by Anonymous Coward · · Score: 5, Insightful

    No. You're wrong.

    A video player, say, should be completely immune to bad input. It should not be possible to craft an input file that causes my vide player to delete files or anything like that.

    There is a very limited class of data (scripts, executables) that need to be "dangerous". Viewing a jpeg, even a jpeg hand-crafted by Dr. Evil, should never have the ability to do anything bad [well, OK, seeing the goatse guy is abd, but you know what I mean].

  16. Re:Don't just take this lying down, IMO by Gherald · · Score: 4, Insightful

    Not wanting to fail a class hardly qualifies as being "obsessed with grades."

  17. Re:Good idea? by idontgno · · Score: 4, Insightful
    I know more about C, computer internals, and security than most professionals now, so I'm not too sad :)

    You also know more about IT management, unrealistic goals, undeserved punishment, and PHBs than most professionals now. I don't know whether to rejoice in your hardwon jumpstart on corporate wisdom or mourn the inevitable early onset of cynicism.

    --
    Welcome to the Panopticon. Used to be a prison, now it's your home.
  18. Re:Good idea? by geekoid · · Score: 4, Insightful

    you given an undoiable assignment, thats the problem.
    Welcome to astronomy 101, 60% of your grade will depend on finding 10 new planets in our solar system

    "and security than most professionals now,"

    I have my doubts.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect