Heap_Inspection issue exists @ WebGoatCoins/ForgotPassword.aspx.cs in branch master
Method getPassword at line 94 of WebGoatCoins\ForgotPassword.aspx.cs defines password, which is designated to contain user passwords. However, while plaintext passwords are later assigned to password, this variable is never cleared from memory.
Heap_Inspection issue exists @ WebGoatCoins/ForgotPassword.aspx.cs in branch master
Method getPassword at line 94 of WebGoatCoins\ForgotPassword.aspx.cs defines password, which is designated to contain user passwords. However, while plaintext passwords are later assigned to password, this variable is never cleared from memory.
Severity: Medium
CWE:244
Checkmarx
Lines: 96 70
Code (Line #96):
Code (Line #70):