← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 671926] Re: Remote code execution

 

Here is a patch to apply:

** Changed in: openobject-client
   Importance: Undecided => Critical

** Changed in: openobject-client
       Status: New => Confirmed

** Changed in: openobject-client
     Assignee: (unassigned) => Stephane Wirtel (OpenERP) (stephane-openerp)

** Changed in: openobject-client
    Milestone: None => 6.0-rc2

** Patch added: "patch_tiny_socket.diff"
   https://bugs.launchpad.net/openobject-client/+bug/671926/+attachment/1760717/+files/patch_tiny_socket.diff

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/671926

Title:
  Remote code execution

Status in OpenObject GTK Client:
  Confirmed
Status in OpenObject GTK Client 5.0 series:
  Confirmed
Status in OpenObject Web Client:
  New

Bug description:
  It's possible to execute arbritrary code on client using net-rpc (pickle protocol) see http://nadiana.com/python-pickle-insecure

If you use the client to connect to some demo server and this demo server is malicious, it can send malicious code which is executed in client side.

I attach a exploit server who sends code to execute to client. Run a ls -l and redirect the output to proof_of_exploit.txt file.

This bug was fixed in the server, but not in the client.
Affects versions 4.2, 5.X and 6.X