bozo .htpasswd exposure
JP <[email protected]> Tue, 20 Nov 2018 09:19:55 -0500
| Newsgroups | gmane.os.netbsd.devel.security |
|---|---|
| Message-ID | <CAHN8BqqaJnRnnptGnBorsUWWUNWJpf3==myw9JPPE-YQ8pUGsw@mail.gmail.com> |
Found this a little while back: Bozo will expose .htpasswd files. Test Case: printf 'user:'`pwhash pass`'\n' >/var/www/.htpasswd Point your browser to http://host/.htpasswd Enter 'user' for the username and 'pass' for the password You should then see the contents of the .htpasswd file I don't see any code preventing the exposure of the file I believe this file should be "forbidden" (whatever the error code is (403?)). It looks to me like the fix should go somewhere around bozo_process_request, but I'm still digging... JP