Skip to content
← All questions

What vulnerability exists in unauthenticated public key distribution?

The vulnerability is that an attacker can forge a public announcement, substituting their own public key for a legitimate user's key. This allows the attacker to intercept and decrypt messages intended for the legitimate user, a scenario known as a man-in-the-middle attack.

Conditions

  • Public keys are distributed without authentication mechanisms like certificates.
  • An attacker can intercept and modify communications.

Reasoning, step by step

  1. An attacker pretends to be a legitimate user (e.g., Bob).
  2. The attacker sends their own public key to the victim (e.g., Alice), claiming it is Bob's.
  3. Alice encrypts a message using the attacker's public key.
  4. The attacker intercepts the message and decrypts it with their private key, reading the confidential information.

Example

The narrator explains that an attacker could pretend to be Bob and send a fake public key to Alice. When Alice encrypts a message using this forged key, the attacker can intercept and read it.

Common misconceptions

  • Assuming that because a key is 'public', it is inherently secure or trustworthy.
  • Thinking that public key encryption alone prevents interception; it prevents eavesdropping only if the key is authentic.

Watch the explanation

Connected concepts

Explore next

Related questions

Meet the concept

↗
Find a method

↗
Meet the concept

↗
Find a method

↗
Understand why

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.