CVE-2024-12856 Four-Faith Industrial Router adjust_sys_time OS Command Injection

High 7.2 Published Updated

Authenticated attackers can execute arbitrary OS commands via system time modification, with default credentials enabling unauthenticated remote code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12856?

CVE-2024-12856 is a high-severity command injection vulnerability in Four-Faith F3x24, published on 27 Dec 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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 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.

Weakness: CWE-78, CWE-1392

Which versions are affected by CVE-2024-12856?

It affects 2 products.

Products include Four-Faith F3x24 Firmware, Four-Faith F3x36 Firmware.

How do I fix CVE-2024-12856?

No fix has been published for CVE-2024-12856 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-12856 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12856 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5qv9-wh8x-pfpm.

Is CVE-2024-12856 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free