Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1qNmN2LTk4angtbXJ3cs4AA8jD

Mocodo vulnerable to SQL injection in `/web/generate.php`

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.

Permalink: https://github.com/advisories/GHSA-j6cv-98jx-mrwr
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qNmN2LTk4angtbXJ3cs4AA8jD
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: 6 months ago
Updated: 6 months ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-j6cv-98jx-mrwr, CVE-2024-35374
References: Repository: https://github.com/laowantong/mocodo
Blast Radius: 7.6

Affected Packages

pypi:mocodo
Dependent packages: 0
Dependent repositories: 6
Downloads: 3,411 last month
Affected Version Ranges: <= 4.2.6
Fixed in: 4.2.7
All affected versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.19, 2.0.20, 2.0.21, 2.1.2, 2.1.3, 2.1.4, 2.3.1, 2.3.2, 2.3.3, 2.3.5, 2.3.7, 2.3.8, 2.3.9, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 4.0.0, 4.0.1, 4.0.2, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9, 4.0.10, 4.0.11, 4.0.12, 4.0.13, 4.0.14, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.2.5, 4.2.6
All unaffected versions: 4.2.7, 4.2.8, 4.2.9, 4.2.10, 4.2.11, 4.2.12