VMware Cloud Community
Traiano
Contributor
Contributor

Potential Security Risk: /var/log/vmware-vmsvc.log is world readable

Hi

I'm currently going through the process of hardening linux systems to meet CIS Security Benchmark standards for Ubuntu Linux.

One of the items requires justification for permissions on logs under /var/log/*. I've noticed that vmware-vmsvc.log is world readable.

Is this a potential security risk, given that non-root users are able to browse this log and perhaps infer sensitive information from it?

Is there any documentation from VMware regarding what the security best practice for these logs are?

Example below:

````

user@server:~$ tail /var/log/vmware-vmsvc.log

[Aug 10 04:25:09.726] [ message] [vix] QueryVGAuthConfig: vgauth usage is: 1

[Aug 10 04:25:09.726] [ message] [vmtoolsd] Plugin 'vix' initialized.

[Aug 10 04:25:09.726] [ message] [vmtoolsd] Plugin 'deployPkg' initialized.

[Aug 10 04:25:09.786] [ message] [vmtoolsd] Plugin 'grabbitmqProxy' initialized.

[Aug 10 04:25:09.786] [ message] [vmtoolsd] Plugin 'guestInfo' initialized.

[Aug 10 04:25:09.786] [ message] [vmtoolsd] Plugin 'powerops' initialized.

[Aug 10 04:25:09.786] [ message] [vmtoolsd] Plugin 'timeSync' initialized.

[Aug 10 04:25:09.786] [ message] [vmtoolsd] Plugin 'vmbackup' initialized.

[Aug 10 04:25:09.790] [ message] [vix] VixTools_ProcessVixCommand: command 62

[Aug 10 04:25:39.706] [ warning] [guestinfo] GuestInfoSendNicInfoXdr: update failed: request "SetGuestInfo  10 ", reply "Invalid guest information type.".

user@server:~$

user@server:~$

user@server:~$ ls -l /var/log/vmware-vmsvc.log

-rw-r--r-- 1 root root 3807557 Aug 10 04:25 /var/log/vmware-vmsvc.log

user@server:~$

-----

Many thanks in advance for any help!

Tags (1)
0 Kudos
4 Replies
GayathriS
Expert
Expert

There is no document that I have come across till now with a justification of permission for this file.

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

regards

Gayathri

0 Kudos
GayathriS
Expert
Expert

If you want to restrict then only option is to edit the permission of this particular file individually .

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

regards

Gayathri

0 Kudos
Traiano
Contributor
Contributor

Is this an authoritative answer from VMware though? Can I legitimately provide this response to a security auditor asking the question, i.e "VMware themselves do not have any particular reason for creating this file world readable" ?

0 Kudos
GayathriS
Expert
Expert

If you are really in need for a doc that needs to be created from vmware then you can reach out by creating a SR probably they will get the team involved and if the reason is justified they may get you a doc created but at this point in time there is no doc available for this .

You can give a shot .

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

regards

Gayathri

0 Kudos