CWE-532: Insertion of Sensitive Information into Log File

CWE-532 là gì?

CWE-532 là Insertion of Sensitive Information into Log File. Lỗi phát sinh khi the product writes sensitive information to a log file.

THỨ HẠNG OWASP TOP 10:20259 — A09:2025 — Security Logging & Alerting Failures
Tổng số CVE liên quan (365 ngày)-
Mức trừu tượngCơ bản
Khả năng khai thácTrung bình

Không có dữ liệu

Chưa có dữ liệu về lỗ hổng cho CWE-532

Không có dữ liệu

Chưa có dữ liệu về lỗ hổng trong CISA KEV cho CWE-532

Định nghĩa chính thức

TheoMitre CWE

Đặc điểm

Dữ liệu MITRE CWE chính thức

Giai đoạn hình thành

  • Kiến trúc và thiết kế: COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic.
  • Hiện thực hóa
  • Vận hành

Hậu quả thường gặp

Dữ liệu MITRE CWE chính thức
Tác độngPhạm viDiễn giải
Đọc dữ liệu ứng dụngTính bí mậtLogging sensitive user data, full path names, or system information often provides attackers with an additional, less-protected path to acquiring the information.

Biện pháp giảm thiểu rủi ro

Dữ liệu MITRE CWE chính thức
  1. Kiến trúc và thiết kế, Hiện thực hóaConsider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.
  2. Phân phốiRemove debug log files before deploying the application into production.
  3. Vận hànhProtect log files against unauthorized read/write.
  4. Hiện thực hóaAdjust configurations appropriately when software is transitioned from a debug state to production.

Cách phát hiện trong hệ thống

Dữ liệu MITRE CWE chính thức
Phương phápCách làmHiệu quả
Phân tích tĩnh tự độngAutomated 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.)Cao

Lỗ hổng điển hình

Dữ liệu MITRE CWE chính thức

Dưới đây là các lỗ hổng tiêu biểu liên quan đến CWE-532, dựa theo mức độ ưu tiên

Nguồn (2)

CWE™ Program, operated by The MITRE Corporation. Copyright © 2006–2026, The MITRE Corporation. The MITRE Corporation hereby grants you a non-exclusive, royalty-free license to use CWE for research, development, and commercial purposes. CWE Terms of Use.

Tìm hiểu thêm

Kiểm tra chuyên sâu cùng giải pháp quản lý rủi ro Web toàn diện

Giải pháp CyStack VulnScan liên tục phát hiện tài sản, xác minh lỗ hổng và giúp đội ngũ bảo mật ưu tiên khắc phục cho toàn bộ doanh nghiệp.