CVE-2024-12856
RCE in Four-Faith F3X36 Firmware 2.0
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HCVSS 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
- 🇪🇺 ENISA EUVD: EUVD-2024-51157
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
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V13.2.1V1.2.5V1.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.
Hardened baselines and configuration management explicitly prohibit default credentials on deployed systems.
Credential management processes directly require replacing or disabling default passwords and keys.
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.
Authentication policies can enforce non-default credential strength but do not explicitly address initial deployment defaults.
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.
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.
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.
Security testing and code review target insecure use of operating-system command interfaces, catching command-injection flaws introduced during development.
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.
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.
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.