CVE-2023-32235 in ghost
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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.
Affected software: ghost
Scores
- CVSS: 7.5 (high)
- EPSS: 39.08% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2023-05-05
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update Ghost to 5.46.1 or later
Patch or upgrade. Ghost before 5.46.1 lets public Content API filters use private fields, so a remote user can guess password hashes and email addresses, and Ghost before 5.42.1 serves files of the theme folder through /assets/built%2F..%2F paths. 5.46.1 fixes both.
Applies to: Self-hosted Ghost before 5.46.1 (file read: before 5.42.1).
- Check the Ghost version in Ghost Admin under Settings, About, or with ghost version in the install folder.
- Back up the content and database, then run ghost update to 5.46.1 or later.
- Until the update is done, block requests to /ghost/api/content/ whose filter parameter contains password or email, and paths with %2F..%2F, in the reverse proxy.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.