YLChen-007 opened a new issue, #12025: URL: https://github.com/apache/cloudstack/issues/12025
## Descrption ### Summary A command with password logged. ### Vulnerability Details Step1: (Line 1380) A command string is constructed with plaintext password, then is passed to "SshHelper.sshExecute" (Line 1389) https://github.com/apache/cloudstack/blob/8c86f24261c5133831d8412aec6067a794a701dd/plugins/hypervisors/hyperv/src/main/java/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java#L1375-L1389 Step2: SshHelper.sshExecute logged command in Line 295 and 300 without sanitization. https://github.com/apache/cloudstack/blob/8c86f24261c5133831d8412aec6067a794a701dd/utils/src/main/java/com/cloud/utils/ssh/SshHelper.java#L293-L303 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
