<?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 gearheader on Medium]]></title>
        <description><![CDATA[Stories by gearheader on Medium]]></description>
        <link>https://medium.com/@gulmaliyevulvi2?source=rss-b9f8261b072c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Zr6lmKSKQaYikVPDT5eUqw.jpeg</url>
            <title>Stories by gearheader on Medium</title>
            <link>https://medium.com/@gulmaliyevulvi2?source=rss-b9f8261b072c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:39:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gulmaliyevulvi2/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[CVE-2026–111437 Writeup]]></title>
            <link>https://medium.com/@gulmaliyevulvi2/cve-2026-111437-writeup-66ce532dfead?source=rss-b9f8261b072c------2</link>
            <guid isPermaLink="false">https://medium.com/p/66ce532dfead</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[cve]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnerability]]></category>
            <dc:creator><![CDATA[gearheader]]></dc:creator>
            <pubDate>Sat, 17 Oct 2026 15:58:21 GMT</pubDate>
            <atom:updated>2026-10-17T16:20:59.927Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L1GinS9ZcNgh6lAgMv7CCg.jpeg" /></figure><h3><strong>General Desctiption</strong></h3><p>During a recent security code audit of popular open-source Python packages, I identified a resource exhaustion vulnerability affecting <strong>django-import-export</strong>, a widely used data import/export extension for Django applications.</p><p>Assigned <strong>CVE-2026–111437</strong>, this vulnerability allows an authenticated user with import permissions to trigger a severe Denial of Service (DoS) via CPU resource exhaustion by supplying a specially crafted numeric input string. In this write-up, we will examine the root cause, walk through the vulnerable code logic, and review the impact and remediation steps.</p><h3><strong>Vulnerability Overview</strong></h3><ul><li><strong>CVE ID:</strong> CVE-2026–111437</li><li><strong>Affected Component:</strong> IntegerWidget.clean() in import_export/<a href="http://widgets.py/">widgets.py</a></li><li><strong>Affected Versions:</strong> &gt;= v2.7.0 up to &lt;= v4.4.2</li><li><strong>CWE Classification:</strong> CWE-405: Asymmetric Resource Consumption (Amplification) / CWE-400</li><li><strong>CVSS 3.1 Score:</strong> 6.5 (Medium) — AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H</li></ul><h3><strong>Proof of Concept (PoC) &amp; Attack Scenario</strong></h3><p>To reproduce or verify this behavior in a local testing environment:</p><ol><li>Set up the project</li></ol><ul><li>Clone the repository</li></ul><blockquote>git clone <a href="https://github.com/django-import-export/django-import-export.git">https://github.com/django-import-export/django-import-export.git</a></blockquote><blockquote>cd django-import-export</blockquote><ul><li>Create and activate an enviroment</li></ul><blockquote>python3 -m venv .venv</blockquote><blockquote>source .venv/bin/activate</blockquote><ul><li>Then install the project</li></ul><blockquote>python -m pip install -e .</blockquote><ul><li>Set the example project up inside /tests and create an admin account</li></ul><blockquote>cd tests</blockquote><blockquote>python manage.py check</blockquote><blockquote>python manage.py migrate</blockquote><blockquote>python manage.py createsuperuser</blockquote><ul><li>Start the application</li></ul><blockquote>python manage.py runserver</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uOYl0VJYT-OgpS8AD5UX2A.png" /></figure><p>By default it should be on <a href="http://127.0.0.1:8000/">http://127.0.0.1:8000</a></p><p>2. Prepare a minimalist CSV file where an integer column contains a crafted scientific notation payload:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*cRtl3UVsPvlhZQzO5ilItQ.png" /></figure><p>3. Initiate an import via the Django admin panel or import utility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bo6JFfzXr46-vUoqsaCCJw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcmybU_aY5G5bD3Nmf-DPA.png" /></figure><p>Upon submitting and parsing the row, the server worker process locks up, pegging the CPU at 100% and halting response handling for other concurrent requests, effectively creating a targeted Denial of Service (DoS).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ynXXnYALht_IjMA-_aW5Fg.png" /></figure><blockquote>this can be done by Anyone(staff,admin) with import permissions</blockquote><h3><strong>Impact &amp; CVSS Assessment</strong></h3><p>Because this requires authenticated access with import permissions (PR:L), the vulnerability does not allow remote code execution, data theft, or database corruption (C:N, I:N). However, because a single malicious import file can exhaust worker threads and crash application servers under heavy concurrency, the <strong>Availability</strong> impact is rated as High (A:H), leading to an overall CVSS score of <strong>6.5 (Medium)</strong>.</p><h3><strong>Disclosure Timeline &amp; Responsible Disclosures</strong></h3><p>Following Coordinated Vulnerability Disclosure (CVD) best practices, I attempted to reach out privately to the project maintainers via their designated security contact (djangoimportexport@gmail.com) with a full technical advisory and reproduction report.</p><p>After a considerable time they have reached me out and started to work on a fix.</p><h3><strong>Root Cause Analysis: Unbounded Decimal Conversion</strong></h3><p>The core issue lies within how django-import-export parses integer values during data imports. When processing spreadsheet or CSV columns mapped to integer fields, the library utilizes IntegerWidget to clean and sanitize input cell values before database operations.</p><p>Let’s look at the vulnerable code pattern in import_export/widgets.py:</p><pre># Conceptual representation of vulnerable parsing logic<br>def clean(self, value, row=None, *args, **kwargs):<br>    if value is None:<br>        return None<br>    # Vulnerable conversion path<br>    return int(Decimal(sanitize_separators(value)))</pre><p>When Python converts a large decimal string with a massive exponent (such as 1e1000000) into a Python Decimal object and subsequently casts it to an int, Python must calculate the exact integer value representing that number. Because there are no length checks or exponent boundaries enforced prior to conversion, Python consumes 100% of a worker CPU core for an extended period trying to compute the digits.</p><h3><strong>Remediation &amp; Fix Recommendations</strong></h3><p>To remediate this vulnerability, maintainers or developers patching downstream forks should implement strict validation checks on input lengths and decimal exponents before performing type coercion:</p><pre><br>MAX_INPUT_LENGTH = 20<br><br>def clean(self, value, row=None, *args, **kwargs):<br>    if value is None:<br>        return None<br>    <br>    val_str = str(value).strip()<br>    if len(val_str) &gt; MAX_INPUT_LENGTH:<br>        raise ValueError(&quot;Numeric input exceeds allowed length constraints.&quot;)<br>        <br>    return int(Decimal(sanitize_separators(val_str)))</pre><p>Finder/Author: Ulvi Gulmaliyev</p><p>Detailed report:<a href="https://github.com/ulvigulmaliyev/CVE-2026-111437-Denial-of-Service-Advisory-Technical-Report/blob/main/Security_Advisory_django-import-export.pdf">https://github.com/ulvigulmaliyev/CVE-2026-111437-Denial-of-Service-Advisory-Technical-Report/blob/main/Security_Advisory_django-import-export.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66ce532dfead" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[İstənilən telefon fəaliyyətinin izlənilməsi:careless whisper]]></title>
            <link>https://medium.com/@gulmaliyevulvi2/i%CC%87st%C9%99nil%C9%99n-telefon-f%C9%99aliyy%C9%99tinin-izl%C9%99nilm%C9%99si-careless-whisper-047dff107190?source=rss-b9f8261b072c------2</link>
            <guid isPermaLink="false">https://medium.com/p/047dff107190</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[whatsapp]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[gearheader]]></dc:creator>
            <pubDate>Sun, 08 Feb 2026 03:49:00 GMT</pubDate>
            <atom:updated>2026-02-08T04:33:20.667Z</atom:updated>
            <content:encoded><![CDATA[<p>İnsanların telefonunda baş verənləri onların xəbəri olmadan izləyə biləcəyinizi düşünün. Sadə bir bildiriş, bir “read receipt” və ya ekran fəaliyyəti haqqında kiçik bir siqnal, əslində sizin üçün çoxlu məlumat sızdıra bilər.</p><p>Careless Whisper adlanan üsul bunu sübut edir: ətrafdakı hər hansı bir fəaliyyət, baxış, və ya mesaj statusu kimi minimal siqnallar belə, hədəfin aktiv, passiv, ya da offline olduğunu öyrənməyə imkan verir.</p><p>Bu blogda sizə bu üsulun necə işlədiyini, real dünyada necə tətbiq oluna biləcəyini və siz özünüzün də öyrənə biləcəyiniz bir yanaşmanı göstərəcəyəm. Kod nümunələri, proses izahı və daha inkişaf etmiş alternativlər də blogun sonunda sizə təqdim olunacaq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/0*tEbUmf6RdnpRc5vG.jpg" /></figure><p>Careless Whisper, 2024-cü ildə kəşf edilmiş bir yan kanal (side-channel) hücum metodudur. Sadə desək, bu üsul WhatsApp kimi mesajlaşma tətbiqlərində “read receipt” və digər kiçik fəaliyyət göstəricilərindən istifadə edərək, hədəfin telefon fəaliyyətini təxmin etməyə imkan verir.</p><p>Bu üsulun əsasında duran fikir belədir: hər dəfə bir mesaj oxunduqda, bir reaksiya göndərildikdə və ya bir bildiriş tetikləndikdə, server və cihaz arasında minimal gecikmə (RTT — Round Trip Time) yaranır. Bu gecikmənin ölçülməsi vasitəsilə hədəfin aktiv olub-olmadığını, ekranının açıq və ya bağlı olduğunu, tətbiqin fon və ya ön planda işlədiyini təxmin etmək mümkündür.</p><p>Beləliklə, Careless Whisper istifadəçi xəbəri olmadan onun telefon fəaliyyətini izləyə bilər, yalnız “read receipt” kimi görünməyən siqnallar vasitəsilə.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oF2b3o8UJfUge59EM7hfHA.png" /></figure><p>Careless Whisper klassik “hesabı ələ keçirmə” və ya mesaj oxuma hücumu deyil. Burada əsas məsələ <strong>birbaşa məlumat yox, davranış fərqlərini ölçməkdir</strong>.</p><p>Mesajlaşma tətbiqləri (xüsusən WhatsApp) istifadəçi fəaliyyəti zamanı serverlə tez-tez və avtomatik şəkildə əlaqə saxlayır. Bu əlaqə hər dəfə eyni sürətdə baş vermir. Telefonun vəziyyəti bu gecikməyə birbaşa təsir edir.</p><p>Məsələn:</p><ul><li>Telefon aktivdirsə və ekran açıqdırsa, serverə cavab demək olar ki, dərhal gedir(&lt; 200 ms)</li><li>Tətbiq arxa plandadırsa, cavab bir az gecikir (200–1000 ms)</li><li>Telefon kilidlidirsə və ya internet zəifdirsə, gecikmə daha da artır(1000–4000 ms)</li><li>Telefon offline-dirsə, ümumiyyətlə cavab gəlmir(&gt; 4000 ms və cavabsız)</li></ul><p>Careless Whisper bu fərqləri <strong>RTT (Round Trip Time)</strong> ölçərək analiz edir.</p><p>Sonradan bu dataları qrafik şəklində önümüzə sərərək hədəflənən nömrənin gün ərzindəki fəaliyyətini müşahidə edə bilərik:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*UF90FrMkd0iLXbJ1.png" /><figcaption>iki reaksiya arasında olan zaman fərqi</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*d6sCgpeEFmWrojJQWX9rsg.png" /><figcaption>ümumi reaksiyalar və probe-lar arasında olan zaman fərqi</figcaption></figure><p>Bu statistikalar üzərindən fəaliyyət təxmini mümkündür:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f1TgE_L0wJ2VlHTAc3Ycsg.png" /></figure><p>Bəs Hədəfin bundan xəbəri olurmu?</p><ul><li><strong>Əgər probe(ping)-lar sadə mesaj vasitəsi ilə yoxlanılırsa,bəli-birbaşa mesaj bildirişi gedir</strong></li><li><strong>Əgər probe-lar reaksiyalar(whatsapp reactions) vasitəsilə yoxlanılırsa yox-Ama qarşı tərəf aktiv olaraq sizin chatdadırsa bu yoxlanış reaksiyalarını görə bilər</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RibW2Um_JdLdGOtl" /></figure><h3>Praktiki nümunələr</h3><ol><li>Öz yazdığım kod üzərindən yoxlanış(quraşdırılması və istifadə qaydası repositorinin özündədir:<a href="https://github.com/ulvigulmaliyev/carless-whisper-tracker">https://github.com/ulvigulmaliyev/carless-whisper-tracker</a>)</li></ol><p>Node.js də yazdığım kod işlədiyi zamandakı gecikməni konfiqurasiya edilən nömrə üzrə yoxlayır və həmin nömrəyə “probe” mesajını yoxlanış üçün göndərir:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*rvTDQ4ZGJgcb3N0l2ipfog.png" /></figure><p>bu mesajdan sonra gələn gecikmə ölçülür və ona əsasən qərar verilir:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*5dRgSOon6AlglOYQ8I6qLw.png" /></figure><p>Bu şəxs hal hazırda offline olduğuna görə “OFFLİNE/UNREACHABLE” mesajını aldıq</p><p>Bu mesaj situasiyaya görə ACTIVE (screen on, app foreground)/IDLE (background)/LOCKED (screen off) ola bilərdi</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*n5KPEYR1wOIoyA6f18x-8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*u7swSG62iy2zrQg-NW0Q6Q.png" /><figcaption>bunu təyin edən funksiya və gecikmə salisələri</figcaption></figure><p>Bu hal-hazırki vəziyyəti bir sessiya üzrə göstərir və bir dəfə cavab qaytarır.</p><p>Lakin daha inkişaf etmiş ,statistika üzrə qrafiki işləyən nümunələr də mövcuddur:</p><p>2)<a href="https://github.com/gommzystudio">gommzystudio </a>/ <a href="https://github.com/gommzystudio/device-activity-tracker"><strong>device-activity-tracker</strong></a><strong>(</strong><a href="https://github.com/gommzystudio/device-activity-tracker">https://github.com/gommzystudio/device-activity-tracker</a><strong>)</strong></p><p>Həmçinin node.js ilə yazılmış(Bu tip web api-larla işləmək daha rahatdır) bu alət əlavə funksionallıqlar olaraq:</p><ul><li>Qrafiki interfeysə sahibdir</li><li>Statistiki göstəriciləri vardır</li><li>Bir neçə nömrə ilə sinxronizə işləyə bilir</li><li>Qarşı tərəfə bildiriş və ya iz qoyub qoya bilməyəcəyinizi seçə bilərsiniz</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2LGSj-5t4fydXrGl.png" /></figure><p>Əlavə nümunələr üçün:</p><p>Go əsaslı yazılmış: <a href="https://github.com/Cfomodz/whatsmap">https://github.com/Cfomodz/whatsmap</a></p><p>Python əsaslı yazılmış:<a href="https://github.com/ctrlsam/careless-whisper-python">https://github.com/ctrlsam/careless-whisper-python</a></p><p>Əlavə qeyd:Bu hücum daimi olaraq mesaj və bildiriş alveri etdiyindən qarşı tərəfin mobil internetini tükədən bir DOS üsulu kimi də istifadə oluna bilər(kod tərkibindəki probe müddətini qısaldaraq)</p><h3>Necə qorunmalı</h3><ul><li>Tanınmayan nömrələrdən olan bildirişlər bağlanılmalı.</li><li>Tanınmayan nömrələrdən olan mesajlara diqqət etməli.</li><li>Əgər kiminsə sizə bu tip bir hücum etdiyini bilirsinizsə bloklamaq köməkçi olacaqdır çünki mesaj bildirişlərini və probları kəsir.</li><li>WhatsApp-ın <strong>“Read Receipts / Oxundu işarələri”</strong> seçimini deaktiv etmək RTT ölçmələrinə mane olur.</li></ul><p>(Thanks for the help: linkedin.com/in/ulkar-ismayilzada-321a80370/)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=047dff107190" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>