Passwords lying around in web server logs?

This subforum contains all the issues which we already resolved.
BuilderChimp
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Feb 03, 2014 3:42 pm
Contact:

Passwords lying around in web server logs?

Post by BuilderChimp »

The username and password are potentially exposed when the game makes a request for updates:
https://www.factorio.com/updater/get-to ... ssword=YYY

This is not a problem since the URL of GET requests over HTTPS are encrypted but web servers have a nasty habit of logging the URL part of these requests. This could mean that thousands of passwords are sitting in plain text in an easily accessible log file. If this is the case can I suggest changing this to a POST request or instruct the web server to be less verbose when logging certain URLs.
User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: Passwords lying around in web server logs?

Post by cube »

Good point. In fact ony hashes of those passwords should be sent...
I have no idea what I'm talking about.
User avatar
y.petremann
Filter Inserter
Filter Inserter
Posts: 421
Joined: Mon Mar 17, 2014 4:24 pm
Contact:

Re: Passwords lying around in web server logs?

Post by y.petremann »

I agree, they should be only Hashes for password (We don't know how password are stored, but If they are plain password, it could result in server vulnerabilities in addition to Logs).
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: Passwords lying around in web server logs?

Post by slpwnd »

y.petremann wrote:I agree, they should be only Hashes for password (We don't know how password are stored, but If they are plain password, it could result in server vulnerabilities in addition to Logs).
Passwords are stored encrypted. But this point is valid anyway and it will be (eventually) fixed.
LoSboccacc
Filter Inserter
Filter Inserter
Posts: 253
Joined: Wed Feb 20, 2013 9:35 pm
Contact:

Re: Passwords lying around in web server logs?

Post by LoSboccacc »

Encrypted or hashed? Hell of a difference there
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: Passwords lying around in web server logs?

Post by slpwnd »

LoSboccacc wrote:Encrypted or hashed? Hell of a difference there
So I checked the code of the library we are using (libnoir) and it is actually hashing. Though the name of the function is encrypt, odd.
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: Passwords lying around in web server logs?

Post by slpwnd »

In 0.10.0 the username/password authorization will be handled by POST data. This will solve the issue.
Post Reply

Return to “Resolved Problems and Bugs”