CWE•Base•Draft•14 recent CVEs
CWE-778Insufficient Logging
Description
When a security-critical event occurs, the product either does not record the event or omits important details about the event when logging it.
[object Object]
Common consequences
- Non-Repudiation→Hide ActivitiesIf security critical information is not recorded, there will be no trail for forensic analysis and discovering the cause of problems or the source of attacks may become more difficult or impossible.
Potential mitigations
- Architecture and DesignUse a centralized logging mechanism that supports multiple levels of detail.
- ImplementationEnsure that all security-related successes and failures can be logged. When storing data in the cloud (e.g., AWS S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to enable and capture detailed logging information.
- OperationBe sure to set the level of logging appropriately in a production environment. Sufficient data should be logged to enable system administrators to detect attacks, diagnose errors, and recover from attacks. At the same time, logging too much data (CWE-779) can cause the same problems, including unexpected costs when using a cloud environment.
- OperationTo enable storage logging using Azure's Portal, navigate to the name of the Storage Account, locate Monitoring (CLASSIC) section, and select Diagnostic settings (classic). For each of the various properties (blob, file, table, queue), ensure the status is properly set for the desired logging data. If using PowerShell, the Set-AzStorageServiceLoggingProperty command could be called using appropriat
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-920022026-09-15CVE-2026-918592026-09-15CVE-2026-909552026-09-14CVE-2026-298124.32026-09-13CVE-2026-668166.52026-09-08CVE-2026-828633.32026-08-31CVE-2020-372686.32026-08-24CVE-2025-623075.42026-08-20CVE-2026-762088.22026-08-19CVE-2026-417092.72026-07-30CVE-2026-92472.42026-05-22CVE-2026-328033.32026-05-08CVE-2025-526445.82026-03-16CVE-2026-34944.32026-03-03