Log_Forging issue exists @ Content/MessageDigest.aspx.cs in branch master
Method btnDigest_Click at line 21 of Content\MessageDigest.aspx.cs gets user input from element Text. This element’s value flows through the code without being properly sanitized or validated, and is eventually used in writing an audit log in GenerateWeakDigest at line 14 of App_Code\WeakMessageDigest.cs. This may enable Log Forging.
Log_Forging issue exists @ Content/MessageDigest.aspx.cs in branch master
Method btnDigest_Click at line 21 of Content\MessageDigest.aspx.cs gets user input from element Text. This element’s value flows through the code without being properly sanitized or validated, and is eventually used in writing an audit log in GenerateWeakDigest at line 14 of App_Code\WeakMessageDigest.cs. This may enable Log Forging.
Severity: Low
CWE:117
Checkmarx
Lines: 23 25
Code (Line #23):
Code (Line #25):