CVE-2024-38353 CodiMD - Missing Image Access Controls and Unauthorized Image Access
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
CodiMD allows realtime collaborative markdown notes on all platforms. CodiMD before 2.5.4 is missing authentication and access control vulnerability allowing an unauthenticated attacker to gain unauthorised access to image data uploaded to CodiMD. CodiMD does not require valid authentication to access uploaded images or to upload new image data. An attacker who can determine an uploaded image's URL can gain unauthorised access to uploaded image data. Due to the insecure random filename generation in the underlying Formidable library, an attacker can determine the filenames for previously uploaded images and the likelihood of this issue being exploited is increased. This vulnerability is fixed in 2.5.4.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hackmd codimd | < 2.5.4 | 2.5.4 | Fixed |
| hackmdio codimd | = < 2.5.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hackmdio codimd | = < 2.5.4 | No fix listed |
| hackmd codimd | < 2.5.4 | 2.5.4 |
References
- https://github.com/hackmdio/codimd/security/advisories/GHSA-2764-jppc-p2hm exploit mitigation third-party-advisory