Cyber Resilience

CVE-2022-40471

CriticalPublic PoC

Published: 31 October 2022

Published
31 October 2022
Modified
06 May 2025
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.9033 99.6th percentile
Risk Priority 74 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-40471 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Oretnom23 Clinic\'S Patient Management System. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 0.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

CVE-2022-40471 is a remote code execution vulnerability in Clinic's Patient Management System version 1.0. It stems from insufficient validation in the profile picture upload functionality within users.php, which permits arbitrary PHP file uploads and is tracked under CWE-434. The flaw carries a CVSS 3.1 score of 9.8, reflecting network-accessible exploitation with no required credentials or user interaction.

An unauthenticated attacker can send a crafted request to upload a PHP webshell disguised as an image file. Successful exploitation grants the ability to execute arbitrary code on the server, resulting in full confidentiality, integrity, and availability impact on the affected installation.

Public references consist of a proof-of-concept repository and the vendor's source code listing, but contain no details on official patches or mitigation steps. The associated EPSS score has remained steady at a peak of 0.9033 since disclosure.

EU & UK References

Vulnerability details

Remote Code Execution in Clinic's Patient Management System v 1.0 allows Attacker to Upload arbitrary php webshell via profile picture upload functionality in users.php

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

oretnom23
clinic\'s patient management system
1.0

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-434

Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.

addresses: CWE-434

Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.

addresses: CWE-434

Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.

addresses: CWE-434

Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.

References