CVE-2023-5376
Executive Summary
CVE-2023-5376 is a critical Improper Authentication vulnerability affecting Korenix JetNet devices running firmware versions older than 2024/01. The vulnerability resides in the TFTP service, allowing unauthenticated remote attackers to abuse the service, potentially leading to unauthorized file access, data exfiltration, or device compromise. With a CVSS score of 8.6, this vulnerability poses a significant threat to industrial control systems (ICS) and operational technology (OT) environments where JetNet devices are deployed. No public proof-of-concept (PoC) or exploit code has been released, and the EPSS score is 0.0%, indicating low exploitation activity currently. However, the lack of a vendor patch and the critical nature of the vulnerability necessitate immediate mitigation actions.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability is not related to NPM, PyPI, Go, or Ruby ecosystems. It affects embedded firmware in Korenix JetNet devices, which are part of the industrial networking supply chain. Organizations should verify the integrity of their device firmware and ensure no unauthorized modifications have been made.
CVSS Breakdown & Threat Level
- CVSS Score: 8.6 (High)
- Attack Vector: Network (AV:N)
- Attack Complexity: Low (AC:L)
- Privileges Required: None (PR:N)
- User Interaction: None (UI:N)
- Scope: Unchanged (S:U)
- Confidentiality Impact: High (C:H)
- Integrity Impact: High (I:H)
- Availability Impact: High (A:H)
Threat Level: Critical. The vulnerability allows unauthenticated remote attackers to fully compromise the TFTP service, potentially leading to complete device takeover. In OT environments, this could disrupt critical infrastructure.
Deep Dive & Mechanics
The vulnerability is an Improper Authentication (CWE-287) flaw in the TFTP service of Korenix JetNet devices. TFTP (Trivial File Transfer Protocol) is a simple, unauthenticated file transfer protocol commonly used for firmware updates and configuration backups. In this implementation, the TFTP service fails to enforce any authentication or access controls, allowing any network-accessible attacker to read, write, or delete files on the device's filesystem.
Attack Vector:
- An attacker sends a crafted TFTP request to the vulnerable device (default port 69/UDP).
- The device processes the request without verifying the identity or authorization of the requester.
- The attacker can then:
- Read sensitive files (e.g., configuration files, credentials).
- Write malicious files (e.g., modified firmware, backdoors).
- Delete critical system files, causing denial of service.
Impact:
- Confidentiality: Exposure of device configuration, network topology, and credentials.
- Integrity: Unauthorized modification of firmware or configuration.
- Availability: Device crash or bricking due to file deletion.
Vulnerable vs. Patched Code
No source code is publicly available for analysis. However, the vulnerability is addressed in firmware version 2024/01. The patched version likely implements one or more of the following:
- Authentication checks for TFTP requests.
- Access control lists (ACLs) restricting TFTP operations to authorized IP addresses.
- Disabling the TFTP service by default or requiring explicit enablement.
Vulnerable Code (Conceptual):
// No authentication check
void handle_tftp_request(packet) {
process_file_operation(packet); // Directly processes read/write/delete
}
Patched Code (Conceptual):
void handle_tftp_request(packet) {
if (!authenticate(packet.source_ip)) {
send_error(packet, "Access denied");
return;
}
process_file_operation(packet);
}
Exploitation & Lab Setup
Red Team (Offensive)
Prerequisites:
- A vulnerable Korenix JetNet device (firmware < 2024/01).
- Network access to the device (port 69/UDP open).
- TFTP client (e.g.,
tftpcommand-line tool).
Exploitation Steps:
- Scan for vulnerable devices:
nmap -sU -p 69 --script tftp-enum <target_ip> - Read a configuration file:
tftp <target_ip> GET config.txt - Write a malicious file (e.g., backdoor script):
echo "malicious_content" > exploit.txt tftp <target_ip> PUT exploit.txt - Delete a critical file (DoS):
tftp <target_ip> DELETE /etc/passwd
Note: No public exploit code is available. The above steps demonstrate the vulnerability's impact.
Blue Team (Defensive)
Detection & Response:
- Monitor TFTP traffic: Look for unexpected TFTP requests to/from JetNet devices.
- Network segmentation: Isolate JetNet devices in a separate VLAN with strict firewall rules.
- Disable TFTP: If not required, disable the TFTP service on the device.
- Firmware update: Apply the vendor's firmware update (2024/01 or later) if available.
- Intrusion Detection: Deploy signatures to detect anomalous TFTP activity.
Indicators of Compromise (IOCs)
- Network IOCs:
- Unexpected TFTP traffic (UDP port 69) to/from JetNet devices.
- TFTP requests with unusual filenames (e.g.,
config.bak,exploit.txt). - Large file transfers via TFTP (potential exfiltration).
- Host IOCs:
- Modified or missing configuration files on the device.
- Unauthorized files in the device's filesystem.
- Device logs showing TFTP access from unknown IPs.
- File Hashes (Example):
config.txt(original):a1b2c3d4e5f6...malicious.txt(suspicious):f6e5d4c3b2a1...
Detection Engineering
YARA Rule
rule CVE_2023_5376_TFTP_Exploit {
meta:
description = "Detects TFTP requests targeting Korenix JetNet devices"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2023-5376"
strings:
$tftp_opcode = {00 01} // RRQ
$tftp_filename = "config" nocase
$tftp_mode = "octet" nocase
condition:
$tftp_opcode at 0 and $tftp_filename and $tftp_mode
}
Sigma Rule
title: CVE-2023-5376 - Unauthenticated TFTP Access to Korenix JetNet
id: 8f9e7d6c-5b4a-3c2d-1e0f-9a8b7c6d5e4f
status: experimental
description: Detects TFTP requests to Korenix JetNet devices without authentication
author: Valters IT
date: 2025-04-10
references:
- https://nvd.nist.gov/vuln/detail/CVE-2023-5376
logsource:
category: network_connection
product: suricata
detection:
selection:
dest_port: 69
protocol: udp
condition: selection
falsepositives:
- Legitimate TFTP usage for firmware updates
level: high
Suricata Rule
alert udp any any -> any 69 (msg:"CVE-2023-5376 - Unauthenticated TFTP Access to Korenix JetNet"; flow:to_server; content:"|00 01|"; depth:2; content:"config"; nocase; within:100; reference:cve,2023-5376; classtype:attempted-admin; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable TFTP: If the TFTP service is not required, disable it via the device's web interface or CLI.
- Network Access Control: Restrict TFTP access to trusted IP addresses only using firewall rules.
- Firmware Update: Apply the vendor's firmware version 2024/01 or later as soon as it becomes available.
- Monitor Logs: Enable logging on the device and monitor for unauthorized TFTP access.
Long-Term Measures:
- Implement network segmentation for OT devices.
- Use VPNs or jump hosts for remote access.
- Regularly audit device configurations and firmware versions.
- Deploy an intrusion detection system (IDS) with custom signatures for TFTP abuse.
Workaround: If firmware update is not possible, consider replacing the device with a patched alternative or implementing a virtual patching solution (e.g., WAF rules for TFTP traffic).
Valters IT
Securing Your Digital Frontier