{"id":"CVE-2024-38353","published":"2024-07-10T19:50:05Z","modified":"2024-08-02T04:04:25Z","title":"CodiMD - Missing Image Access Controls and Unauthorized Image Access","vendor":"hackmdio","product":"codimd","tier":"core","eol":null,"affectedVersions":[{"vendor":"hackmdio","product":"codimd","versions":["< 2.5.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-11T14:04:53.714056Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01481,"percentile":0.74186,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-11-24","exploitedFirstSeen":"2026-11-24","ransomware":false,"evidence":[{"url":"https://www.vulncheck.com/advisories/codimd-2.5.4-missing-authorization-via-uploadimage","date":"2026-11-24"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"},{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/hackmdio/codimd/security/advisories/GHSA-2764-jppc-p2hm","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2024-37276","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-37276","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2024-38353","name":"CodiMD <2.5.4 - Insecure Filename Randomization","severity":"medium","path":"http/cves/2024/CVE-2024-38353.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38353.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-07-10","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-38353","provenance":"source"},{"date":"2026-11-24","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.vulncheck.com/advisories/codimd-2.5.4-missing-authorization-via-uploadimage","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":68.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 1 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":14.84,"detail":"percentile 0.7419"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":3.71,"detail":"base score 5.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}