Skip to content
KitploitKITPLOIT
OutilsExploitsBlog
Log in
Soumettre
OutilsExploitsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

FluxContactConfidentialité© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
CVE-2016-15043 — Scanner and proof-of-concept exploit for CVE-2016-15043, an unauthenticated arbitrary file upload RCE in the WP Mobile Detector WordPress plugin up to 3.5. | Kitploit
Outils/GitHubGitHub/jonathan1010/cve-2016-15043
Vulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubjonathan1010/cve-2016-15043

CVE-2016-15043

Scanner and proof-of-concept exploit for CVE-2016-15043, an unauthenticated arbitrary file upload RCE in the WP Mobile Detector WordPress plugin up to 3.5.

Voir le dépôt
4 déc. 2026Pas encore vérifié

Outils similaires

  • nuclei

    Scanner de vulnérabilités rapide basé sur YAML avec moteur de détection piloté par modèles pour des tests de sécurité automatisés sur les applications web, les API, les réseaux, le DNS et l'infrastructure cloud.

  • zaproxy

    Scanner de sécurité d'application web open-source pour la détection automatisée des vulnérabilités, les tests de pénétration manuels et les tests de sécurité d'API avec un moteur d'interception basé sur proxy.

  • openvas-scanner

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

  • 1

    Callisto

    jetp1ane/callisto

    Outil automatisé d'analyse de vulnérabilités binaires qui décompile des exécutables via Ghidra, analyse du pseudo-code C avec Semgrep, et valide les résultats en utilisant GPT-3.5-Turbo pour réduire les faux positifs.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Application d'exécution en un clic GhostLock (CVE-2026-43499)

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    Plateforme IMSI Catcher qui déploie une cellule GSM frauduleuse pour intercepter les SMS, injecter des messages et suivre les appareils mobiles

    721
  • 4

    opencti

    opencti-platform/opencti

    Plateforme ouverte de renseignement sur les cybermenaces

    535
  • 5

    ARTEX

    baarai/artex

    Plateforme autonome de tests d'intrusion multi-agents basée sur des LLM, avec agents planificateur/ouvrier, graphes d'actifs et d'exploration, enregistrement du trafic MITM et retest des vulnérabilités.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Outil de root Android pour Samsung Galaxy S25 Ultra (SM-S938B) qui enchaîne DirtyFrag CVE-2026-43284 et CVE-2026-43499 pour obtenir le root automatiquement au démarrage via KernelSU.

    419

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager
Contenu non disponible dans la langue demandée. Affichage de la version anglaise.

CVE-2016-15043 - WP Mobile Detector <= 3.5 - Unrestricted File Upload

FieldValue
CVECVE-2016-15043
Severitycritical
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
CWECWE-434 (Unrestricted Upload of File with Dangerous Type)
AffectedWP Mobile Detector (websitez-wp-mobile-detector) all versions up to and including 3.5
Fixed in3.6 (extension whitelist in resize.php); 3.9 adds an exif_imagetype() signature check
ClassUnauthenticated arbitrary file write through resize.php, PHP execution in the plugin dir
RuntimePython 3.8+, stdlib only

Summary

WP Mobile Detector ships a standalone image resizer at /wp-content/plugins/wp-mobile-detector/resize.php. In versions up to 3.5 that file takes the raw src request parameter and runs file_put_contents(cache/basename(src), file_get_contents(src)) with no file type validation, so an unauthenticated attacker can make the target write arbitrary bytes into the plugin directory and then request the stored file, which PHP executes. The scanner replays the Nuclei two-request flow (http(1) && http(2), max-request 2) and reports the verdict per target.

Description

The WP Mobile Detector plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in resize.php file in versions up to, and including, 3.5. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.

How the two template requests map onto the plugin code:

  • Request 1 hits resize.php. On a cache miss the else branch stores the fetched bytes under cache/ using basename() of the src value; on a cache hit it readfile()s the stored copy. Either way, when the extension/signature path is not reached the script falls through to the unconditional header('Content-Type: image/gif') plus the base64 1x1 GIF.
  • Request 2 reads the file the first request created under /wp-content/plugins/wp-mobile-detector/cache/, which is what proves the write happened.

The patch in 3.6 restricts caching to png, gif, jpg, jpeg, jif, jfif (and svg) extensions, and 3.9 additionally requires exif_imagetype() to report GIF, JPEG or PNG, so the .php payload no longer reaches disk.

Detection model

  • GET /wp-content/plugins/wp-mobile-detector/resize.php?src= must answer HTTP 200 with Content-Type image/gif (template matcher 1, the plugin's fallback header).
  • GET /wp-content/plugins/wp-mobile-detector/cache/ must answer HTTP 200 and its body must match the template regex <body>(.*?)</body> (template matcher 2, dotall, case-insensitive).
  • Both words are ANDed, exactly like the template's condition: and; a partial hit (only one request matching) is recorded but not counted as vulnerable.
  • The src ladder is tried in order: first a per-run unique name <token>.php so the cache-miss branch is always exercised, then the plain site root index.php for installs where the first probe is rewritten.
  • Token: 12-char md5 over "|CVE-2016-15043|"; it doubles as the probe filename stem, so a stale cache entry cannot fake a fresh match.

Usage

Scanner (URL file + threads + CSV, streamed rows, JSON sidecar):

python3 scanner/CVE-2016-15043/scanner.py urls.txt 4 out.csv
python3 scanner/CVE-2016-15043/scanner.py urls.txt 4 out.csv --json out.json

URL file format: one target per line, # comments allowed, scheme-less hosts get http:// prepended automatically.

python3 exploit/CVE-2016-15043/exploit.py http://target.example
python3 exploit/CVE-2016-15043/exploit.py http://target.example --csv e.csv --json e.json --verbose

Example scanner output

RCE POC SUITE
 scanner : CVE-2016-15043 v1.0.0 (WP Mobile Detector <= 3.5)
 endpoint: GET /wp-content/plugins/wp-mobile-detector/resize.php?src=<url> then GET /wp-content/plugins/wp-mobile-detector/cache/<basename src>
 matchers: status 200 AND Content-Type image/gif on resize.php, then status 200 AND regex '<body>(.*?)</body>' on the cached file (and)
 threads : 4 | csv: .scratch/s15043.csv | json: .scratch/s15043.json
[2026-12-03 16:06:14] loaded 1 target(s) from urls.txt
[2026-12-03 16:06:14] summary total=1 answered=1 vulnerable=1 errors=0
[2026-12-03 16:06:14] timing wall=8ms avg=7ms max=7ms
[2026-12-03 16:06:14] wrote .scratch/s15043.csv (1 row(s)) and .scratch/s15043.json

Scanner report columns

ColumnMeaning
n1-based row number, in completion order
urltarget as provided (scheme auto-prepended if missing)
statusok when resize.php answered at all, else error
vulnerableTrue when both template matcher groups matched for one ladder probe
elapsed_msper-target wall time
token12-char md5 correlation id, also the probe filename stem
result_b64base64(JSON) with per-probe resize status/content type, cache status, regex capture and the two matcher flags

Files

  • scanner/CVE-2016-15043/scanner.py - batch black-box scanner, streamed CSV + JSON sidecar
  • exploit/CVE-2016-15043/exploit.py - single-target two-stage POC with numbered checks
  • scanner/CVE-2016-15043/README.md - this file
  • scanner/CVE-2016-15043/DESCRIPTION.md - architecture, probe plan, token scheme, contracts

Exit codes

CodeMeaning
0at least one target (scanner) / the target (exploit) is vulnerable
2no vulnerable target found or verification failed

References

  • Nuclei template: http/cves/2016/CVE-2016-15043.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2016-15043
  • Plugin source: https://plugins.svn.wordpress.org/wp-mobile-detector/tags/3.5/resize.php
  • Advisory: https://wpscan.com/vulnerability/e4739674-eed4-417e-8c4d-2f5351b057cf/

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RWe

Télécharger l’outil

Ce dépôt contient le composant scanner pour Greenbone Community Edition.