<?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>Semantic MediaWiki - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/semantic-mediawiki/</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>Fri, 18 Sep 2026 19:52:03 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/semantic-mediawiki/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>Unauthenticated Administrative Access in Semantic MediaWiki smwtask API</title><link>https://feed.craftedsignal.io/briefs/2026-09-smwtask-auth-bypass/</link><pubDate>Fri, 18 Sep 2026 19:52:03 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-smwtask-auth-bypass/</guid><description>The Semantic MediaWiki smwtask API module fails to enforce authorization, enabling unauthenticated remote attackers to perform sensitive information disclosure, queue administrative maintenance jobs, and manipulate stored semantic data.</description><content:encoded><![CDATA[<p>Semantic MediaWiki versions 3.0.0 through 7.2.1 contain a critical authorization vulnerability in the <code>smwtask</code> API module. The module implements a <code>needsToken('csrf')</code> check, but because MediaWiki provides a fixed, public CSRF token (<code>+\</code>) to anonymous users, this check fails to prevent unauthenticated access. Consequently, an attacker can invoke administrative tasks that are otherwise restricted to users with the <code>smw-admin</code> right via the <code>Special:SMWAdmin</code> web interface. The vulnerability allows attackers to query internal database statistics, enumerate object IDs, inject arbitrary maintenance jobs (such as fulltext search rebuilds or entity disposal), and force synchronous job execution, leading to both information disclosure and potential data integrity loss.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker sends a request to <code>api.php?action=query&amp;meta=tokens&amp;type=csrf</code> to retrieve the anonymous session CSRF token.</li>
<li>The server responds with the default public token value <code>+\</code>.</li>
<li>Attacker constructs an HTTP POST request to <code>api.php?action=smwtask</code> using the <code>+\</code> token to satisfy the CSRF check.</li>
<li>Attacker calls <code>table-statistics</code> via the <code>task</code> parameter to enumerate internal object-ID spaces and database metrics.</li>
<li>Attacker calls <code>insert-job</code> to enqueue administrative tasks, such as <code>smw.entityIdDisposer</code> or <code>smw.fulltextSearchTableRebuild</code>, targeting specific wiki identifiers.</li>
<li>Attacker calls <code>run-joblist</code> with a serialized parameters object to force synchronous execution of the injected maintenance jobs.</li>
<li>The application executes the requested administrative jobs with the privileges of the system backend, resulting in unauthorized data modification or performance degradation.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows unauthenticated actors to bypass access controls intended for administrators. Observed consequences include unauthorized disclosure of database internal structures and statistics, resource exhaustion via forced synchronous job execution, and the modification or deletion of semantic data entities. The severity of the impact scales with the size of the wiki's semantic store and the criticality of the targeted maintenance operations.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the immediate remediation of affected Semantic MediaWiki instances by upgrading to version 7.3.0 or later. If an immediate upgrade is not feasible, implement a hotfix in the site's <code>LocalSettings.php</code> to unregister the vulnerable API module:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-php" data-lang="php"><span class="line"><span class="cl"><span class="nv">$wgExtensionFunctions</span><span class="p">[]</span> <span class="o">=</span> <span class="k">static</span> <span class="k">function</span> <span class="p">()</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl"> <span class="nx">unset</span><span class="p">(</span> <span class="nv">$GLOBALS</span><span class="p">[</span><span class="s1">&#39;wgAPIModules&#39;</span><span class="p">][</span><span class="s1">&#39;smwtask&#39;</span><span class="p">]</span> <span class="p">);</span>
</span></span><span class="line"><span class="cl"><span class="p">};</span>
</span></span></code></pre></div><p>Deploy detection rules to monitor for anomalous POST requests to the <code>api.php</code> endpoint containing <code>action=smwtask</code> and verify the identity of the requesting user.</p>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>api-security</category><category>broken-access-control</category><category>webserver</category><category>web-security</category><category>xss</category><category>cms</category></item></channel></rss>