{"cve":"CVE-2024-35374","nvd":{"published":"2024-05-24T21:15:59.793","modified":"2026-06-17T07:34:50.340","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-77"],"references":["https://chocapikk.com/posts/2024/mocodo-vulnerabilities/","https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158","https://chocapikk.com/posts/2024/mocodo-vulnerabilities/","https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158"],"products":["mocodo:mocodo_online"],"source":"nvd","synced_at":"2026-10-19T21:50:30.954589733+00:00"},"epss":{"cve":"CVE-2024-35374","score":0.02767,"percentile":0.86307,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j6cv-98jx-mrwr","url":"https://osv.dev/vulnerability/GHSA-j6cv-98jx-mrwr","summary":"Mocodo vulnerable to SQL injection in `/web/generate.php`","modified":"2026-06-29T12:26:13.083506026Z","packages":[{"ecosystem":"PyPI","name":"mocodo","purl":"pkg:pypi/mocodo","ranges":["<4.2.7"],"fixed":["4.2.7"]}]},{"id":"PYSEC-2026-426","url":"https://osv.dev/vulnerability/PYSEC-2026-426","summary":"Mocodo vulnerable to SQL injection in `/web/generate.php`","modified":"2026-07-13T16:15:28.556127462Z","packages":[{"ecosystem":"PyPI","name":"mocodo","purl":"pkg:pypi/mocodo","ranges":["<4.2.7"],"fixed":["4.2.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}