Security Resilience

CVE-2024-12856

RCE in Four-Faith F3X36 Firmware 2.0

Public PoCHigh EPSSRCECommand Injection
Published
27 December 2024
Modified
25 September 2025
CVSS Score v3.1 7.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.84 99.7th percentile
Risk Priority 79 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-12856 is a high-severity OS Command Injection (CWE-78) vulnerability in Four-Faith F3X36 Firmware. Its CVSS base score is 7.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 0.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to CM-6 (Configuration Settings) and IA-5 (Authenticator Management) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-12856 affects Four-Faith F3x24 and F3x36 router models running firmware version 2.0. The flaw is an OS command injection vulnerability (CWE-78) that occurs when an authenticated user modifies the system time through the apply.cgi endpoint over HTTP. The same firmware ships with default credentials (CWE-1392), which can convert the issue into unauthenticated remote command execution if left unchanged. The vulnerability carries a CVSS 3.1 score of 7.2.

An attacker with valid administrative credentials on an exposed management interface can supply crafted input to the system-time parameter and execute arbitrary operating-system commands. When default credentials remain in place, the same actions become possible without authentication, granting full control over the affected device.

Public references from VulnCheck describe the issue and note the combination of command injection and unchanged defaults as the primary risk factors. No vendor-supplied patches or official mitigation steps are detailed in the available references.

The EPSS score has remained at its peak value of 0.7731 since disclosure, indicating sustained but not newly emerging exploitation interest.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

The Four-Faith router models F3x24 and F3x36 are affected by an operating system (OS) command injection vulnerability. At least firmware version 2.0 allows authenticated and remote attackers to execute arbitrary OS commands over HTTP when modifying the system time via…

more

apply.cgi. Additionally, this firmware version has default credentials which, if not changed, would effectively change this vulnerability into an unauthenticated and remote OS command execution issue.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1021 Remote Services Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1021.005 VNC Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.001 Default Accounts Stealth
Adversaries may obtain and abuse credentials of a default account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.003 Local Accounts Stealth
Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2017-6320Shared CWE-78
CVE-2025-10242Shared CWE-78
CVE-2026-68519Shared CWE-78
CVE-2026-9044Shared CWE-78
CVE-2020-37027Shared CWE-78
CVE-2025-47901Shared CWE-78
CVE-2026-16844Shared CWE-78
CVE-2025-8636Shared CWE-78
CVE-2021-28958Shared CWE-78
CVE-2023-46157Shared CWE-78

Affected Assets

four-faith
f3x36 firmware
2.0
four-faith
f3x24 firmware
2.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V13.2.1
  • V1.2.5
  • V1.2.8

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Secure configuration settings establish baselines that prohibit default credentials on system components.

Authenticator management requires verification of identity and secure distribution of initial authenticators, directly stopping default credentials from being left in place.

Vulnerability scanning can discover default credentials after deployment but does not stop their introduction.

Developer testing and evaluation can discover missing or incorrect command sanitization during development.

Input validation directly neutralizes or rejects special characters that would otherwise alter OS command structure.

Account management processes include assignment and control of initial account credentials, reducing the chance defaults remain active.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-01 full match
blocks

Hardened baselines and configuration management explicitly prohibit default credentials on deployed systems.

PR.AA-01 mostly match
blocks

Credential management processes directly require replacing or disabling default passwords and keys.

PR.PS-06 mostly match
blocks

PR.PS-06's SDLC practices directly require secure coding and input handling that blocks command-injection defects, yet the single broad outcome leaves many specific neutralization vectors and verification gaps unaddressed.

PR.AA-03 partial match
blocks

Authentication policies can enforce non-default credential strength but do not explicitly address initial deployment defaults.

PR.PS-02 partial match
blocks

Routine patching/maintenance can remediate known command-injection CVEs in dependencies (partial forward) but does nothing to stop developers from introducing improper neutralization in custom code (none reverse).

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

removes

A.5.17 item (e) mandates that default authentication information be changed immediately following installation, so applying the clause to a system where it was previously absent removes the default credentials that constitute CWE-1392.

removes

A.8.9 item (f) explicitly requires changing vendor default authentication information immediately after installation, so applying the clause to a system where it was previously absent removes the default credentials that constitute CWE-1392.

finds

Security testing and code review target insecure use of operating-system command interfaces, catching command-injection flaws introduced during development.

finds

A.5.21's monitoring process (item f) explicitly names penetration testing and validation of third-party attestations as methods for validating delivered ICT products, and these are standard routes for finding default credentials in third-party products; however, the reach is bounded to products that go through this validation, the validation is typically sample-based rather than comprehensive, and the control is a process/contractual layer that requires and supervises the testing rather than performing continuous discovery itself, leaving a nameable remainder of products and authentication surfaces outside its validation scope.

prevents

Training helps developers understand the risks of unsafe OS command construction and the need for input neutralization, but general awareness training is fallible and less directly applicable than dedicated secure coding practice (A.8.28, graded `partial` against XSS); most OS command injection instances arise from implementation mistakes that awareness alone does not prevent.

blocks

Network segregation with gateway controls can block external attackers from reaching the authentication interface of a system that still has default credentials, masking the weakness along that path; the weakness remains fully exploitable from inside the trusted network, via lateral movement, or through any other path the segregation does not close, which is a nameable remainder.

References