.. / CVE-2023-32235

Exploit for Ghost CMS < 5.42.1 - Path Traversal (CVE-2023-32235)

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.

Nuclei Template

View the template here CVE-2023-32235.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2023/CVE-2023-32235.yaml
Copy

References:

https://github.com/advisories/GHSA-wf7x-fh6w-34r6
https://github.com/TryGhost/Ghost/commit/378dd913aa8d0fd0da29b0ffced8884579598b0f
https://nvd.nist.gov/vuln/detail/CVE-2023-32235
https://github.com/TryGhost/Ghost/compare/v5.42.0...v5.42.1