Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-532 (通过日志文件的信息暴露) — Vulnerability Class 770

770 vulnerabilities classified as CWE-532 (通过日志文件的信息暴露). AI Chinese analysis included.

CWE-532 represents a critical information disclosure weakness where software inadvertently records sensitive data, such as passwords, credit card numbers, or personal identifiers, into log files. This vulnerability is typically exploited by attackers who gain access to these logs through insufficient file permissions, insecure storage practices, or compromised administrative accounts. Once accessed, the exposed data can be harvested for identity theft, financial fraud, or further system intrusion. To prevent this, developers must implement strict data sanitization protocols, ensuring that sensitive fields are masked or excluded before logging. Additionally, employing robust access controls and encryption for log storage, alongside regular audits of logging configurations, helps mitigate the risk of accidental exposure. By treating log files as potential repositories of confidential information, organizations can significantly reduce their attack surface and maintain compliance with data protection standards.

MITRE CWE Description
The product writes sensitive information to a log file.
Common Consequences (1)
Confidentiality Read Application Data
Logging sensitive user data, full path names, or system information often provides attackers with an additional, less-protected path to acquiring the information.
Mitigations (4)
Architecture and Design, Implementation Consider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.
Distribution Remove debug log files before deploying the application into production.
Operation Protect log files against unauthorized read/write.
Implementation Adjust configurations appropriately when software is transitioned from a debug state to production.
Examples (2)
In the following code snippet, a user's full name and credit card number are written to a log file.
logger.info("Username: " + usernme + ", CCN: " + ccn);
Bad · Java
This code stores location information about the current user:
locationClient = new LocationClient(this, this, this); locationClient.connect(); currentUser.setLocation(locationClient.getLastLocation()); ... catch (Exception e) { AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setMessage("Sorry, this application has experienced an error."); AlertDialog alert = builder.create(); alert.show(); Log.e("ExampleActivity", "Caught exception: " + e + " While on User:" + User.toString()); }
Bad · Java
CVE ID Title CVSS Severity Published
CVE-2021-20191 Red Hat Ansible 日志信息泄露漏洞 — ansible 5.5 - 2021-05-26
CVE-2021-26908 Automox Agent Sensitive Log Information Disclosure — Automox Agent 3.3 Low 2021-04-23
CVE-2021-3036 PAN-OS: Administrator secrets are logged in web server logs when using the PAN-OS XML API incorrectly — PAN-OS 4.4 Medium 2021-04-20
CVE-2021-3447 红帽 Ansible 日志信息泄露漏洞 — ansible 5.5 - 2021-04-01
CVE-2021-1442 Cisco IOS XE Software Plug-and-Play Privilege Escalation Vulnerability — Cisco IOS XE Software 7.8 - 2021-03-24
CVE-2021-3034 Cortex XSOAR: Secrets for SAML single sign-on (SSO) integration may be logged in system logs — Cortex XSOAR 5.1 Medium 2021-03-10
CVE-2021-21361 Sensitive information disclosure via log in com.bmuschko:gradle-vagrant-plugin — security-research 5.3 Medium 2021-03-09
CVE-2020-7021 Elasticsearch 日志信息泄露漏洞 — Elasticsearch 4.9 - 2021-02-10
CVE-2021-22133 GE APM 日志信息泄露漏洞 — Elastic APM Agent for Go 2.4 - 2021-02-10
CVE-2021-1226 Cisco Unified Communications Products Information Disclosure Vulnerability — Cisco Emergency Responder 4.3 Medium 2021-01-13
CVE-2021-3032 PAN-OS: Configuration secrets for log forwarding may be logged in system logs — PAN-OS 4.4 Medium 2021-01-13
CVE-2020-26199 DELL Dell EMC Unity和UnityVSA 日志信息泄露漏洞 — Unity 6.4 Medium 2021-01-05
CVE-2020-8563 Secret leaks in logs for vSphere Provider kube-controller-manager — Kubernetes 4.7 Medium 2020-12-07
CVE-2020-8564 Docker config secrets leaked when file is malformed and loglevel >= 4 — Kubernetes 4.7 Medium 2020-12-07
CVE-2020-8565 Incomplete fix for CVE-2019-11250 allows for token leak in logs when logLevel >= 9 — Kubernetes 4.7 Medium 2020-12-07
CVE-2020-8566 Ceph RBD adminSecrets exposed in logs when loglevel >= 4 — Kubernetes 4.7 Medium 2020-12-07
CVE-2020-10763 Red Hat OpenShift Container Storage 日志信息泄露漏洞 — heketi 5.5 - 2020-11-24
CVE-2020-2048 PAN-OS: System proxy passwords may be logged in clear text while viewing system state — PAN-OS 3.3 Low 2020-11-12
CVE-2020-11646 GateManager Log Information Disclosure Vulnerability — GateManager 4.3 Medium 2020-10-15
CVE-2020-11643 GateManager Information Disclosure Vulnerability — GateManager 6.5 Medium 2020-10-15
CVE-2020-5389 Dell EMC OpenManage Integration 日志信息泄露漏洞 — OMIMSSC (OpenManage Integration for Microsoft System Center) 6.5 - 2020-10-08
CVE-2020-14330 Red Hat Ansible 安全漏洞 — Ansible 5.0 Medium 2020-09-11
CVE-2020-2043 PAN-OS: Passwords may be logged in clear text when using after-change-detail custom syslog field for config logs — PAN-OS 3.3 Low 2020-09-09
CVE-2020-2044 PAN-OS: Passwords may be logged in clear text while storing operational command (op command) history — PAN-OS 3.3 Low 2020-09-09
CVE-2020-7322 Exposure of Sensitive Information in ENS for Windows — Endpoint Security for Windows 4.7 Medium 2020-09-09
CVE-2020-14518 Philips DreamMapper Insertion of Sensitive Information into Log File — DreamMapper 5.3 Medium 2020-08-21
CVE-2020-3447 Cisco Email Security Appliance and Cisco Content Security Management Appliance Information Disclosure Vulnerability — Cisco Email Security Appliance (ESA) 5.5 Medium 2020-08-17
CVE-2020-15095 Sensitive information exposure through logs in npm cli — cli 4.4 Medium 2020-07-07
CVE-2020-10750 jaegertracing/jaeger 日志信息泄露漏洞 — jaegertracing/jaeger 7.1 High 2020-06-19
CVE-2020-12023 Philips IntelliBridge Enterprise IBE Insertion of Sensitive Information into Log File — IntelliBridge Enterprise (IBE) 2.0 Low 2020-06-11

Vulnerabilities classified as CWE-532 (通过日志文件的信息暴露) represent 770 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.