Skip to content
Access control Write-up Advanced

Bypass IIS Authorisation with this One Weird Trick - Three RCEs and Two Auth Bypasses in Sitecore 9.3

The report describes multiple vulnerabilities in Sitecore 9.3, including an IIS authorisation bypass via Server.Execute that allowed reading files like Web.config, leading to RCE through Telerik deserialisation, and an unsafe reflection endpoint allowing authenticated users to execute arbitrary methods. An attacker could chain these to achieve remote code execution.

Dylan Pindur Follow

Published on blog.assetnote.io

It’s time to look at Sitecore again! In 2021 our security research team took a look at Sitecore and found some nice vulnerabilities.

Dylan Pindur, on blog.assetnote.io

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.

How it worked

Impact

An attacker could read sensitive files and, by chaining with other vulnerabilities, achieve remote code execution, though some limitations like MIME type restrictions applied.

What the attacker needed

Network access to the Sitecore instance; knowledge of the vulnerable endpoints; for RCE, leaked encryption keys from Web.config

How it was found

  1. Enumerate .asp, .aspx, .ashx, .asmx files and try accessing them without authentication.
  2. Inspect Web.config and App_Config files to find handler mappings and controller routes.
  3. Use dnSpy to decompile DLLs and identify the SimulatorController with a Preview action that calls Server.Execute.
  4. Send a request to the Preview action with a previewPath pointing to a sensitive file like the license file.
  5. Brute-force the timestamped configuration backup zip files to obtain Web.config.
  6. Use the leaked Telerik encryption keys to exploit CVE-2019-18935 and achieve remote code execution.

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.

This report is about a content management system called Sitecore. The researchers found a way to make the web server run files it normally wouldn't, like configuration files that contain secrets. With those secrets, they could then run their own code on the server, taking full control.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Dylan Pindur

View all

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

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.