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

Microsoft Configuration Manager Remote Code Execution Vulnerability (CVE-2025-47178)

Microsoft Configuration Manager contains an SQL injection flaw in a user permission check, allowing an authenticated attacker to run arbitrary SQL queries as the SMS service with sysadmin privileges. Because the injection occurs during a permission check, even read-only RBAC users can exploit it to execute code over an adjacent network.

Mehdi Elyassa Follow

Originally disclosed on Microsoft

High 8.0 View original

Description

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

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.

FAQ

How could an attacker exploit this vulnerability? An authenticated attacker can run arbitrary SQL queries as the SMS service (with sysadmin privileges). Since the injection happens during a user permission check, even users with read-only RBAC roles can exploit it. Any local SMS Admins group member on the SMS Provider host can also take advantage of this vulnerability.

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 application concatenated user-controlled input into an SQL query during a permission check instead of using parameterised queries.

Impact

An authenticated attacker, including one with only read-only RBAC roles, could run arbitrary SQL as the SMS service and execute code over an adjacent network.

What the attacker needed

Authenticated access to Configuration Manager; 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.

Configuration Manager is Microsoft software that organisations use to manage their computers. A database query was built in a way that let a logged-in user slip in extra database commands of their own. Those commands ran with very high database rights, so the attacker could take control 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.