<?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/"><channel><title>Cve-2023-36846 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/cve-2023-36846/</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>Wed, 03 Jan 2024 15:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/cve-2023-36846/feed.xml" rel="self" type="application/rss+xml"/><item><title>Juniper Networks J-Web Remote Code Execution Vulnerability Exploitation</title><link>https://feed.craftedsignal.io/briefs/2024-01-juniper-rce/</link><pubDate>Wed, 03 Jan 2024 15:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-juniper-rce/</guid><description>Exploitation attempts targeting Juniper Networks J-Web interface via the webauth_operation.php endpoint to achieve remote code execution.</description><content:encoded><![CDATA[<p>Juniper Networks devices, specifically those using the J-Web interface, are susceptible to remote code execution vulnerabilities. These vulnerabilities, including CVE-2023-36844, CVE-2023-36845, CVE-2023-36846, and CVE-2023-36847, allow attackers to execute arbitrary code on affected systems. The primary attack vector involves sending malicious requests to the <code>/webauth_operation.php</code> endpoint with manipulated <code>PHPRC</code> parameters. Successful exploitation grants the attacker unauthorized access, potentially leading to data theft, network compromise, and complete system control. Exploitation attempts have been observed targeting vulnerable Juniper SRX and EX series devices. Publicly available exploit code exists, increasing the likelihood of widespread exploitation.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies a vulnerable Juniper Networks device running J-Web.</li>
<li>The attacker crafts a malicious HTTP POST request targeting the <code>/webauth_operation.php</code> endpoint.</li>
<li>The request includes a <code>PHPRC</code> parameter containing PHP code designed to execute commands on the server.</li>
<li>The vulnerable J-Web interface processes the request without proper sanitization.</li>
<li>The attacker's PHP code executes with the privileges of the web server process.</li>
<li>The attacker establishes a reverse shell connection to an external server using <code>nc</code> or <code>bash -i</code>.</li>
<li>The attacker uses the reverse shell to execute commands, enumerate the system, and escalate privileges.</li>
<li>The attacker installs a persistent backdoor, exfiltrates sensitive data, and pivots to other internal systems.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of these vulnerabilities allows attackers to gain complete control over Juniper Networks devices. This can lead to data theft, network outages, and further compromise of internal networks. The vulnerabilities affect a wide range of Juniper SRX and EX series devices, potentially impacting numerous organizations. If successful, attackers can deploy ransomware, steal intellectual property, or disrupt critical network services.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rules provided in this brief to your SIEM to detect exploitation attempts (rules: &quot;Juniper J-Web RCE via webauth_operation.php&quot; and &quot;Juniper J-Web RCE Reverse Shell&quot;).</li>
<li>Inspect web server logs for requests to <code>/webauth_operation.php?PHPRC=*</code> (IOC: <code>url: /webauth_operation.php?PHPRC=*</code>) and investigate any matches.</li>
<li>Monitor for outbound network connections from Juniper devices to unusual or suspicious IP addresses, which may indicate a reverse shell (rule: &quot;Juniper J-Web RCE Reverse Shell&quot;).</li>
<li>Patch CVE-2023-36844, CVE-2023-36845, CVE-2023-36846, and CVE-2023-36847 on all affected Juniper devices immediately.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>juniper</category><category>rce</category><category>cve-2023-36844</category><category>cve-2023-36845</category><category>cve-2023-36846</category><category>cve-2023-36847</category></item></channel></rss>