Cyber Posture

CVE-2024-57595

CriticalRCE

Published: 27 January 2025

Published
27 January 2025
Modified
15 April 2026
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0237 85.1th percentile
Risk Priority 21 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-57595 is a critical-severity OS Command Injection (CWE-78) vulnerability in Dlink (inferred from references). Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 14.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly requires validating the wps_pin parameter in POST requests to apc_client_pin.cgi to block OS command injection payloads.

prevent

Restricts wps_pin inputs to valid formats like 8-digit PINs, preventing injection of arbitrary OS commands.

preventrecover

Mandates identification, reporting, and patching of the command injection flaw in DIR-825 REVB firmware version 2.03.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

OS command injection in unauthenticated public CGI endpoint directly enables remote exploitation of public-facing app (T1190) and arbitrary Unix shell command execution (T1059.004).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

DLINK DIR-825 REVB 2.03 devices have an OS command injection vulnerability in the CGl interface apc_client_pin.cgi, which allows remote attackers to execute arbitrary commands via the parameter "wps_pin" passed to the apc_client_pin.cgi binary through a POST request.

Deeper analysisAI

CVE-2024-57595 is an OS command injection vulnerability (CWE-78) affecting D-Link DIR-825 REVB devices running firmware version 2.03. The flaw resides in the CGI interface script apc_client_pin.cgi, where the "wps_pin" parameter in POST requests to the binary is vulnerable to injection. This allows attackers to execute arbitrary operating system commands. The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical), with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating network accessibility without authentication or user interaction.

Remote, unauthenticated attackers can exploit this vulnerability by crafting a malicious POST request to the apc_client_pin.cgi endpoint with a command injected into the wps_pin parameter. Successful exploitation grants full arbitrary command execution on the device, potentially leading to complete compromise, including data theft, persistence, or use as a pivot in further network attacks.

Advisories and additional details are available via the D-Link security bulletin at https://www.dlink.com/en/security-bulletin/ and a GitHub repository documenting the issue at https://github.com/IdaJea/IOT_vuln_1/blob/master/DIR825/wps_pin.md, which may include mitigation guidance or patch information.

Details

CWE(s)

Affected Products

Dlink
inferred from references and description; NVD did not file a CPE for this CVE

CVEs Like This One

CVE-2026-25070Shared CWE-78
CVE-2026-34796Shared CWE-78
CVE-2025-27392Shared CWE-78
CVE-2025-64127Shared CWE-78
CVE-2026-3037Shared CWE-78
CVE-2025-56114Shared CWE-78
CVE-2026-41113Shared CWE-78
CVE-2026-23592Shared CWE-78
CVE-2026-5935Shared CWE-78
CVE-2026-41064Shared CWE-78

References