<?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>Cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3amediawikimediawiki/</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>Sun, 06 Sep 2026 22:54:20 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3amediawikimediawiki/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>MediaWiki Remote Code Execution via PHP Deserialization</title><link>https://feed.craftedsignal.io/briefs/2026-09-mediawiki-rce/</link><pubDate>Sun, 06 Sep 2026 22:54:20 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-mediawiki-rce/</guid><description>MediaWiki is vulnerable to remote code execution (CVE-2026-58025) via insecure PHP deserialization within the LogEntryBase::extractParams method, allowing authenticated sysop users to execute arbitrary code through malicious XML imports.</description><content:encoded><![CDATA[<p>CVE-2026-58025 is a critical deserialization vulnerability in MediaWiki affecting versions prior to 1.43.9, 1.44.6, 1.45.4, and 1.46.0. The vulnerability resides in the <code>LogEntryBase::extractParams()</code> method, which improperly calls PHP's <code>unserialize()</code> function on user-controlled <code>log_params</code> data without implementing class restrictions. An attacker possessing 'import' or 'importupload' privileges (typically members of the 'sysop' group) can supply a crafted XML file containing serialized PHP objects via the <code>Special:Import</code> interface. When MediaWiki processes these log items, it triggers the instantiation of malicious objects, enabling a gadget chain that leads to remote code execution. This issue, tracked under Phabricator T422244, also necessitated a fix for a related information disclosure/injection vulnerability, CVE-2026-58037, regarding raw HTML parameter formatting in log entries. Organizations should immediately update to the patched versions released by the Wikimedia Foundation.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker authenticates to a MediaWiki instance with an account holding 'import' or 'importupload' privileges.</li>
<li>Attacker generates a malicious XML export file containing a crafted <code>&lt;params&gt;</code> field within a <code>&lt;logitem&gt;</code> element.</li>
<li>The <code>&lt;params&gt;</code> field contains a serialized PHP object payload designed to trigger a known gadget chain.</li>
<li>Attacker uploads the malicious XML file via the <code>Special:Import</code> endpoint (POST <code>/wiki/Special:Import</code>).</li>
<li>MediaWiki <code>WikiImporter</code> processes the XML and stores the malicious <code>log_params</code> payload into the database via <code>WikiRevision::importLogItem</code>.</li>
<li>Subsequent access to the log entry (e.g., via <code>RecentChange::parseParams</code> or database log reading) triggers <code>LogEntryBase::extractParams</code>.</li>
<li>The application executes <code>unserialize()</code> on the malicious blob without class validation.</li>
<li>PHP instantiates the malicious object, executing the gadget chain and achieving remote code execution as the web server user.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for full remote code execution on the underlying server, granting attackers the ability to compromise the MediaWiki application, access sensitive database content, or pivot further into the internal network. Given the high privileges required for the attack (sysop access), the vulnerability provides an escalation path for already-authenticated administrative users to take complete control of the web server.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize patching MediaWiki instances to versions 1.43.9, 1.44.6, 1.45.4, or 1.46.0 immediately. If patching is not immediately feasible, restrict access to <code>Special:Import</code> or revoke 'import' and 'importupload' permissions from non-essential accounts. Enable rigorous monitoring of web server logs for POST requests to <code>Special:Import</code> from non-administrative or anomalous user sessions.</p>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>remote-code-execution</category><category>deserialization</category><category>mediawiki</category></item></channel></rss>