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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-312 (敏感数据的明文存储) — Vulnerability Class 256

256 vulnerabilities classified as CWE-312 (敏感数据的明文存储). AI Chinese analysis included.

CWE-312 represents a critical data protection weakness where sensitive information is stored in an unencrypted, readable format within a resource accessible to unauthorized entities. This flaw typically arises when developers fail to apply adequate cryptographic safeguards to data at rest, such as configuration files, logs, or local databases. Attackers exploit this vulnerability by gaining direct access to the storage medium, allowing them to easily extract credentials, personal identifiable information, or financial data without needing to bypass complex encryption algorithms. To mitigate this risk, developers must implement robust encryption standards, such as AES-256, for all sensitive data stored locally. Additionally, utilizing secure key management systems and ensuring that storage resources are strictly isolated from other control spheres helps prevent unauthorized access, thereby maintaining data confidentiality and integrity throughout its lifecycle.

MITRE CWE Description
The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.
Common Consequences (1)
ConfidentialityRead Application Data
An attacker with access to the system could read sensitive information stored in cleartext (i.e., unencrypted). Even if the information is encoded in a way that is not human-readable, certain techniques could determine which encoding is being used, then decode the information.
Mitigations (2)
Implementation, System Configuration, OperationWhen storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to encrypt the data at rest. [REF-1297] [REF-1299] [REF-1301]
Implementation, System Configuration, OperationIn some systems/environments such as cloud, the use of "double encryption" (at both the software and hardware layer) might be required, and the developer might be solely responsible for both layers, instead of shared responsibility with the administrator of the broader system/environment.
Examples (2)
The following code excerpt stores a plaintext user account ID in a browser cookie.
response.addCookie( new Cookie("userAccountID", acctID);
Bad · Java
This code writes a user's login information to a cookie so the user does not have to login again later.
function persistLogin($username, $password){ $data = array("username" => $username, "password"=> $password); setcookie ("userdata", $data); }
Bad · PHP
CVE IDTitleCVSSSeverityPublished
CVE-2023-0690 Boundary Workers Store Rotated Credentials in Plaintext Even When a Key Management Service Configured — Boundary 5.0 Medium2023-02-08
CVE-2022-43757 Rancher: Exposure of sensitive fields — Rancher 9.9 Critical2023-02-07
CVE-2023-23944 Nexcloud Mail app temporarily stores cleartext password in database — security-advisories 2.0 Low2023-02-06
CVE-2022-38112 Sensitive Information Disclosure Vulnerability — Database Performance Analyzer (DPA) 7.5 High2023-01-20
CVE-2022-45439 Zyxel AX7501-B0 安全漏洞 — AX7501-B0 firmware 6.5 Medium2023-01-17
CVE-2022-42284 NVIDIA BMC 安全漏洞 — NVIDIA DGX servers 6.2 Medium2023-01-13
CVE-2022-45787 Apache James MIME4J: Temporary File Information Disclosure in MIME4J TempFileStorageProvider — Apache James MIME4J 5.5 -2023-01-06
CVE-2022-47512 Sensitive Data Disclosure Vulnerability — Hybrid Cloud Observability (HCO)/ SolarWinds Platform 5.5 Medium2022-12-21
CVE-2022-4312 ARC Informatique PcVue 安全漏洞 — PcVue 5.5 Medium2022-12-12
CVE-2022-29826 Mitsubishi Electric GX Works3 安全漏洞 — GX Works3 6.8 Medium2022-11-24
CVE-2022-25164 Mitsubishi Electric GX Works3 安全漏洞 — GX Works3 8.6 High2022-11-24
CVE-2022-41933 Plaintext storage of password in org.xwiki.platform:xwiki-platform-security-authentication-default — xwiki-platform 6.2 Medium2022-11-23
CVE-2022-2513 Cleartext Credentials Vulnerability on Hitachi Energy’s Multiple IED Connectivity Packages (IED ConnPacks) and PCM600 Products — PCM600 7.1 High2022-11-22
CVE-2022-39364 Exception logging in Sharepoint app reveals clear-text connection details — security-advisories 4.0 Medium2022-10-27
CVE-2022-39351 Dependency-Track vulnerable to logging of API keys in clear text when handling API requests using keys with insufficient permissions — dependency-track 4.4 Medium2022-10-25
CVE-2022-2805 ovirt-engine 信息泄露漏洞 — ovirt-engine 5.5 -2022-10-19
CVE-2022-32217 Rocket.Chat 日志信息泄露漏洞 — Rocket.chat 5.3 -2022-09-23
CVE-2021-36782 Rancher: Plaintext storage and exposure of credentials in Rancher API and cluster.management.cattle.io object — Rancher 9.9 Critical2022-09-07
CVE-2022-2569 ARC Informatique PcVue — PcVue 12 OAuth web service configuration 5.5 Medium2022-08-24
CVE-2022-2813 SourceCodester Guest Management System cleartext storage — Guest Management System 4.3 Medium2022-08-14
CVE-2017-20040 SICUNET Access Controller Password Storage cleartext storage — Access Controller 5.9 Medium2022-06-11
CVE-2022-28214 SAP Business Objects 安全漏洞 — SAP BusinessObjects Enterprise (Central Management Server) 7.8 -2022-05-11
CVE-2021-35036 Zyxel NWA-1100-NH 命令注入漏洞 — VMG3625-T50B firmware 6.5 Medium2022-03-01
CVE-2020-14480 Rockwell Automation FactoryTalk View SE 安全漏洞 — FactoryTalk View SE 7.1 -2022-02-24
CVE-2021-3551 PKI-server 安全漏洞 — pki-server 7.8 -2022-02-16
CVE-2022-21818 Nvidia License System 安全漏洞 — NVIDIA License System 5.4 Medium2022-02-14
CVE-2022-20660 Cisco IP Phones Information Disclosure Vulnerability — Cisco Session Initiation Protocol (SIP) Software 4.6 Medium2022-01-14
CVE-2021-35035 Zyxel NBG6604 信息泄露漏洞 — NBG6604 series firmware 4.9 Medium2021-12-29
CVE-2021-42066 SAP Business One 安全漏洞 — SAP Business One 4.4 -2021-12-14
CVE-2020-10053 SIMATIC RTLS 安全漏洞 — SIMATIC RTLS Locating Manager 5.5 -2021-11-09

Vulnerabilities classified as CWE-312 (敏感数据的明文存储) represent 256 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.