CWE-392: Missing Report of Error Condition

Export to Word

Description

The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.

Extended Description

N/A


ThreatScore

Threat Mapped score: 0.0

Industry: Finiancial

Threat priority: Unclassified


Observed Examples (CVEs)

Related Attack Patterns (CAPEC)

N/A


Attack TTPs

N/A

Modes of Introduction

Phase Note
Implementation N/A

Common Consequences

Potential Mitigations

Applicable Platforms


Demonstrative Examples

Intro: In the following snippet from a doPost() servlet method, the server returns "200 OK" (default) even if an error occurs.

try { // Something that may throw an exception. ... } catch (Throwable t) { logger.error("Caught: " + t.toString()); return; }

Notes

← Back to CWE list