CWE-319 — Cleartext Transmission of Sensitive Information
CWE-319: Cleartext Transmission of Sensitive Information
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Draft |
| Likelihood of exploit | High |
Description
The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.
Common consequences
- Integrity, Confidentiality: Read Application Data, Modify Files or Directories
- Integrity, Confidentiality: Read Application Data, Modify Files or Directories, Other
Mitigations
Architecture and Design — Before transmitting, encrypt the data using reliable, confidentiality-protecting cryptographic protocols.
Implementation — When using web applications with SSL, use SSL for the entire session from login to logout, not just for the initial login page.
Implementation — When designing hardware platforms, ensure that approved encryption algorithms (such as those recommended by NIST) protect paths from security critical data to trusted user applications.
Testing — Use tools and techniques that require manual (human) analysis, such as penetration testing, threat modeling, and interactive tools that allow the tester to record and modify an active session. These may be more effective than strictly automated techniques. This is especially the case with weaknesses that are related to design and business rules.
Operation — Configure servers to use encrypted channels for communication, which may include SSL or other secure protocols.
References
- CWE page: https://cwe.mitre.org/data/definitions/319.html
- CWE list: https://cwe.mitre.org/data/index.html