GitHub Advisoryadvisory · PyPI

GHSA-j6cv-98jx-mrwr Mocodo vulnerable to SQL injection in `/web/generate.php`

CRITICAL Published 2024-05-28 Modified 2024-05-28 Official page ↗
Aliases
CVE-2024-35374
Ecosystem
PyPI
Packages
mocodo
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2024-05-28

Affected packages

• PyPI mocodo: < 4.2.7 → fixed in 4.2.7

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.

Related

Alias · CVE (1)

  • CVE-2024-35374 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… vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References