S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Jan 14, 2025

CVE-2024-38353 Scanner

CVE-2024-38353 Scanner - Insecure Filename Randomization vulnerability in CodiMD

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
3.3k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2024-38353
5.3
CVSSmedium
Exploitable remotely over the internet · no authentication required.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
codimdby hackmdio
< 2.5.4
codimdby hackmd
AFFECTED< 2.5.4SAFE ✓≥ 2.5.4
Updated Sep 10, 2026View on NVD →
Detail

CodiMD is a collaborative markdown editor that allows users to create and share notes in real-time. It is widely used by teams and organizations for seamless collaboration and documentation purposes. Its features include image uploads, real-time editing, and extensive markdown support.

The vulnerability in question is related to insecure filename randomization for uploaded images. Due to insufficient randomness in the filename generation, attackers can predict and determine filenames of previously uploaded images, enabling unauthorized access.

Technical details reveal that the vulnerability is tied to the Formidable library used by CodiMD. This library generates predictable filenames for uploaded images. Attackers can exploit this flaw by guessing URLs of uploaded images and accessing sensitive content without proper authentication.

If exploited, this vulnerability could lead to unauthorized access to sensitive image data stored on the server. This exposure may compromise user privacy and lead to potential misuse of sensitive content.

REFERENCES

Solution Advice
  • Update CodiMD to version 2.5.4 or later to address the vulnerability.
  • Implement stronger randomization algorithms for filename generation.
  • Restrict access to the upload directory to authorized users only.
  • Enable robust access control mechanisms to protect uploaded content.
  • Regularly audit and monitor uploaded files to detect any unauthorized access.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2024-38353 Scanner - Insecure Filename Randomization vulnerability in CodiMD | S4E