CWE-319 · Słabość
Cleartext Transmission of Sensitive Information
- Abstrakcja
- Bazowa
- Status
- Szkic
- Ryzyko wykorzystania
- wysokie
- Dodano
- 19 lipca 2006
- Ostatnia zmiana
- 11 grudnia 2025
Opis
The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.
Skutki
Integrity, Confidentiality
Read Application Data; Modify Files or Directories
Anyone can read the information by gaining access to the channel being used for communication. Many communication channels can be "sniffed" (monitored) by adversaries during data transmission. For example, in networking, packets can traverse many intermediary nodes from the source to the destination, whether across the internet, an internal network, the cloud, etc. Some actors might have privileged access to a network interface or any link along the channel, such as a router, but they might not be authorized to collect the underlying data. As a result, network traffic could be sniffed by adversaries, spilling security-critical data.
Integrity, Confidentiality
Read Application Data; Modify Files or Directories; Other
When full communications are recorded or logged, such as with a packet dump, an adversary could attempt to obtain the dump long after the transmission has occurred and try to "sniff" the cleartext from the recorded communications in the dump itself. 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.
Zapobieganie
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.
Przykłady podatności
- CVE-2022-29519 Programmable Logic Controller (PLC) sends sensitive information in plaintext, including passwords and session tokens.
- CVE-2022-30312 Building Controller uses a protocol that transmits authentication credentials in plaintext.
- CVE-2022-31204 Programmable Logic Controller (PLC) sends password in plaintext.
- CVE-2002-1949 Passwords transmitted in cleartext.
- CVE-2008-4122 Chain: Use of HTTPS cookie without "secure" flag causes it to be transmitted across unencrypted HTTP.
- CVE-2008-3289 Product sends password hash in cleartext in violation of intended policy.
- CVE-2008-4390 Remote management feature sends sensitive information including passwords in cleartext.
- CVE-2007-5626 Backup routine sends password in cleartext in email.
- CVE-2004-1852 Product transmits Blowfish encryption key in cleartext.
- CVE-2008-0374 Printer sends configuration information, including administrative password, in cleartext.
- CVE-2007-4961 Chain: cleartext transmission of the MD5 hash of password enables attacks against a server that is susceptible to replay (CWE-294).
- CVE-2007-4786 Product sends passwords in cleartext to a log server.
- CVE-2005-3140 Product sends file with cleartext passwords in e-mail message intended for diagnostic purposes.
Słabość nadrzędna
Słabości podrzędne
Kiedy powstaje
- Architecture and Design — OMISSION: This weakness is caused by missing a security tactic during the architecture and design phase.
- Architecture and Design — For hardware, this may be introduced when design does not plan for an attacker having physical access while a legitimate user is remotely operating the device.
- Operation
- System Configuration
Dotyczy
Not Language-Specific, Not Technology-Specific, Cloud Computing, Mobile, ICS/OT, System on Chip, Test/Debug Hardware
Uwagi
Applicable communication channels are not limited to software products. Applicable channels include hardware-specific technologies such as internal hardware networks and external debug channels, supporting remote JTAG debugging. When mitigations are not applied to combat adversaries within the product's threat model, this weakness significantly lowers the difficulty of exploitation by such adversaries.
Źródła
- Top 10 2007-Insecure Communications — OWASP, 2007
- Writing Secure Code — Michael Howard, David LeBlanc, Chapter 9, "Protecting Secret Data" Page 299, Microsoft Press, 2002
- 24 Deadly Sins of Software Security — Michael Howard, David LeBlanc, John Viega, "Sin 22: Failing to Protect Network Traffic." Page 337, McGraw-Hill, 2010
- Mobile App Top 10 List — Chris Wysopal, 2010
- OT:ICEFALL: The legacy of "insecure by design" and its implications for certifications and risk management — Forescout Vedere Labs, 2022
- CIS Microsoft Azure Foundations Benchmark version 1.5.0 — Center for Internet Security, Sections 3.1 and 3.10, 2022
- Require secure transfer to ensure secure connections — Microsoft, 2022
Wpis z katalogu CWE 4.20.