CWE一覧に戻る
CWE-778

ロギング不足

Insufficient Logging
脆弱性 レビュー中
JA

セキュリティ上重要なイベントが発生した場合、製品はそのイベントを記録しないか、イベントのログを記録する際にそのイベントに関する重要な詳細を省略してしまう。

ログイン試行の失敗など、セキュリティ上重要なイベントが適切にログに記録されない場合、悪意のある行動の検出が難しくなり、攻撃成功後のフォレンジック分析が妨げられる可能性がある。

組織がクラウド・ストレージ・リソースを採用する場合、詳細なロギング情報を有効にするために、これらのテクノロジーはしばしば構成の変更を必要とします。これは、重要な監査ログの遠隔測定ギャップにつながる可能性がある。例えば、Azureでは、ロギングのデフォルト値は無効になっている。

EN

When a security-critical event occurs, the product either does not record the event or omits important details about the event when logging it.

When security-critical events are not logged properly, such as a failed login attempt, this can make malicious behavior more difficult to detect and may hinder forensic analysis after an attack succeeds.

As organizations adopt cloud storage resources, these technologies often require configuration changes to enable detailed logging information, since detailed logging can incur additional costs. This could lead to telemetry gaps in critical audit logs. For example, in Azure, the default value for logging is disabled.

Scope: Non-Repudiation / Impact: Hide Activities
Use a centralized logging mechanism that supports multiple levels of detail.
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.
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.
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.
MITRE公式ページ — CWE-778