CWE
Home > CWE List > CWE-145 Individual Dictionary Definition (Draft 9)   View the CWE List

CWE-145 Individual Dictionary Definition (Draft 9)

Failure to Sanitize Section Delimiters
Weakness ID
Status: Incomplete

145 (Weakness Variant)

Description

Summary

Section delimiters injected into an application can be used to compromise a system. As data is parsed, an injected/absent/malformed delimiter may cause the process to take unexpected actions that result in an attack. One example of a section delimiter is the boundary string in a multipart MIME message. In many cases, doubled line delimiters can serve as a section delimiter.

Potential Mitigations

Developers should anticipate that section delimiters will be injected/removed/manipulated in the input vectors of their software system. Use an appropriate combination of black lists and white lists to ensure only valid, expected and appropriate input is processed by the system.

Context Notes

Depending on the language and syntax being used, this could be the same as the record delimiter.

Relationships
NatureTypeIDName
ChildOfWeakness BaseWeakness BaseWeakness Base140Failure to Sanitize Delimiters
CanAlsoBeWeakness BaseWeakness BaseWeakness Base93Failure to Sanitize CRLF Sequences (aka 'CRLF Injection')
Source Taxonomies

PLOVER - Section Delimiter

Applicable Platforms

All

Page Last Updated: April 21, 2008