PyMySQL < 1.1.1 - SQL Injection via Unescaped JSON Keys
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-36039. PoCs published by zenniskayy2k4.
AI-analyzed exploit summary This repository contains a functional Proof of Concept (PoC) for CVE-2024-36039, demonstrating how an object injection vulnerability in PyMySQL (versions <= 1.1.0) can be escalated to SQL Injection using MariaDB's ODBC escape sequences. The PoC includes a Dockerized environment with a Flask application and MariaDB database to reproduce the vulnerability.
Description
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
Exploits (1)
This repository contains a functional Proof of Concept (PoC) for CVE-2024-36039, demonstrating how an object injection vulnerability in PyMySQL (versions <= 1.1.0) can be escalated to SQL Injection using MariaDB's ODBC escape sequences. The PoC includes a Dockerized environment with a Flask application and MariaDB database to reproduce the vulnerability.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L