Skip to content
RCE Advisory Intermediate CVE-2024-49043

Microsoft.SqlServer.XEvent.Configuration.dll Remote Code Execution Vulnerability (CVE-2024-49043)

A vulnerability existed in a Microsoft SQL Server component, Microsoft.SqlServer.XEvent.Configuration.dll, that allowed arbitrary code execution. An attacker could convince a victim to download and open a specially crafted file, leading to a local attack on their computer.

CHEN QINGYANG Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. For example, when the score indicates that the Attack Vector is Local and User Interaction is Required , this could describe an exploit in which an attacker, through social engineering, convinces a victim to download and open a specially crafted file from a website which leads to a local attack on their computer.

FAQ

I am running SQL Server on my system. What action do I need to take? Update your relevant version of SQL Server. Any applicable driver fixes are included in those updates. I am running my own application on my system. What action do I need to take? Update your application to use Microsoft OLE DB Driver 18 or 19. Update the drivers to the versions listed on this page, which provide protection against this vulnerability. I am running an application from a software vendor on my system. What action do I need to take? Consult with your application vendor if it is compatible with Microsoft OLE DB Driver 18 or 19. Update the drivers to the versions listed in this page, which provide protection against this vulnerability There are GDR and/or CU (Cumulative Update) updates offered for my version of SQL Server. How do I know which update to use? First, determine your SQL Server version number. For more information on determining your SQL Server version number, see Microsoft Knowledge Base Article 321185 - How to determine the version, edition, and update level of SQL Server and its components. Second, in the table below, locate your version number or the version range that your version number falls within. The corresponding update is the one you need to install. Note If your SQL Server version number is not represented in the table below, your SQL Server version is no longer supported. Please upgrade to the latest Service Pack or SQL Server product in order to apply this and future security updates. Update Number Title Apply if current product version is… This security update also includes servicing releases up through… 5046862 Security update for SQL Server 2022 CU15+GDR 16.0.4003.1 - 16.0.4150.1 KB 5046059 - SQL2022 RTM CU15 GDR 5046861 Security update for SQL Server 2022 RTM+GDR 16.0.1000.6 - 16.0.1130.5 KB 5046057 - SQL2022 RTM GDR 5046860 Security update for SQL Server 2019 CU29+GDR 15.0.4003.23 - 15.0.4405.4 KB 5046365 - SQL2019 RTM CU29 5046859 Security update for SQL Server 2019 RTM+GDR 15.0.2000.5 - 15.0.2125.1 KB 5046056 - SQL2019 RTM GDR 5046858 Security update for SQL Server 2017 CU31+GDR 14.0.3006.16 - 14.0.3480.1 KB 5046061 - SQL2017 RTM CU31 GDR 5046857 Security update for SQL Server 2017 RTM+GDR 14.0.1000.169 - 14.0.2065.1 KB 5046058 - SQL2017 RTM GDR 5046856 Security update for SQL 2016 Azure Connect Feature Pack 13.0.7000.253 - 13.0.7045.2 KB 5046062 - SQL2016 Azure Connect Feature Pack GDR 5046855 Security update for SQL Server 2016 SP3 RTM+GDR 13.0.6300.2 - 13.0.6450.1 KB 5046063 - SQL2016 RTM GDR What are the GDR and CU update designations and how do they differ? The General Distribution Release (GDR) and Cumulative Update (CU) designations correspond to the two different servicing options in place for SQL Server baseline releases. A baseline can be either an RTM release or a Service Pack release. GDR updates – cumulatively only contain security updates for the given baseline. CU updates – cumulatively contain all functional fixes and security updates for the given baseline. For any given baseline, either the GDR or CU updates could be options (see below). If SQL Server installation is at a baseline version, you can choose either the GDR or CU update. If SQL Server installation has intentionally only installed past GDR updates, then choose to install the GDR update package. If SQL Server installation has intentionally installed previous CU updates, then chose to install the CU security update package. Note: You are allowed to make a change from GDR updates to CU updates ONE TIME. Once a SQL Server CU update is applied to a SQL Server installation, there is NO way to go back to the GDR update path. Can the security updates be applied to SQL Server instances on Windows Azure (IaaS)? Yes. SQL Server instances on Windows Azure (IaaS) can be offered the security updates through Microsoft Update, or customers can download the security updates from Microsoft Download Center and apply them manually.

SQL Server

SQL Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by CHEN QINGYANG with Topsec Alpha Team. 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

Impact

An attacker could run arbitrary code on a victim's computer, but only if the victim is first persuaded to download and open a crafted file.

What the attacker needed

Victim downloads and opens a crafted file; social engineering of the victim

The fix

It was fixed by installing the relevant SQL Server security update, or by updating applications to use Microsoft OLE DB Driver 18 or 19.

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 flaw in a file that ships with Microsoft SQL Server, a database program. If someone is tricked into opening a malicious file, code hidden in that file can run on their machine. The word 'remote' here only means the attacker is elsewhere; the actual attack happens on the victim's own computer.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by CHEN QINGYANG

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.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.