Microsoft Dynamics GP Remote Code Execution Vulnerability (CVE-2022-23274)
An authenticated user could send a specially crafted SQL request to a Dynamics GP Web Service and achieve remote code execution. Successful exploitation could let an attacker take control of the server and affect data availability.
Originally disclosed on Microsoft
FAQ
How could an attacker exploit this vulnerability? An authenticated user could send a specially crafted SQL request to a Dynamics GP Web Service and perform remote code execution.
FAQ
According to the CVSS metric, successful exploitation of this vulnerability could lead to total loss of availability (A:H)? What does that mean for this vulnerability? An attacker could impact availability of the data by assuming control of the server through remote code execution.
Microsoft Dynamics GP
Microsoft Dynamics GP
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 web service passed user-supplied SQL to the database without proper validation or parameterisation, allowing injected statements to execute.
Impact
An attacker could assume control of the server through remote code execution, causing a total loss of availability of the data.
What the attacker needed
Authenticated Dynamics GP user; access to a Dynamics GP Web Service
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 short advisory about a flaw in Microsoft Dynamics GP, a business accounting product. A logged-in user could send a malformed database query to one of its web services and make the server run their code. That means they could take over the machine rather than just read data.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.