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.
Originally disclosed on Microsoft
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
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.