Re: minor apache htpasswd problem

p_at_phk.at
Date: 09/25/03

  • Next message: Christian Vogel: "Re: base64"
    Date: Thu, 25 Sep 2003 23:06:05 +0200
    To: bugtraq@securityfocus.com
    
    
    

    Hi,

    I wrote about that to security@apache.org in January. No response either.
    Would be surprised if not a whole lot of other people noticed it as well.
    A 2.0.x version I checked back then had the same problem iirc.

    Thought they'd fix it at some point.

    Philipp Krammer

    On Thu, Sep 25, 2003 at 10:25:05PM +0200, Andreas Steinmetz wrote:
    > This is valid for the htpasswd utility of at least apache 1.3.27 and 1.3.28:
    >
    > The salt used for password generation solely depends on the current
    > system time:
    >
    > (void) srand((int) time((time_t *) NULL));
    > ap_to64(&salt[0], rand(), 8);
    >
    > This causes all passwords generated within the same second to have the
    > same salt value. This in turn may cause auto-generated default passwords
    > to have the same value which could be a point of attack if the password
    > file is not properly protected.
    >
    > The apache team was notified on 23.08.2003 but didn't respond.
    >
    > Though it would need quite some administrative errors before the above
    > could be used it should still be corrected.
    > --
    > Andreas Steinmetz
    >

    
    



  • Next message: Christian Vogel: "Re: base64"

    Relevant Pages

    • Re: Help a hapeless college student feed himself
      ... > complete response, but here is an approximation of my cooking ... things) you should also consider some basic herbs and spices. ... Spices should include pepper, of course. ... it (I prefer to salt at the table). ...
      (rec.food.cooking)
    • Re: does my body need more energy when I am sick?
      ... your response is a start. ... needed if one is cold, ... Sweat contins 0.3% of salt. ...
      (sci.med.nutrition)
    • Re: Hawaiian Black Sea Salt Question
      ... > rox formerly rmg wrote: ... Here's the response I got from the store. ... My salt is Palm ... For those of you who are actually interested beyond the "malarkey" ...
      (rec.food.cooking)
    • Re: Hawaiian Black Sea Salt Question
      ... > Thanks for all the perspective on my question about the black salt I ... Here's the response I got from the store. ... My salt is Palm Island ... Cheers, Rox ...
      (rec.food.cooking)
    • Re: Password scrambler program
      ... provide the string to salt it with) MD5 equivalent with the ability to ... password) is sent to a hash function and hashed multiple times - 1000 is ... and so not helping at all against some types of attack. ... might as well grab, for example, the keys from disk encryption ...
      (sci.crypt)