jbruinaud / WebGoatNet

WebGoat .Net for demos
0 stars 0 forks source link

CX Improper_Exception_Handling @ App_Code/ConfigFile.cs [master] #117

Open jbruinaud opened 4 years ago

jbruinaud commented 4 years ago

Improper_Exception_Handling issue exists @ App_Code/ConfigFile.cs in branch master

Method Load at line 25 of App_Code\ConfigFile.cs performs an operation that could be expected to throw an exception, and is not properly wrapped in a try-catch block. This constitutes Improper Exception Handling.

Severity: Low

CWE:248

Checkmarx

Lines: 30 63


Code (Line #30):

            foreach (string line in File.ReadAllLines(_filePath))

Code (Line #63):

                stream.Write(data, 0, data.Length);

jbruinaud commented 4 years ago

Issue still exists.

SUMMARY

Issue has total 2 vulnerabilities left to be fix (Please scroll to the top for more information)