Skip to content
SQL injection Advisory Intermediate CVE-2024-26164

Microsoft Django Backend for SQL Server Remote Code Execution Vulnerability (CVE-2024-26164)

The Microsoft Django backend for SQL Server passed an unsanitised parameter into a SQL query, allowing SQL injection. An attacker with low privileges could exploit this by using a Microsoft Access application to connect to a remote SQL Server they control.

Federico Martinez Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

How could an attacker exploit the vulnerability? An attacker could use the unsanitized parameter into a SQL query to trigger SQL Injection.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Successful exploitation of this vulnerability simply requires the attacker or targeted user to leverage a Microsoft Access application to automatically talk to a SQL Server while utilizing a remote SQL Server address that they control.

Microsoft Django Backend for SQL Server

Microsoft Django Backend for SQL Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Federico Martinez. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker with low privileges could trigger SQL injection, though the text does not describe the full consequences.

What the attacker needed

Low privileges; Microsoft Access application; remote SQL Server controlled by attacker

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a flaw in a piece of software that lets Django applications talk to Microsoft SQL Server databases. A parameter was put into a database query without being cleaned first, so an attacker could slip in their own database commands. That is called SQL injection, and it can let someone read or change data they should not touch.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.