<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Frogsec249 on Medium]]></title>
        <description><![CDATA[Stories by Frogsec249 on Medium]]></description>
        <link>https://medium.com/@medoali1340?source=rss-8a73961ebf2c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*VSqhYcX1FeAWVNFY</url>
            <title>Stories by Frogsec249 on Medium</title>
            <link>https://medium.com/@medoali1340?source=rss-8a73961ebf2c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:15:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@medoali1340/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Buffer overflow stack on Microsoft]]></title>
            <link>https://medium.com/@medoali1340/buffer-overflow-stack-on-microsoft-e64e73def471?source=rss-8a73961ebf2c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e64e73def471</guid>
            <dc:creator><![CDATA[Frogsec249]]></dc:creator>
            <pubDate>Mon, 26 Jan 2026 10:14:14 GMT</pubDate>
            <atom:updated>2026-01-26T10:14:14.382Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i1bOYFuwKiNLM1qxLTtKGg.jpeg" /></figure><p>How did he find this vulnerability, and in which product?</p><p>This is the product in which I found the vulnerability:</p><p>Product: Microsoft PowerToys</p><p>Module:PowerRenameExt.dll / Windows.Ul.Xaml.dll</p><p>The type of vulnerability is:</p><p>CWE-120:Buffer Copy without Checking Size of Input (&quot;Classic Buffer Overflow&quot;)</p><p>CWE-789: Memory Allocation with Excessive Size Value<br>CWE-400:Uncontrolled Resource Consumption</p><p>Bio vulnerability:</p><p>The vulnerability exists in PowerRename’s file processing logic when handling large<br>batches of files. The application appears to allocate insufficient buffer space for<br>storing file metadata and path information when processing tens of thousands of files<br>simultaneously.</p><p>Technical Details:<br>1. PowerRename does not implement an upper limit on the number of files that can<br>lE processed in a single operatior<br>2. When processing 30,000+ files, memory allocation exceeds safe boundaries<br>3. The Windows.Ul.Xaml.dll module encounters a buffer overrun condition<br>4. Exception code Oxc000027b (STATUS_STACK_BUFFER_OVERRUN) is triggered<br>5. Application terminates without proper error handling</p><p>Step 1: Create Test Environment<br>powershell</p><p># Create test directory</p><p>New-Item -ItemType Directory -Path &quot;C:\BufferOverflowTest&quot;-Force<br>Set-Location &quot;C:\BufferOverflowTest&quot;</p><p>______________________________</p><p>topic my code powershell :</p><p># Generate 30,000+ files with varying name lengths<br>for($i = 1; Si-le 35000; $i++){<br>SfileName = &quot;test_file_&quot;+ Si.ToString(&quot;D5&quot;)+<br>_with_long_suffix_to_increase_memory_usage&quot;<br>Snull | Out-File -FilePath &quot;SfileName.txt&quot; -Encoding utf8</p><p><em># Progress indicator every 1000 files</em><br>if (Si% 1000-eq 0){<br>Write-Host &quot;Created Si files...<br>Write-Host &quot;File generation complete: 35,000 files created&quot;</p><p>______________________________</p><p>Step 3: Trigger the Vulnerability<br>1. Open Windows Explorer and navigate to `C:\BufferOverflowTest<br>2. Select all files (Ctrl+A)<br>3. Right-click and select &quot;PowerRename&#39;<br>4. In PowerRename window, enter.<br>- Search for: &#39;test<br>Replace with: `’renamed’5. Click &quot;Apply&quot; or &quot;Rename&quot;</p><p>Actual Behavior:-<br> — PowerRename window becomes unresponsive<br>Application crashes silently without error message<br>Windows Event Viewer shows:<br>Faulting application name: PowerToys.PowerRename.exe<br>Exception code: 0xc000027b<br>Fault offset: 0x000000000059e671<br>Faulting module name: Windows.Ul.Xaml.dll<br> —No crash dialog is presented to the user<br>File operations may be incomplete</p><p>#Crash Analysis</p><p>Event Viewer Details:-<br>Application Error Event ID: 1000<br>Faulting application name: PowerToys.PowerRename.exe<br>Edultino module name: Windows.Ul.Xaml.dl<br>Exception code: Oxc000027b (STATUS_STACK_BUFFER_OVERRUN)<br>Fault offset: 0x000000000059e671</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e64e73def471" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>