Skip to content
SQL injection Advisory Advanced CVE-2022-23274

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.

Ha Anh Hoang Follow

Originally disclosed on Microsoft

High 8.8 View original

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

The original report as published on the Microsoft Security Response Center, by Ha Anh Hoang with Viettel Cyber Security. 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 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.

More by Ha Anh Hoang

View all

6 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.