Rule Definition
Failure frequently compromises all data that should have been protected. Typically, this information includes sensitive personal information (PII) data such as health records, credentials, personal data, and credit cards, which often require protection as defined by laws or regulations such as the EU GDPR or local privacy laws.
Remediation
Review the source code and remove the line of code enablig the tracing.
Violation Code Sample
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// New code
config.EnableSystemDiagnosticsTracing();
// Other configuration code not shown.
}
}
Fixed Code Sample
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// No enablig of the tracing
// config.EnableSystemDiagnosticsTracing();
// Other configuration code not shown.
}
}
Reference
CWE-11 : http://cwe.mitre.org/data/definitions/11.html
OWASP Top 10 2004 -A10-Insecure Configuration Management
OWASP Top 10 2007 -A6-Information Leakage and Improper Error Handling
OWASP Top 10 2010 -A6-Security Misconfiguration
OWASP Top 10 2013 -A5-Security Misconfiguration
OWASP Top 10 2017 -A6-Security Misconfiguration
Related Technologies
Technical Criterion
Secure Coding - Weak Security Features
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.