Share This:

In a previous post I asserted that the security boundary of the Outpost should be considered to be the OS. This is given additional weight if you consider the UI authentication mechanism: at install time, a local administrator password is chosen:

 

Outpost Login.png

 

(Aside: the Outpost's password needs to be at least 8 characters, but there doesn't seem to be any configurable options, like there are for appliance users; a 10-level password history is kept)

 

This account information is stored locally to the Outpost - it is not linked to the local OS, Active Directory or an appliance. If you look in the registry under the key:

  • HKEY_LOCAL_MACHINE\SOFTWARE\BMC Software\Discovery Outpost

 

Outpost Registry.png

 

you will find settings OutpostAdminSalt and OutpostAdminPassword. The password is stored with a modern digest algorithm with a random salt, so it should be resistant to rainbow table attacks to recover the password.

 

However, any Windows user with Administrator rights can simply replace these values with ones that correspond to a known password (normal Users can only read). This is a useful way to proceed if you have forgotten the Outpost password. Which you should never do, of course, since you will be using a good password manager. Right...?

 

You could obtain the required values by either:

 

1)

Installing another Outpost somewhere, entering your desired password, and grabbing the values from its registry (it doesn't need to be connected to an appliance)

 

2)

Using the values here:

  • OutpostAdminSalt:
    080D4CB1AFD201062FFC6B67141C077DAB479C04D0F5CA535F27A4BB890E8215580448CF3F311610EDCAA9226945756F9BD177F90997B94E2B24A4BA7D804864D1329C5BE63ADE563C98869F457C5F9CBD8341C567DA249D10BC64CBE3233A5906B24EC9281751844855D079790303764844FB40A87BE88AAC53B189F64F9AAB4A95352DDBBB2B856DE9E63AC44F2853F0850F65785C641CAB8EAEACD46803C2CDFA35CEA37791EF5B3EEE1CAE5CDC1E932AD71C123E5B525CBFC0D75A54AE69CA9750B736F1F16F19B2302BA4ACAF567CD8F8ED5CB2816D4624BC87F81ACA43A7EE53F48E1C44B52DF03FF2EF30DA8D7C206489BC9586F3BCE5FE5B54FD1332
  • OutpostAdminPassword:
    48E1984F27E9C4F3AF9F24C04209070D875FB6C8EC5A009762ABA23566F9B16C0B6712FD7F1D9294ED114A00F7FED6A4175AF75A356EF1065AD4A204CE7A3CD2

 

After restarting of the Outpost service, the password is set to "secretpass" (see - I can do irony). You should then login and immediately change the password in the Outpost UI to something of your choosing:

 

Change Passowrd.png

 

In addition to the password hash, the salt is also updated when you change the password in the UI.

 

So, is this a security problem? Well, only if you take misguided actions based on an incomplete understanding of how the system works. Again, it's about where the boundary is. Perhaps it would be nice to be able to have more flexibiliy on how to authenticate to the local OS or external systems, but it's really no different from:

  • Unux/Linux root being able to copy entries in /etc/shadow file
  • Tomcat user passwords being configured in the tomcat-users.xml file
  • OpenLDAP storing the Manager DN password hash in olcRootPW field in an .ldif file
  • The tideway CLI user controlling Discovery UI users with the tw_passwd command.

 

Where if you have control of the OS, you control the applications that run on it.

 

Let me know your thoughts on how this architecture fits into your security policies and controls, and if you agree or disagree with my thinking.