MOCODO · CVE-2024-35374 · Package
FIX → 4.2.7
Mocodo's online generator at /web/generate.php does not sanitize the sql_case input, so a remote attacker can inject SQL. The sources say this can lead to command injection and remote code execution under certain conditions.
first public May 24, 2024 · 1 public exploit · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams that run the Mocodo web application (the /web/generate.php endpoint) and expose it to remote users are exposed. Installs that use Mocodo only as a local library or command-line tool without the web endpoint are less likely to be affected; the sources do not say more.
Not affected if no-web-endpoint
Who cares mocodo, python, self-hosted
pip show mocodo and look for versions at or below 4.2.6.Upgrade to 4.2.7
mocodo (PyPI) to 4.2.7.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 SQL commands and potentially command injection, leading to remote code execution (RCE) under certain conditions.
This page as .md ·
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.