Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-35374: Mocodo Mocodo Online 4.2.6 and below does not properly sanitize the sql_case input field in /web/generate.php,

69
This week
CRITICAL 9.8REMOTEUPGRADE

CVE-2024-35374 is a critical-severity flaw (CVSS 9.8) affecting mocodo online. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Mocodo Mocodo Online 4.2.6 and below does not properly sanitize the sql_case input field in /web/generate.php, allowing remote attackers to execute arbitrary commands and potentially command injection, leading to remote code execution (RCE) under certain conditions.

Why this priority

  • Critical severity
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance2.8% (top 14%)
CISA exploited listNo
WeaknessCWE-77
Published2024-05-24
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: mocodo

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mocodo mocodo online UPGRADE
Affected: <= 4.2.6
Fixed in: newer than 4.2.6
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy mocodo-online || rpm -q mocodo-online || mocodo-online --version
2. UPGRADE to newer than 4.2.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade mocodo-online
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade mocodo-online
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Python (pip) · mocodo · FIXED · 4.2.7 · vulnerable: <= 4.2.6 · source
pip install --upgrade "mocodo>=4.2.7" pip show mocodo
Fedora 46 · noctalia · FIXED · 5.4.1-1.fc46 · FEDORA-2026-a4755e8ef7 · source
sudo dnf upgrade --advisory=FEDORA-2026-a4755e8ef7
Fedora ELN · efifs · FIXED · 1.13-1.eln159 · FEDORA-2026-3fd0bb7307 · source
sudo dnf upgrade --advisory=FEDORA-2026-3fd0bb7307

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-35374?

mocodo online: upgrade to newer than 4.2.6. Exact commands for each OS are on this page.

Is CVE-2024-35374 being exploited?

CVE-2024-35374 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-35374 affect?

CVE-2024-35374 affects mocodo online. Severity is critical (CVSS 9.8). Mocodo Mocodo Online 4.2.6 and below does not properly sanitize the sql_case input field in /web/generate.php, allowing remote attackers to execute arbitrary commands and potentially command injection, leading to remote code execution (RCE)

How urgent is CVE-2024-35374?

Priority 69/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.