CWEweakness

CWE-5 J2EE Misconfiguration: Data Transmission Without Encryption

Official page ↗
Abstraction
Variant
Structure
Simple
Status
Draft
Languages
Java
CWE version
5.0

Description

The product uses J2EE with a configuration that transmits data without encryption.

Common consequences

• Confidentiality: Read Application Data — An attacker may be able to read the data sent in plaintext. • Integrity: Modify Application Data — Information sent over a network can be compromised while in transit. An attacker may be able to modify the contents of data sent in plaintext.

Potential mitigations

• [System Configuration] The product configuration should ensure that SSL or an encryption mechanism of equivalent strength and vetted reputation is used for all access-controlled pages.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Related

Child of · CWE (1)

  • CWE-319 Cleartext Transmission of Sensitive Information weakness

Referenced by CVE · weakness (2)

  • CVE-2025-52435 J2EE Misconfiguration: Data Transmission Without Encryption vulnerability in Apache NimBLE. vulnerability
  • CVE-2025-65297 Aqara Hub devices including Camera Hub G3 4.1.9_0027, Hub M2 4.3.6_0027, and Hub M3 4.3.6_0025 automatically collect and upload unencrypted… vulnerability

Referenced by OWASP · mapped cwe (1)

  • A02:2025 Security Misconfiguration Top 10 2025