Question 140
A rogue gateway intercepts and changes HTTP requests between a user and internal app. Which attack pattern or security indicator BEST accounts for these observations?
Explanation
Correct Answer
A rogue gateway positions itself between a user and an internal application and changes HTTP requests during transit. This is an on-path modification attack: the intermediary can inspect or alter data flowing between endpoints when communication integrity protections are absent or bypassed. The defining fact is modification of live traffic by the middle system, not simply malicious DNS resolution or credential reuse. End-to-end authenticated encryption and verified network paths reduce this exposure. The scenario does not establish that a protocol downgrade was needed or occurred.
Incorrect Answers
A protocol downgrade attack coerces endpoints into using an older or weaker protocol or cipher than they otherwise could negotiate. The rogue gateway here intercepts and modifies HTTP requests, but the question does not say any transport negotiation or encryption version was forced down. A downgrade can be performed by an on-path attacker, yet it is a narrower behavior that needs specific negotiation evidence. The demonstrated activity is interception and alteration of application traffic.
DNS cache poisoning changes the IP address a resolver returns for a hostname, potentially sending users to an attacker-controlled endpoint. This case specifies a rogue gateway that directly intercepts and changes HTTP requests between a user and internal application. No DNS record or name-resolution answer has been manipulated. Both might facilitate redirection, but the relevant security boundary here is in-transit request integrity at the gateway rather than the resolver cache.
Credential replay reuses captured passwords, tokens, or session artifacts to authenticate without obtaining the legitimate user's secret again. The rogue gateway is observed changing HTTP requests while they travel between endpoints, not presenting a stolen session token to impersonate a user. A gateway could potentially steal credentials, but the question does not say that happened. Selecting replay would invent a later authentication step and miss the actual tampering technique.