<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>CVE-2023-22527 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/cve-2023-22527/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 09 Jan 2024 10:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/cve-2023-22527/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Confluence Pre-Auth RCE via OGNL Injection (CVE-2023-22527)</title><link>https://feed.craftedsignal.io/briefs/2024-01-confluence-cve-2023-22527/</link><pubDate>Tue, 09 Jan 2024 10:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-confluence-cve-2023-22527/</guid><description>Attackers are exploiting CVE-2023-22527, a critical remote code execution vulnerability in Atlassian Confluence Server and Data Center, by sending crafted POST requests to a specific endpoint to inject and execute arbitrary OGNL expressions, potentially leading to complete system compromise.</description><content:encoded><![CDATA[<p>CVE-2023-22527 is a critical remote code execution vulnerability affecting Atlassian Confluence Data Center and Server. This vulnerability allows an unauthenticated attacker to execute arbitrary code on vulnerable instances. The vulnerability stems from a template injection flaw in the &quot;/template/aui/text-inline.vm&quot; endpoint, which allows for OGNL injection via specially crafted POST requests. Successful exploitation grants the attacker complete control over the Confluence server. Publicly available exploit code has increased the risk of widespread exploitation. Defenders should prioritize patching vulnerable systems and implementing detection mechanisms to identify exploitation attempts.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An unauthenticated attacker sends a crafted POST request to the <code>/template/aui/text-inline.vm</code> endpoint on a vulnerable Confluence server.</li>
<li>The POST request contains a malicious OGNL expression within the request body.</li>
<li>The Confluence server processes the request without proper sanitization of the OGNL expression.</li>
<li>The malicious OGNL expression is injected into the Velocity template engine.</li>
<li>The Velocity template engine executes the injected OGNL expression.</li>
<li>The attacker gains arbitrary code execution on the Confluence server.</li>
<li>The attacker leverages code execution to install a webshell for persistent access.</li>
<li>The attacker uses the webshell to perform reconnaissance, move laterally within the network, and potentially exfiltrate sensitive data or deploy ransomware.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2023-22527 allows unauthenticated attackers to achieve remote code execution on affected Confluence servers. This can lead to complete system compromise, data breaches, and lateral movement within the victim's network. Given the widespread use of Confluence in enterprise environments, the impact of this vulnerability is potentially very high, and could affect thousands of organizations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the vendor-supplied patch for CVE-2023-22527 to all Confluence Server and Data Center instances immediately.</li>
<li>Deploy the Sigma rule <code>Confluence Pre-Auth RCE via OGNL Injection CVE-2023-22527</code> to your SIEM to detect exploitation attempts targeting the vulnerable endpoint.</li>
<li>Monitor web server logs for POST requests to <code>/template/aui/text-inline.vm</code> as identified by the URL IOC <code>*/template/aui/text-inline.vm*</code>.</li>
<li>Review and restrict network access to Confluence servers to only authorized users and systems.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>CVE-2023-22527</category><category>confluence</category><category>rce</category><category>ognlinjection</category></item></channel></rss>