CVE-2024-35374
Mocodo SQL Injection Remote Code Execution
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.
INFO
Published Date :
May 24, 2024, 9:15 p.m.
Last Modified :
June 10, 2025, 5:24 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2024-35374 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-35374
.
URL | Resource |
---|---|
https://chocapikk.com/posts/2024/mocodo-vulnerabilities/ | Exploit Third Party Advisory |
https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158 | Product |
https://chocapikk.com/posts/2024/mocodo-vulnerabilities/ | Exploit Third Party Advisory |
https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158 | Product |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
List of my CVEs
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-35374
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-35374
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 10, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:mocodo:mocodo_online:*:*:*:*:*:*:*:* versions up to (including) 4.2.6 Added Reference Type CVE: https://chocapikk.com/posts/2024/mocodo-vulnerabilities/ Types: Exploit, Third Party Advisory Added Reference Type MITRE: https://chocapikk.com/posts/2024/mocodo-vulnerabilities/ Types: Exploit, Third Party Advisory Added Reference Type CVE: https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158 Types: Product Added Reference Type MITRE: https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158 Types: Product -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://chocapikk.com/posts/2024/mocodo-vulnerabilities/ Added Reference https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 20, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-77 Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by [email protected]
May. 28, 2024
Action Type Old Value New Value Changed 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 SQL commands and potentially command injection, leading to remote code execution (RCE) under certain conditions. 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. -
CVE Received by [email protected]
May. 24, 2024
Action Type Old Value New Value Added 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 SQL commands and potentially command injection, leading to remote code execution (RCE) under certain conditions. Added Reference MITRE https://github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158 [No types assigned] Added Reference MITRE https://chocapikk.com/posts/2024/mocodo-vulnerabilities/ [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-35374
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-35374
weaknesses.