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 performing a MitM attack.

Expected Remediation Time

⌚ 60 minutes.

Score

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

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

Score 4.0

Default score using CVSS 4.0 . It may change depending on the context of the src.

Base 4.0

  • Attack vector: A
  • Attack complexity: H
  • Attack Requirements: N
  • Privileges required: L
  • User interaction: N
  • Confidentiality (VC): H
  • Integrity (VI): H
  • Availability (VA): L
  • Confidentiality (SC): N
  • Integrity (SI): N
  • Availability (SA): N

Threat 4.0

  • Exploit madurity: P

Result 4.0

  • Vector string: CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:P
  • Score:
    • CVSS-BT: 6.6
  • Severity:
    • CVSS-BT: Medium

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

Fixes

free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.