Community mailing list archives

community@mail.odoo.com

Re: Seems Odoo just got hacked

by
Jared Kipe
- 09/24/2015 16:57:44
First of all, anything ending in 404 is probably not an issue. That means the HTTP server (werkzeug/odoo) correctly determined that the url was not something it could deliver.

Having a session does NOT mean you were hacked. You will get a new session generated simply by visiting the login page and not passing a current valid session_id.  (at least on v9)
Experimentally, in v9 and ubuntu14.04:
 * a 'fresh' empty session is 92 bytes. (will depend on browser header for language accept)
 * looking in the sessions after trying various things have taught me the user name is for sure in the session, and there is some component of the password (hash?) in the session if you POST to /web/login

Keep in mind that Odoo is going to make a session regardless on if the client on the other side actually stores the cookie and re-uses it in the next request.  Thus you will have a lot of sessions when people are attacking like this or DoS'ing.

With a reverse proxy like NGINX or Cloudflare or something you should be able to rate-limit or block this sort of thing completely.

Jared


On Sep 24, 2015, at 12:13 PM, David Arnold <dar@devco.co> wrote:

Thanks Nhomar

I've updated the gist:

Can the following statement be asserted?
The modifying date of the sessions coinciding with the following line of the supposed attack procedure is a string indication of a hacked password. werkzeug: 66.71.247.94 - - [23/Sep/2015 06:13:23] "GET /pma/scripts/setup.php HTTP/1.0" 404 - 

Best, David

El jue., 24 sept. 2015 a las 13:28, Nhomar Hernández (<nhomar@gmail.com>) escribió:

2015-09-24 13:19 GMT-05:00 Nhomar Hernández <nhomar@gmail.com>:
Trace your password.

Sorry sent before re read... here I tried to say: Encrypt your connection with ssl to avoid somebody read or trace your passwords.


--
--------------------
Saludos Cordiales

CEO at Vauxoo Odoo's Gold Partner.
 
--
Nhomar Hernandez
 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe