<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Paul Pfeister</title><link>https://pfeister.dev/posts/</link><description>Recent content in Posts on Paul Pfeister</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 02 Oct 2024 21:30:00 -0400</lastBuildDate><atom:link href="https://pfeister.dev/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2024-51492 :: Zusam</title><link>https://pfeister.dev/posts/2024/cve-2024-51492/</link><pubDate>Wed, 02 Oct 2024 21:30:00 -0400</pubDate><guid>https://pfeister.dev/posts/2024/cve-2024-51492/</guid><description>Upstream : https://github.com/zusam/zusam
GitHub Security Advisory : GHSA-96fx-5rqv-jfxh
CISA NVD Reference : CVE-2024-51492
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L &amp;mdash; Base Score 8.8 (High)
Affected versions : &amp;lt;= 0.5.5
Product brief Zusam (/tsuˈzam/) is a free and open-source way to self-host private forums for groups of friends. Composed of a server written in PHP exposing a REST API and a lightweight webapp, Zusam is extensible and easy to install. The goal is to make a stable, extensible, lightweight and user-friendly way to self-host private social groups.</description><content type="html"><![CDATA[<!-- raw HTML omitted -->
<hr>
<p>Upstream : <a href="https://github.com/zusam/zusam">https://github.com/zusam/zusam</a><br>
GitHub Security Advisory : <a href="https://github.com/zusam/zusam/security/advisories/GHSA-96fx-5rqv-jfxh">GHSA-96fx-5rqv-jfxh</a><br>
CISA NVD Reference : <a href="https://nvd.nist.gov/vuln/detail/CVE-2024-51492">CVE-2024-51492</a><br>
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L &mdash; Base Score 8.8 (High)<br>
Affected versions : &lt;= 0.5.5</p>
<hr>
<h3 id="product-brief">Product brief</h3>
<p>Zusam (/tsuˈzam/) is a free and open-source way to self-host private forums for groups of friends. Composed of a server written in PHP exposing a REST API and a lightweight webapp, Zusam is extensible and easy to install.
The goal is to make a stable, extensible, lightweight and user-friendly way to self-host private social groups.</p>
<hr>
<h3 id="vulnerability-summary">Vulnerability Summary</h3>
<p>Specially crafted SVG files uploaded to the service as images allow for unrestricted script execution on (raw) image load. With certain payloads, theft of the target user&rsquo;s long-lived session token is possible.</p>
<p>Note that Zusam, at the time of writing, uses a user&rsquo;s static API key as a long-lived session token, and these terms can be used interchangeably on the platform. This session token/API key remains valid indefinitely, so long as the user doesn&rsquo;t expressly request a new one via their Settings page.</p>
<hr>
<h3 id="basic-proof-of-concept">Basic Proof of Concept</h3>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-svg" data-lang="svg"><span style="display:flex;"><span><span style="color:#75715e">&lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&gt;</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">&lt;svg</span> <span style="color:#a6e22e">xmlns=</span><span style="color:#e6db74">&#34;http://www.w3.org/2000/svg&#34;</span> <span style="color:#a6e22e">onload=</span><span style="color:#e6db74">&#34;alert(localStorage.getItem(&#39;apiKey&#39;));&#34;</span><span style="color:#f92672">&gt;</span>
</span></span><span style="display:flex;"><span>  <span style="color:#f92672">&lt;rect</span> <span style="color:#a6e22e">width=</span><span style="color:#e6db74">&#34;100%&#34;</span> <span style="color:#a6e22e">height=</span><span style="color:#e6db74">&#34;100%&#34;</span> <span style="color:#a6e22e">fill=</span><span style="color:#e6db74">&#34;white&#34;</span><span style="color:#f92672">/&gt;</span>
</span></span><span style="display:flex;"><span>  <span style="color:#f92672">&lt;text</span> <span style="color:#a6e22e">x=</span><span style="color:#e6db74">&#34;10&#34;</span> <span style="color:#a6e22e">y=</span><span style="color:#e6db74">&#34;20&#34;</span> <span style="color:#a6e22e">font-size=</span><span style="color:#e6db74">&#34;16&#34;</span> <span style="color:#a6e22e">fill=</span><span style="color:#e6db74">&#34;black&#34;</span><span style="color:#f92672">&gt;</span>Reference: https://pfeister.dev<span style="color:#f92672">&lt;/text&gt;</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">&lt;/svg&gt;</span>
</span></span></code></pre></div>

    
    <div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
      <iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/4wJRn1Pkax8?autoplay=0&controls=1&end=0&loop=0&mute=0&start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"
      ></iframe>
    </div>

<hr>
<h3 id="remediation">Remediation</h3>
<p>Administrators of affected versions should upgrade to 0.5.6 or higher.<br>
When this is not possible, administators should intercept responses and add proper CSP headers to block inline script execution.</p>
]]></content></item><item><title>Sherlock 0.15.0</title><link>https://pfeister.dev/posts/2024/sherlock-0.15.0/</link><pubDate>Wed, 26 Jun 2024 02:45:00 -0400</pubDate><guid>https://pfeister.dev/posts/2024/sherlock-0.15.0/</guid><description>📦 Official package now available on PyPI (#2127) @ppfeister 📦 Official package now available on DockerHub (#2216) @ppfeister 📦 Official package now available on Fedora @ppfeister 📦 Community package now available on Homebrew @p-linnane ✨ New Sherlock wiki at sherlockproject.xyz @sdushantha ✨ --dump-response flag added for easier debugging (#2214) @ppfeister 🪲 Fixed uncaught exception when tor browser not found (#2033) @joaomfbh 🪲 ‼️ Importable module renamed to sherlock_project (Debian#1072733) @ppfeister 🛠️ Adopted Poetry and restructured as a true package @mjsir911 @ppfeister @matheusfelipeog @sdushantha 🛠️ Unit testing rewritten to better support contributors and packagers @ppfeister Switched from unittest to pytest and tox Expanded regression testing to include builds on Windows and MacOS Added offline-only test environments for packagers (see below) 🛠️ Manifest schema added for regression testing and better in-IDE UX (#2212) @ppfeister 🛠️ Added detection mechanism for users running via legacy/unsupported methods (#2213) @ppfeister 🛠️ ‼️ Dependency torrequest made optional (#2215) @ppfeister @matheusfelipeog --tor and --unique-tor are now DEPRECATED (see detail below) 🛠️ ‼️ Deprecated support for Python 3.</description><content type="html"><![CDATA[<ul>
<li>📦 Official package now available on <a href="https://pypi.org/project/sherlock-project/"><strong>PyPI</strong></a> (<a href="https://github.com/sherlock-project/sherlock/issues/2127">#2127</a>) <a href="https://github.com/ppfeister">@ppfeister</a></li>
<li>📦 Official package now available on <a href="https://hub.docker.com/r/sherlock/sherlock"><strong>DockerHub</strong></a> (<a href="https://github.com/sherlock-project/sherlock/issues/2216">#2216</a>) <a href="https://github.com/ppfeister">@ppfeister</a></li>
<li>📦 Official package now available on <a href="https://src.fedoraproject.org/rpms/sherlock-project/"><strong>Fedora</strong></a> <a href="https://github.com/ppfeister">@ppfeister</a></li>
<li>📦 Community package now available on <a href="https://formulae.brew.sh/formula/sherlock"><strong>Homebrew</strong></a> <a href="https://github.com/p-linnane">@p-linnane</a></li>
<li>✨ New Sherlock wiki at <a href="https://sherlockproject.xyz"><strong>sherlockproject.xyz</strong></a> <a href="https://github.com/sdushantha">@sdushantha</a></li>
<li>✨ --dump-response flag added for easier debugging (<a href="https://github.com/sherlock-project/sherlock/issues/2214">#2214</a>) <a href="https://github.com/ppfeister">@ppfeister</a></li>
<li>🪲 Fixed uncaught exception when tor browser not found (<a href="https://github.com/sherlock-project/sherlock/issues/2033">#2033</a>) <a href="https://github.com/joaomfbh">@joaomfbh</a></li>
<li>🪲 ‼️ Importable module renamed to sherlock_project <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072733">(Debian#1072733)</a> <a href="https://github.com/ppfeister">@ppfeister</a></li>
<li>🛠️ Adopted Poetry and restructured as a true package <a href="https://github.com/mjsir911">@mjsir911</a> <a href="https://github.com/ppfeister">@ppfeister</a> <a href="https://github.com/matheusfelipeog">@matheusfelipeog</a> <a href="https://github.com/sdushantha">@sdushantha</a></li>
<li>🛠️ Unit testing rewritten to better support contributors and packagers <a href="https://github.com/ppfeister">@ppfeister</a>
<ul>
<li>Switched from unittest to pytest and tox</li>
<li>Expanded regression testing to include builds on Windows and MacOS</li>
<li>Added offline-only test environments for packagers (see below)</li>
</ul>
</li>
<li>🛠️ Manifest schema added for regression testing and better in-IDE UX (<a href="https://github.com/sherlock-project/sherlock/issues/2212">#2212</a>) <a href="https://github.com/ppfeister">@ppfeister</a></li>
<li>🛠️ Added detection mechanism for users running via legacy/unsupported methods (<a href="https://github.com/sherlock-project/sherlock/issues/2213">#2213</a>) <a href="https://github.com/ppfeister">@ppfeister</a></li>
<li>🛠️ ‼️ Dependency <a href="https://pypi.org/project/torrequest/"><strong>torrequest</strong></a> made optional (<a href="https://github.com/sherlock-project/sherlock/issues/2215">#2215</a>) <a href="https://github.com/ppfeister">@ppfeister</a> <a href="https://github.com/matheusfelipeog">@matheusfelipeog</a>
<ul>
<li>--tor and --unique-tor are now DEPRECATED (see detail below)</li>
</ul>
</li>
<li>🛠️ ‼️ Deprecated support for Python 3.6 and 3.7 (now ^3.8)</li>
<li>🛠️ Several minor UX improvements over the course of development</li>
<li>🏷️ Adopted properly tagged releases help out our downstream packagers</li>
<li>✍️ General improvements to and simplification of in-repo documentation</li>
</ul>
]]></content></item><item><title>* Archive in process of being migrated *</title><link>https://pfeister.dev/posts/2024/archive-in-process-of-being-migrated/</link><pubDate>Mon, 03 Jun 2024 00:00:00 +0000</pubDate><guid>https://pfeister.dev/posts/2024/archive-in-process-of-being-migrated/</guid><description>Redeployment still in progress, posts and disclosures (inc. CVEs) being migrated.</description><content type="html">&lt;p>Redeployment still in progress, posts and disclosures (inc. CVEs) being migrated.&lt;/p></content></item></channel></rss>