Static detection of DoS vulnerabilities in programs that use regular expressions
From MaRDI portal
Abstract: In an algorithmic complexity attack, a malicious party takes advantage of the worst-case behavior of an algorithm to cause denial-of-service. A prominent algorithmic complexity attack is regular expression denial-of-service (ReDoS), in which the attacker exploits a vulnerable regular expression by providing a carefully-crafted input string that triggers worst-case behavior of the matching algorithm. This paper proposes a technique for automatically finding ReDoS vulnerabilities in programs. Specifically, our approach automatically identifies vulnerable regular expressions in the program and determines whether an "evil" input string can be matched against a vulnerable regular expression. We have implemented our proposed approach in a tool called REXPLOITER and found 41 exploitable security vulnerabilities in Java web applications.
Recommendations
- Analyzing catastrophic backtracking behavior in practical regular expression matching
- Automata-based symbolic string analysis for vulnerability detection
- Information Security and Cryptology
- scientific article; zbMATH DE number 2219597
- String Analysis via Automata Manipulation with Logic Circuit Representation
Cites work
- Analyzing catastrophic backtracking behavior in practical regular expression matching
- Analyzing matching time behavior of backtracking regular expression matchers by using ambiguity of NFA
- Automata-based symbolic string analysis for vulnerability detection
- scientific article; zbMATH DE number 1701764 (Why is no real title available?)
- scientific article; zbMATH DE number 2090837 (Why is no real title available?)
- Programming Techniques: Regular expression search algorithm
- The essence of command injection attacks in web applications
Cited in
(4)
This page was built for publication: Static detection of DoS vulnerabilities in programs that use regular expressions
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3303917)