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

Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2025-47172)

SharePoint Server contains an SQL injection flaw that lets an authenticated attacker with at least Site Member permissions run code remotely over the network. The advisory does not explain the injection point or the path from SQL injection to code execution.

Railgun Follow

Originally disclosed on Microsoft

Critical 8.8 View original

Description

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

FAQ

How could an attacker exploit the vulnerability? In a network-based attack, an authenticated attacker, who has a minimum of Site Member permissions (PR:L), could execute code remotely on the SharePoint Server.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Railgun with Kunlun Lab & Zhiniang Peng with HUST. 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 builds SQL queries from user-supplied input without proper neutralisation, and the resulting database access can be leveraged to run code.

Impact

An authenticated attacker with at least Site Member permissions could execute code remotely on the SharePoint Server.

What the attacker needed

Authenticated account; at least Site Member permissions; network access to the server

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.

SharePoint is a Microsoft product for sharing documents and building internal sites. This notice says a logged-in user with modest permissions could send crafted input that the server mishandles, and that this could lead to running their own code on the server. The notice is very short and does not show how.

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