CWEweakness

CWE-778 Insufficient Logging

Medium Official page ↗
Abstraction
Base
Structure
Simple
Status
Draft
Likelihood of exploit
Medium
Languages
Not Language-Specific, Python
CWE version
5.0

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.

Common consequences

• Non-Repudiation: Hide Activities — Malicious behavior can become more difficult to detect, such as a failed login attempt. This may hinder forensic analysis after an attack succeeds. 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 Design] Use a centralized logging mechanism that supports multiple levels of detail. • [Implementation] Ensure 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. • [Operation] Be 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. • [Operation] To 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 appropriate -ServiceType, -LoggingOperations, and -RetentionDays arguments.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Observed examples

• CVE-2008-4315: server does not log failed authentication attempts, making it easier for attackers to perform brute force password guessing without being detected • CVE-2008-1203: admin interface does not log failed authentication attempts, making it easier for attackers to perform brute force password guessing without being detected • CVE-2007-3730: default configuration for POP server does not log source IP or username for login attempts • CVE-2007-1225: proxy does not log requests without "http://" in the URL, allowing web surfers to access restricted web content without detection • CVE-2003-1566: web server does not log requests for a non-standard request type

Related

Observed example · CVE (5)

  • CVE-2003-1566 Microsoft Internet Information Services (IIS) 5.0 does not log requests that use the TRACK method, which allows remote attackers to obtain… vulnerability
  • CVE-2008-4315 tog-pegasus in OpenGroup Pegasus 2.7.0 on Red Hat Enterprise Linux (RHEL) 5, Fedora 9, and Fedora 10 does not log failed authentication… vulnerability
  • CVE-2008-1203 The administrator interface for Adobe ColdFusion 8 and ColdFusion MX7 does not log failed authentication attempts, which makes it easier… vulnerability
  • CVE-2007-3730 The default configuration of the POP server in TCP/IP Services 5.6 for HP OpenVMS 8.3 does not log the source IP address or attempted… vulnerability
  • CVE-2007-1225 The connection log file implementation in Grok Developments NetProxy 4.03 does not record requests that omit http:// in a URL, which might… vulnerability

Child of · CWE (1)

  • CWE-223 Omission of Security-relevant Information weakness

Referenced by CVE · weakness (40)

  • CVE-2026-108311 Tanium addressed an insufficient logging vulnerability in Tanium Server. vulnerability
  • CVE-2026-115357 OpenBao before 2.6.4 and 2.7.x before 2.7.1 fails to write response audit entries for the unauthenticated sys/generate-root, sys/rekey, and… vulnerability
  • CVE-2026-85959 Progress MarkLogic Server 12.x releases before 12.1.0 and 11.x releases before 11.3.7 do not consistently record successful authentication… vulnerability
  • CVE-2026-105243 Insufficient Logging vulnerability in the EventLogAppender of Apache log4net. vulnerability
  • CVE-2026-18161 IBM Financial Transaction Manager (FTM) for RedHat OpenShift could allow a remote authenticated attacker to falsify transaction audit logs… vulnerability
  • CVE-2026-91859 Affected versions of MISP can record incorrect access-log data for requests that terminate in an exception. vulnerability
  • CVE-2026-92002 Affected versions of MISP use Redis to throttle repeated authentication-failure log entries. vulnerability
  • CVE-2026-90955 Affected versions of MISP’s interactive CLI shell do not reliably preserve the identity of the impersonated MISP user across audit logging. vulnerability
  • CVE-2026-29812 CyberPanel before 2.4.4 has no logging for actions that could potentially manipulate the child domains list. vulnerability
  • CVE-2026-66816 Insufficient logging in SQL Server allows an authorized attacker to bypass a security feature over a network. vulnerability
  • CVE-2026-82863 @hulumi/baseline versions before 1.3.2 fail to fully detect CloudTrail selector tampering events, reducing audit logging configuration… vulnerability
  • CVE-2020-37268 Print Assumptions does not report that a definition was produced while universe checking was disabled when that definition reaches the… vulnerability
  • CVE-2025-62307 HCL IntelliOps Event Management (IEM) is affected by insufficient logging. vulnerability
  • CVE-2026-76208 phpMyFAQ versions 3.1.0 through 4.1.6 contain an authentication bypass vulnerability in AuthLdap::create(). vulnerability
  • CVE-2026-41709 VMware ESX contains an insufficient logging vulnerability. vulnerability
  • CVE-2026-9247 Insufficient logging in the entry export feature in Devolutions Server allows an authenticated user with export permissions to export a… vulnerability
  • CVE-2026-32803 Dell PowerScale OneFS versions 9.5.0.0 through 9.5.1.6, 9.6.0.0 through 9.7.1.13, 9.8.0.0 through 9.10.1.5 and 9.11.0.0 through 9.12.0.1… vulnerability
  • CVE-2026-32693 In Juju from version 3.0.0 through 3.6.18, the authorization of the "secret-set" tool is not performed correctly, which allows a grantee to… vulnerability
  • CVE-2025-52644 HCL AION is affected by a vulnerability where certain user actions are not adequately audited or logged. vulnerability
  • CVE-2026-3494 In MariaDB server version through 11.8.5, when server audit plugin is enabled with server_audit_events variable configured with QUERY_DCL,… vulnerability
  • CVE-2026-25598 Harden-Runner is a CI/CD security agent that works like an EDR for GitHub Actions runners. vulnerability
  • CVE-2026-22279 Dell PowerScale OneFS, versions prior 9.13.0.0, contains an insufficient logging vulnerability. vulnerability
  • CVE-2025-66552 Nextcloud Server is a self hosted personal cloud system. vulnerability
  • CVE-2025-53498 Insufficient Logging vulnerability in Wikimedia Foundation Mediawiki - AbuseFilter Extension allows Data Leakage Attacks.This issue affects… vulnerability
  • CVE-2025-32967 OpenEMR is a free and open source electronic health records and medical practice management application. vulnerability
  • CVE-2025-2562 Insufficient logging in the autotyping feature in Devolutions Remote Desktop Manager on Windows allows an authenticated user to use a… vulnerability
  • CVE-2024-10863 : Insufficient Logging vulnerability in OpenText Secure Content Manager on Windows allows Audit Log Manipulation.This issue affects Secure… vulnerability
  • CVE-2024-48967 The ventilator and the Service PC lack sufficient audit logging capabilities to allow for detection of malicious activity and subsequent… vulnerability
  • CVE-2024-2291 In Progress MOVEit Transfer versions released before 2022.0.11 (14.0.11), 2022.1.12 (14.1.12), 2023.0.9 (15.0.9), 2023.1.4 (15.1.4), a… vulnerability
  • CVE-2024-24901 Dell PowerScale OneFS 8.2.x through 9.6.0.x contain an insufficient logging vulnerability. vulnerability
Show all 40 ›

Referenced by CWE · has member (1)

  • CWE-1460 Weaknesses Addressed by the Top 20 Secure PLC Coding Practices view

Referenced by OWASP · mapped cwe (3)

  • A09:2025 Security Logging & Alerting Failures Top 10 2025
  • A09:2021 Security Logging and Monitoring Failures Top 10 2021
  • CS-Authorization Authorization Cheat Sheet Cheat Sheet