目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CWE-532 通过日志文件的信息暴露 类漏洞列表 702

CWE-532 通过日志文件的信息暴露 类弱点 702 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-532指将敏感信息写入日志文件的漏洞,属于信息泄露类安全风险。攻击者常通过读取服务器日志或访问日志存储位置,窃取密码、密钥或个人隐私数据,进而实施身份冒充或横向移动。开发者应避免在日志中记录明文凭证、会话令牌或敏感业务数据,采用数据脱敏、加密存储及严格的日志访问控制机制,确保仅记录必要的非敏感审计信息,从而降低数据泄露风险。

MITRE CWE 官方描述
CWE:CWE-532 将敏感信息写入日志文件 英文:The product writes sensitive information to a log file.
常见影响 (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.
缓解措施 (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.
代码示例 (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 标题 CVSS 风险等级 Published
CVE-2018-3827 Elasticsearch repository-azure插件信任管理问题漏洞 — Elasticsearch 8.1 - 2018-09-19
CVE-2018-3828 Elastic Cloud Enterprise 信息泄露漏洞 — Elastic Cloud Enterprise 8.8 - 2018-09-19
CVE-2018-10889 Moodle 信息泄露漏洞 — moodle 5.3 - 2018-07-10
CVE-2018-10855 Ansible 安全漏洞 — ansible 5.3 - 2018-07-02
CVE-2018-1072 Red Hat oVirt ovirt-engine 信息泄露漏洞 — ovirt-engine-setup 7.1 - 2018-06-26
CVE-2018-1117 Red Hat oVirt Ansible Roles 权限许可和访问控制漏洞 — ovirt-ansible-roles 7.5 - 2018-06-19
CVE-2018-1075 ovirt-engine 日志信息泄露漏洞 — ovirt-engine 8.4 - 2018-06-12
CVE-2018-1241 Dell EMC RecoverPoint和RecoverPoint for Virtual Machines 安全漏洞 — Dell EMC RecoverPoint 8.8 - 2018-05-29
CVE-2017-2592 OpenStack oslo.middleware 信息泄露漏洞 — python-oslo-middleware 5.5 - 2018-05-08
CVE-2018-3817 Elasticsearch Logstash 信息泄露漏洞 — Logstash 4.3 - 2018-03-30
CVE-2017-7550 Red Hat Ansible 日志信息泄露漏洞 — ansible 8.1 - 2017-11-21
CVE-2016-10362 Elasticsearch Logstash 安全漏洞 — Logstash 8.1 - 2017-06-16

CWE-532(通过日志文件的信息暴露) 是常见的弱点类别,本平台收录该类弱点关联的 702 条 CVE 漏洞。