IIS application pool identity account passwords shown in clear text

后端 未结 2 515
孤独总比滥情好
孤独总比滥情好 2021-02-09 08:58

When I use the appcmd list appool /text:* command, it shows me the application pool identity passwords in clear text. I am able to view

相关标签:
2条回答
  • 2021-02-09 09:30

    Unless something has changed, the answer is no. The principal is best stated by Raymond Chen:

    'It's like saying that somebody's home windows are insecure because a burglar could get into the house by merely unlocking and opening the windows from the inside. (But if the burglar has to get inside in order to unlock the windows...)'.

    The point in summary, is that anyone that can get to your IIS server or can execute a WMI command remotely against your server, or can execute a powershell command against your server has access.

    They are assumed to be admins, and are assumed to be trusted, as occassionally admins would need to pull passwords for recovery purposes, or adding nodes to a shared pool if proper notes or password management wasn't done [mainly needed when doing basic authentication on a domain cluster needing shared passwords].

    0 讨论(0)
  • 2021-02-09 09:36

    The passwords are only decrypted if you run appcmd as Administrator. If you run as a normal account, you get back the encrypted string.

    This will be something like [enc:IISSomethingProvider:…:enc], just as you find it in applicationHost.config.

    0 讨论(0)
提交回复
热议问题