Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmmPasswordHandler does not clear password data (Bugzilla Bug 4706) #708

Open
tianocore-issues opened this issue Feb 23, 2024 · 2 comments

Comments

@tianocore-issues
Copy link

This issue was created automatically with bugzilla2github

Bugzilla Bug 4706

Date: 2024-02-23T13:07:10+00:00
From: @jkmathews
To: @nate-desimone
CC: @lgao4

Last updated: 2024-03-05T21:52:26+00:00

@tianocore-issues
Copy link
Author

Comment 22642

Date: 2024-02-23 13:07:10 +0000
From: @jkmathews

  • Industry Specification: ---
  • Release Observed: edk2-stable202302
  • Releases to Fix: EDK II Master
  • Target OS: ---
  • Bugzilla Assignee(s): @nate-desimone

It is recommended to clear/zero password data from memory before exiting from the function SmmPasswordHandler().

Issue #1:
In the case SMM_PASSWORD_FUNCTION_SET_PASSWORD, the new and old password are copied into a local variable SmmCommunicateSetPassword. When code reaches the end of case or hits a goto EXIT statement, the SmmCommunicateSetPassword variable is not zero'd.

Issue #2:
In the case SMM_PASSWORD_FUNCTION_VERIFY_PASSWORD, the password is copied into a local variable SmmCommunicateVerifyPassword. When code reaches the end of case or hits a goto EXIT statement, the SmmCommunicateVerifyPassword variable is not zero'd.

@tianocore-issues
Copy link
Author

Comment 22703

Date: 2024-03-05 21:52:26 +0000
From: @lgao4

[email protected]: please check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant