Skip to main content

Duplicate Headers

ItemDescription
Full Fuzzer NameDuplicateHeadersFuzzer
Log KeyDH
DescriptionThis fuzzer will send duplicate headers. Even though the HTTP protocol allows duplicate headers, the expectation is that APIs will reject the request as invalid, in order to prevent unwanted behaviour.
Enabled by default?Yes
Target header typesAll
Expected result when fuzzed header is required4XX
Expected result when fuzzed header is optional4XX
Fuzzing logicIteratively duplicates each HTTP header. If the current path and HTTP method does not a header defined, CATS will generate a header named Cats-Fuzzy-Header and duplicate it.
Conditions when this fuzzer will be skippedNone
HTTP methods that will be skippedNone
ReportingReports error if: 1. response code is 404; 2. response code is documented, but not expected; 3. any unexpected exception.

Reports warn if: 1. response code is expected and documented, but not matches response schema; 2. response code is expected, but not documented; 3. response code is 501.

Reports success if: 1. response code is expected, documented and matches response schema.