Mishandling of Exceptional Conditions
A new category containing 24 CWEs focusing on improper error handling, logical errors, failing open, and other scenarios stemming from abnormal conditions that systems may encounter.
अवलोकन
New category for 2025. Focuses on how applications handle errors, edge cases, and exceptional conditions. Improper handling can lead to information disclosure, denial of service, or security control bypass.
हमलावर इसका शोषण कैसे करते हैं
हमले के पैटर्न समझने से बेहतर सुरक्षा बनाने में मदद मिलती है। ये वे तकनीकें हैं जिन पर सुरक्षा टीमें नज़र रखती हैं।
Fail-open bypass
Security controls fail open when exceptions occur, allowing unauthorized access when the system encounters unexpected conditions.
Error-based information disclosure
Detailed error messages reveal internal system information, database schemas, or file paths to attackers.
Resource exhaustion
Triggering exceptional conditions repeatedly causes resource exhaustion or denial of service.
कैसे रोकें
- Implement consistent error handling across the application
- Design systems to fail securely (fail closed, not fail open)
- Handle all exception types explicitly, never use catch-all silently
- Return generic error messages to users, log detailed errors internally
- Test error handling paths with invalid, unexpected, and malicious input
- Implement timeouts and circuit breakers for external dependencies
- Validate assumptions about inputs and system state
Shoulder पहचान वाले CWE (6)
इन CWE में Shoulder पहचान नियम हैं। विशिष्ट भेद्यताएँ और समाधान देखने के लिए क्लिक करें।
अन्य मैप किए गए CWE (18)
ये CWE इस श्रेणी से मैप किए गए हैं लेकिन अभी तक Shoulder नियम नहीं हैं।