Latest revision as of 09:19, 28 February 2009

Description

Simple authentication protocols are subject to reflection attacks if a malicious user can use the target machine to impersonate a trusted user.

Consequences

Authentication: The primary result of reflection attacks is successful authentication with a target machine - as an impersonated user.

Exposure period

Design: Protocol design may be employed more intelligently in order to remove the possibility of reflection attacks.

Platform

Languages: Any

Platforms: All

Required resources

Any

Severity

Medium to High

Likelihood of exploit

Medium

Reflection attacks capitalize on mutual authentication schemes in order to trick the target into revealing the secret shared between it and another valid user.

In a basic mutual-authentication scheme, a secret is known to both the valid user and the server; this allows them to authenticate. In order that they may verify this shared secret without sending it plainly over the wire, they utilize a Diffie-Hellman-style scheme in which they each pick a value, then request the hash of that value as keyed by the shared secret.

In a reflection attack, the attacker claims to be a valid user and requests the hash of a random value from the server. When the server returns this value and requests its own value to be hashed, the attacker opens another connection to the server. This time, the hash requested by the attacker is the value which the server requested in the first connection. When the server returns this hashed value, it is used in the first connection, authenticating the attacker successfully as the impersonated valid user.