Skip to main content

ARP spoofing

Description

It is possible to supersede other MAC addresses in the network because the associated switch lacks protection mechanisms, such as PortSecurity.

Impact

  • Steal sensitive information.
  • Facilitate other attacks such as Denial-of-Service DoS attacks, session hijacking and man-in-the-middle MitM attacks.

Recommendation

Set network controls (PortSecurity) in the affected switches.

Threat

Attacker from the Internet performig a MitM attack.

Expected Remediation Time

⌚ 60 minutes.

Score

Default score using CVSS 3.1. It may change depending on the context of the vulnerability.

Base

  • Attack vector: A
  • Attack complexity: H
  • Privileges required: L
  • User interaction: N
  • Scope: U
  • Confidentiality: H
  • Integrity: H
  • Availability: L

Temporal

  • Exploit code madurity: P
  • Remediation level: W
  • Report confidence: X

Result

  • Vector string: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L/E:P/RL:W/RC:X
  • Score:
    • Base: 6.7
    • Temporal: 6.2
  • Severity:
    • Base: Medium
    • Temporal: Medium

Code Examples

Compliant code

All switches should have the port security enabled

server {
index: "index.html";
listen: "localhost:4446 ssl";
server_name: "localhost";
port {
port-number: "4446";
port-security:enabled;
}
}

Non compliant code

There is a switch with port-security disabled

server {
index: "index.html";
listen: "localhost:4446 ssl";
server_name: "localhost";
port {
port-number: "4446";
port-security: disabled;
}
}

Requirements