CVE-2026-85186 in Online Medicine Delivery Systeminfo

Summary

by MITRE • 09/03/2026

A weakness has been identified in itsourcecode Online Medicine Delivery System 1.0. Affected by this vulnerability is the function doupdateimage of the file /customer/controller.php?action=photos of the component Customer Controller. Executing a manipulation of the argument photo can lead to unrestricted upload. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 09/03/2026

The identified vulnerability in itsourcecode Online Medicine Delivery System version 1.0 represents a critical security flaw rooted in improper input validation within the application's file handling mechanisms. Specifically, the weakness resides in the doupdateimage function located in the customer controller component at /customer/controller.php?action=photos. This architectural oversight allows an attacker to manipulate the photo argument passed during image upload operations, bypassing intended restrictions on file types and content. The core technical flaw is a classic case of unrestricted file upload, where the server fails to adequately verify the integrity, type, or extension of uploaded files before storing them in accessible directories.

From a classification perspective, this vulnerability aligns with CWE-434, which describes the ability to upload arbitrary files that can be executed by the web server. It also correlates with CWE-20, indicating improper input validation where user-supplied data is not sufficiently sanitized or checked against expected formats and constraints. The absence of strict whitelisting for allowed file extensions, combined with insufficient checks on MIME types or magic bytes, creates a direct pathway for malicious actors to inject executable code into the application's environment.

The operational impact of this vulnerability is severe due to its remote exploitability. An attacker can leverage public exploits available in the wild to upload web shells or other malicious scripts disguised as legitimate image files such as JPEGs or PNGs. Once uploaded, these files may be executed by the server if they reside in a directory with script execution permissions or if the application inadvertently includes them. This capability effectively grants the attacker remote code execution (RCE) on the target system, leading to full compromise of the underlying infrastructure. Consequences include data exfiltration, defacement, installation of backdoors, and potential pivoting into internal networks depending on the server's configuration and network segmentation.

This vulnerability maps directly to MITRE ATT&CK technique T1505.003, known as Web Shell: Cloud Services or Server-Side Scripting, where attackers deploy malicious scripts to maintain persistent access. The ease of exploitation via publicly available tools significantly lowers the barrier for entry, making this system a high-risk target for automated scanning and opportunistic attacks targeting similar open-source projects with known flaws in their upload logic.

Mitigation strategies must focus on implementing robust file validation controls at both the client and server levels. Developers should enforce strict whitelisting of allowed image formats using MIME type verification and magic byte checks rather than relying solely on file extensions, which are easily spoofed. Additionally, uploaded files should be stored in directories that do not have execute permissions for web services to prevent script execution even if a malicious file is successfully saved. Renaming uploaded files with random strings can further mitigate the risk by obscuring predictable paths used by attackers to locate and trigger their payloads. Regular security audits and integration of static application security testing (SAST) tools into the development lifecycle are recommended to detect such input validation weaknesses early before deployment.

Responsible

VulDB

Disclosure

09/03/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00000

KEV

no

Activities

low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!