The Seven Turrets of Babel: A Taxonomy of LangSec Errors and How to Expunge Them
Authors:
- Falcon MomotFMFalcon Momot
- Sergey BratusSBSergey Bratus
- Sven M. HallbergSHSven M. Hallberg
- Meredith L. PattersonMPMeredith L. Patterson
- 1 November 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 45-52
Abstract
Input-handling bugs share two common patterns: insufficient recognition, where input-checking logic is unfit to validate a program's assumptions about inputs, %leading to the code acting on invalid inputs, and parser differentials, wherein two or more components of a system fail to interpret input equivalently. We argue that these patterns are artifacts of avoidable weaknesses in the development process and explore these patterns both in general and via recent CVE instances. We break ground on defining the input-handling code weaknesses that should be actionable findings and propose a refactoring of existing CWEs to accommodate them. We propose a set of new CWEs to name such weaknesses that will help code auditors and penetration testers precisely express their findings of likely vulnerable code structures.Keywords
This publication has 15 references indexed in Scilit:
- Nom, A Byte oriented, streaming, Zero copy, Parser Combinators Library in Rust2015
- Input Validation Vulnerabilities in Web ApplicationsJournal of Software Engineering, 2014
- The Robustness Principle ReconsideredQueue, 2011
- Packrat parsing:2002
- The equivalence problem for deterministic pushdown automata is decidable1997
- Types are not sets1973
- On the equivalence and containment problems for context-free languagesTheory of Computing Systems, 1969
- On the translation of languages from left to rightInformation and Control, 1965
- Classes of languages and linear-bounded automataInformation and Control, 1964
- Classes of recursively enumerable sets and their decision problemsTransactions of the American Mathematical Society, 1953