Network Management

 View Only
  • 1.  HPE iMC: plain text passwords in imcforeground.log

    Posted Oct 05, 2023 03:41 AM

    dear iMC pros,

    after struggeling with LDAP logon problems following a PLAT upgrade from E0708 to E0710, i took a look into the imcforeground.log file and was flabbergasted to find entries like these

    2023-10-04 11:59:43 [INFO ] [http-nio-8443-exec-10] [com.imc.plat.operator.view.OperatorBean::onLogin] deCodePwdFlag is true
    2023-10-04 11:59:43 [INFO ] [http-nio-8443-exec-10] [com.imc.plat.operator.view.OperatorBean::onLogin] old nameVal is f8[DELETED]password is f0[DELETED]
    2023-10-04 11:59:43 [INFO ] [http-nio-8443-exec-10] [com.imc.plat.operator.view.OperatorBean::onLogin] new name is [user name]password is [plain text password!!]

    2023-10-04 12:54:37 [INFO ] [http-nio-8443-exec-19] [com.imc.plat.operator.view.OperatorBean::onLogin] deCodePwdFlag is true
    2023-10-04 12:54:37 [INFO ] [http-nio-8443-exec-19] [com.imc.plat.operator.view.OperatorBean::onLogin] old nameVal is 5b[DELETED]password is 7e[DELETED]
    2023-10-04 12:54:37 [INFO ] [http-nio-8443-exec-19] [com.imc.plat.operator.view.OperatorBean::onLogin] new name is adminpassword is [plain text password!!]

    and i have to repectfully ask: WTF?!

    tested with LDAP and TACACS authentication.
    searching through the settings and some CONF files, i could not find a way to turn off that ominous deCodePwdFlag flag. the only way to at least suppress this behaviour, was for me to turn jserver log level from INFO to WARN.

    have i done something wrong?
    has anyone else experienced this?
    how do i turn this off altogether?
    why would anyone want to write plain text passwords to log files?!?

    cheers!



  • 2.  RE: HPE iMC: plain text passwords in imcforeground.log

    Posted Oct 06, 2023 01:31 AM

    Hello,

    are the logs from E0708 or E0710? I want to test it in the lab

    Regards.

    Vasil




  • 3.  RE: HPE iMC: plain text passwords in imcforeground.log

    Posted Oct 06, 2023 05:20 AM

    thanks for your reply.

    the logs were taken from version E0710.




  • 4.  RE: HPE iMC: plain text passwords in imcforeground.log
    Best Answer

    Posted Oct 09, 2023 05:09 AM

    Hello,

    thank you for the information.

    We have a confirmation from our engineering team that the issue will be fixed in the E0710P02 this month.

    Regards,

    Vasil




  • 5.  RE: HPE iMC: plain text passwords in imcforeground.log

    Posted Oct 09, 2023 10:10 AM
    Edited by EBZ-IT Oct 20, 2023 08:18 AM

    cheers m8.

    no idea if this deserves a CVE or not. that's your call :)

    we'll wait for the update, then.
    thanks again.