Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013405Openbravo ERPC. Securitypublic2010-05-21 04:292010-08-19 00:00
gboyce 
jpabloae 
normalminorhave not tried
closedfixed 
20Professional Appliance
 
2.50MP21 
No
Core
No
0013405: Swap is world readable on the OpenBravo Appliance
Sorry if I filed this against the wrong component, but this is a bug against the virtual appliance for OpenBravo, not the OpenBravo code itself.

While trying out the OpenBravo appliance for VirtualBox (OpenbravoERP-2.50MP17-x86.virtualbox.vdi), I noticed that the system uses /var/swap as a swap file. This swap file has group/world readable permissions, allowing any local users to access the memory of swapped out processes.

Not too serious if there are no additional local users, but it can be dangerous if limited access login accounts are allowed on the system.
[openbravo@new-host-2 ~]$ ls -l /var/swap
-rw-r--r-- 1 root root 134217728 2010-05-13 05:40 /var/swap
chmod 600 /var/swap
No tags attached.
Issue History
2010-05-21 04:29gboyceNew Issue
2010-05-21 04:29gboyceAssigned To => alostale
2010-05-24 08:40alostaleAssigned Toalostale => jpabloae
2010-05-24 08:40alostaleStatusnew => scheduled
2010-05-24 08:40alostalefix_in_branch => pi
2010-06-01 18:28jpabloaeStatusscheduled => acknowledged
2010-06-01 18:41jpabloaeStatusacknowledged => scheduled
2010-06-01 18:41jpabloaeNote Added: 0027871
2010-07-30 17:26jpabloaeNote Added: 0029715
2010-07-30 17:26jpabloaeStatusscheduled => resolved
2010-07-30 17:26jpabloaeFixed in Version => 2.50MP21
2010-07-30 17:26jpabloaeFixed in SCM revision => n/a
2010-07-30 17:26jpabloaeResolutionopen => fixed
2010-08-18 14:16psarobeStatusresolved => closed
2010-08-19 00:00anonymoussf_bug_id0 => 3048127

Notes
(0027871)
jpabloae   
2010-06-01 18:41   
I've reported the issue upstream. I'll update this issue when it's fixed.

Thank you for the report!
(0029715)
jpabloae   
2010-07-30 17:26   
This is fixed in out image generator server. The swap file will have 0600 permissions starting from the 2.50MP21 appliance.