Microsoft Dynamics 365 On-Premises Remote Code Execution Vulnerability (CVE-2022-23259)
An authenticated user could run a specially crafted trusted solution package to execute arbitrary SQL commands, escalating to db_owner within their Dynamics CRM database. This could lead to remote code execution on the on-premises system.
Originally disclosed on Microsoft
FAQ
How could an attacker exploit this vulnerability? An authenticated user could run a specially crafted trusted solution package to execute arbitrary SQL commands. From there the attacker could escalate and execute commands as db_owner within their Dynamics CRM database.
Microsoft Dynamics
Microsoft Dynamics
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 insufficient validation of trusted solution packages, allowing an authenticated user to execute arbitrary SQL commands.
Impact
An authenticated attacker could execute arbitrary SQL commands and escalate to db_owner within their Dynamics CRM database, potentially leading to remote code execution.
What the attacker needed
Authenticated user; on-premises Dynamics 365
The fix
Microsoft released a security update; customers should apply it.
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 security flaw in Microsoft Dynamics 365, a business software. A logged-in user could upload a malicious package that lets them run database commands, potentially taking control of the server. The vendor fixed it, so users should update.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.