Category Archives: CWE

CWE-1119 – Excessive Use of Unconditional Branching

Read Time:9 Second

Description

The code uses too many unconditional branches (such as
“goto”).

Modes of Introduction:

 

 

Related Weaknesses

CWE-1120

 

Consequences

Other: Reduce Maintainability

 

Potential Mitigations

CVE References

CWE-112 – Missing XML Validation

Read Time:26 Second

Description

The software accepts XML from an untrusted source but does not validate the XML against the proper schema.

Most successful attacks begin with a violation of the programmer’s assumptions. By accepting an XML document without validating it against a DTD or XML schema, the programmer leaves a door open for attackers to provide unexpected, unreasonable, or malicious input.

Modes of Introduction:

– Implementation

 

 

Related Weaknesses

CWE-1286
CWE-20

 

Consequences

Integrity: Unexpected State

 

Potential Mitigations

Phase: Architecture and Design

Description: 

CVE References

CWE-109 – Struts: Validator Turned Off

Read Time:22 Second

Description

Automatic filtering via a Struts bean has been turned off, which disables the Struts Validator and custom validation logic. This exposes the application to other weaknesses related to insufficient input validation.

Modes of Introduction:

– Implementation

 

 

Related Weaknesses

CWE-1173
CWE-20

 

Consequences

Access Control: Bypass Protection Mechanism

 

Potential Mitigations

Phase: Implementation

Description: 

Ensure that an action form mapping enables validation. Set the validate field to true.

CVE References