Skip to content
SQL injection Advisory Advanced CVE-2025-59213

Configuration Manager Elevation of Privilege Vulnerability (CVE-2025-59213)

Microsoft Configuration Manager contains an SQL injection flaw in the DuplicateAMTMachineRecord method. An attacker on an adjacent network could exploit it to gain Configuration Manager administrator privileges.

Mehdi Elyassa Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Improper neutralization of special elements used in an sql command ('sql injection') in Microsoft Configuration Manager allows an unauthorized attacker to elevate privileges over an adjacent network.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An authorized attacker who successfully exploited this vulnerability could gain configuration manager administrator privileges.

FAQ

How could an attacker exploit this vulnerability? An attacker could exploit this vulnerability by injecting malicious SQL into the DuplicateAMTMachineRecord method.

Microsoft Configuration Manager

Microsoft Configuration Manager

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Mehdi Elyassa with Synacktiv. 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

Root cause

Likely the DuplicateAMTMachineRecord method builds SQL queries by concatenating unvalidated input instead of using parameterised queries.

Impact

An attacker on an adjacent network could gain Configuration Manager administrator privileges.

What the attacker needed

Adjacent network access

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.

SQL injection is when user input is placed into a database query without being properly separated from the query's instructions, so an attacker can add their own database commands. Here, a specific method in Microsoft Configuration Manager builds a database query unsafely, and someone on the same network could use it to become an administrator of the management system.

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 by Mehdi Elyassa

View all

4 more disclosed reports, best first.

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.