CVE-2024-35374
Mocodo Online vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mocodo Online. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mocodo Online runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- chocapikk.com/posts/2024/mocodo-vulnerabilities/ · Exploit
- github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.ph
- nvd.nist.gov/vuln/detail/CVE-2024-35374
- github.com/laowantong/mocodo/commit/f9368df28518b6c4a92fd207c260f1978ec34d6e
- chocapikk.com/posts/2024/mocodo-vulnerabilities
- github.com/advisories/GHSA-j6cv-98jx-mrwr
- github.com/pypa/advisory-database/tree/main/vulns/mocodo/PYSEC-2026-426.yaml
- pypi.org/project/mocodo
- nvd.nist.gov/vuln/detail/CVE-2024-35374
- cve.org/CVERecord?id=CVE-2024-35374
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.