1 vulnerabilities classified as CWE-6 (J2EE误配置:会话ID长度不充分). AI Chinese analysis included.
CWE-6 represents a J2EE misconfiguration weakness where applications generate session identifiers with insufficient entropy or length. This vulnerability primarily facilitates session hijacking, allowing attackers to predict, guess, or steal session tokens to impersonate legitimate users and gain unauthorized access to sensitive data or functionalities. By utilizing short or predictable session IDs, the attack surface expands significantly, making brute-force or statistical prediction attacks feasible. To mitigate this risk, developers must configure their J2EE containers to enforce robust session ID generation standards. This involves ensuring session identifiers are sufficiently long, typically utilizing cryptographically secure random number generators to maximize the search space. Proper configuration prevents attackers from successfully guessing tokens, thereby maintaining session integrity and protecting user authentication states from compromise.
<sun-web-app> ... <session-config> <session-properties> <property name="idLengthBytes" value="8"> <description>The number of bytes in this web module's session ID.</description> </property> </session-properties> </session-config> ... </sun-web-app>| CVE ID | Title | CVSS | Severity | Published |
|---|---|---|---|---|
| CVE-2018-12538 | Eclipse Jetty 授权问题漏洞 — Eclipse Jetty | 8.3 | - | 2018-06-22 |
Vulnerabilities classified as CWE-6 (J2EE误配置:会话ID长度不充分) represent 1 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.