CWE-246J2EE Bad Practices: Direct Use of Sockets

PUBLISHEDweakness record
released 2006-07-19 · last modified 2024-02-29

Metadata

CWE ID:
CWE-246
摘要:
Variant
结构:
Simple
状态:
Draft
发布日期:
2006-07-19
更新日期:
2024-02-29

名称

J2EE Bad Practices: Direct Use of Sockets

描述

The J2EE application directly uses sockets instead of using framework method calls.

The J2EE standard permits the use of sockets only for the purpose of communication with legacy systems when no higher-level protocol is available. Authoring your own communication protocol requires wrestling with difficult security issues. Without significant scrutiny by a security expert, chances are good that a custom communication protocol will suffer from security problems. Many of the same issues apply to a custom implementation of a standard protocol. While there are usually more resources available that address security concerns related to implementing a standard protocol, these resources are also available to attackers.

常见后果

范围:
Other
影响:
Quality Degradation

相关 CWE