Skip to content
RCE Write-up Advanced

Exploiting ASP.NET TemplateParser — Part I: Sitecore (CVE-2023-35813)

Sitecore (CVE-2023-35813) is vulnerable to remote code execution through ASP.NET TemplateParser, as demonstrated in the report.

Markus Wulftange Follow

Published on code-white.com

The TemplateParser is fundamental in ASP.NET Web Forms. It is used for parsing different ASP.NET source files such as .aspx and for parsing other input from various sources, including user provided data.

Markus Wulftange (@mwulftange), on code-white.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

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 write-up has not been written yet. The Original tab links to the source.

ASP.NET Web Forms uses TemplateParser to parse markup like .aspx files and other input, including user-provided data. The report shows this can be exploited for remote code execution in Sitecore.

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 Markus Wulftange

View all

25 more disclosed reports, best first.

More from Sitecore

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.