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

Goal: 1000 CNY · Raised: 1310 CNY

100%

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

616 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)
ConfidentialityRead 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, ImplementationConsider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.
DistributionRemove debug log files before deploying the application into production.
OperationProtect log files against unauthorized read/write.
ImplementationAdjust 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 IDTitleCVSSSeverityPublished
CVE-2022-34369 Dell PowerScale OneFS 日志信息泄露漏洞 — PowerScale OneFS 8.1 High2022-09-02
CVE-2022-23715 Elastic Cloud Enterprise 日志信息泄露漏洞 — Elastic Cloud Enterprise 6.5 -2022-08-25
CVE-2022-38133 JetBrains TeamCity 日志信息泄露漏洞 — TeamCity 3.2 Low2022-08-10
CVE-2022-31119 Password disclosure in log file in Nextcloud Mail App — security-advisories 3.1 Low2022-08-04
CVE-2022-31186 Leakage of excessive information into log in next-auth — next-auth 3.3 Low2022-08-01
CVE-2022-36321 JetBrains TeamCity 日志信息泄露漏洞 — TeamCity 4.1 Medium2022-07-20
CVE-2022-33697 SAMSUNG Mobile devices ImsCore 日志信息泄露漏洞 — Samsung Mobile Devices 3.3 Low2022-07-11
CVE-2022-33688 SAMSUNG Mobile devices 日志信息泄露漏洞 — Samsung Mobile Devices 3.3 Low2022-07-11
CVE-2022-20768 Cisco TelePresence Collaboration Endpoint and RoomOS Software Information Disclosure Vulnerability — Cisco RoomOS Software 4.9 Medium2022-07-06
CVE-2022-27549 HCL Launch could disclose sensitive database information to a local user in plain text. — HCL Launch 4.0 Medium2022-07-06
CVE-2022-31098 Weave GitOps leaked cluster credentials into logs on connection errors — weave-gitops 9.0 Critical2022-06-27
CVE-2022-20651 Cisco Adaptive Security Device Manager Information Disclosure Vulnerability — Cisco Adaptive Security Device Manager (ASDM) 5.5 Medium2022-06-22
CVE-2022-31047 Insertion of Sensitive Information into Log File in typo3/cms-core — typo3 5.3 Medium2022-06-14
CVE-2022-32254 Siemens SINEMA Remote Connect Server 日志信息泄露漏洞 — SINEMA Remote Connect Server 4.3 Medium2022-06-14
CVE-2022-20807 Cisco Expressway Series and Cisco TelePresence Video Communication Server Vulnerabilities — Cisco TelePresence Video Communication Server (VCS) Expressway 4.3 Medium2022-05-27
CVE-2022-20806 Cisco Expressway Series and Cisco TelePresence Video Communication Server Vulnerabilities — Cisco TelePresence Video Communication Server (VCS) Expressway 4.3 Medium2022-05-27
CVE-2022-20809 Cisco Expressway Series and Cisco TelePresence Video Communication Server Vulnerabilities — Cisco TelePresence Video Communication Server (VCS) Expressway 4.3 Medium2022-05-26
CVE-2022-29928 JetBrains TeamCity 日志信息泄露漏洞 — TeamCity 4.4 Medium2022-05-12
CVE-2022-28859 F5 BIG-IP 日志信息泄露漏洞 — BIG-IP 6.5 Medium2022-05-05
CVE-2022-27636 F5 BIG-IP APM 日志信息泄露漏洞 — BIG-IP APM 5.5 Medium2022-05-05
CVE-2022-27888 The Foundry Issues service was found to be logging in a manner that captured session tokens. — Foundry Issues 5.5 Medium2022-04-26
CVE-2022-24875 Potential Secrets being logged to disk in CVEProject/cve-services — cve-services 5.3 Medium2022-04-21
CVE-2022-24758 Insertion of Sensitive Information into Log File affects Jupyter Notebook — notebook 7.5 High2022-03-31
CVE-2022-24757 Sensitive Auth & Cookie data stored in Jupyter server logs — jupyter_server 7.5 High2022-03-23
CVE-2021-20180 Red Hat Ansible 日志信息泄露漏洞 — Ansible 5.5 -2022-03-16
CVE-2021-25009 CorreosExpress <= 2.6.0 - Sensitive Information Disclosure — CorreosExpress – Shipping Management – Tags 5.3 -2022-03-07
CVE-2022-0021 GlobalProtect App: Information Exposure Vulnerability When Using Connect Before Logon — GlobalProtect App 3.3 Low2022-02-10
CVE-2021-36289 Dell Vnx2 Oe For File 日志信息泄露漏洞 — VNX Control Station 7.8 High2022-01-25
CVE-2022-0338 Insertion of Sensitive Information into Log File in delgan/loguru — delgan/loguru 4.3 Medium2022-01-25
CVE-2021-41808 In M-Files Server product with versions before 21.11.10775.0, enabling logging of federated authentication would write sensitive information to event logs. — M-Files Server 2.0 Low2022-01-18

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