Cyber Risks · PortSwigger Research

Conditional Match and Replace

Summary: PortSwigger's BApp Store lists Conditional Match and Replace, a Burp Suite extension by Daniel Jensen of CyberCX that runs match and replace operations only when a condition is met against a request or response header, body, or both. Rules execute in a chain, so a later rule whose condition existed only before an earlier replacement will not fire, and both conditions and replacements support regex and literal matching.

Bottom line: The chained execution model means a single earlier rule can silently suppress later rules that depended on the original request content, so a tester relying on stacked rules may believe coverage exists where it does not.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related