LiveActive security incident?Get immediate response
CVE Record

CVE-2022-2297: SourceCodester Clinics Patient Management System unrestricted upload

A vulnerability, which was classified as critical, was found in SourceCodester Clinics Patient Management System 2.0. Affected is an unknown function of the file /pms/update_user.php?user_id=1. The manipulation of the argument profile_picture with the input <?php phpinfo();?> leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

MediumCVSS 6.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-2297 affects SourceCodester Clinics Patient Management System 2.0. A logged-in remote user may upload an unsafe profile picture file that the server could process as code, potentially affecting confidentiality, integrity, and availability.

Executive priority

Treat as a near-term remediation item for any exposed deployment. The affected product appears niche, but unrestricted upload with public exploit disclosure can become high impact where the system is reachable.

Technical view

The issue is CWE-434 unrestricted file upload in the user profile update functionality. The CVSS 3.1 score is 6.3 with network access, low complexity, low privileges, and no user interaction. Public reporting describes code execution potential, but sources do not name a vendor patch.

Likely exposure

Exposure is likely limited to organizations running SourceCodester Clinics Patient Management System 2.0, especially internet-facing or broadly accessible deployments with user accounts enabled.

Exploitation context

The sources state the attack can be launched remotely and that exploit details were publicly disclosed. CISA KEV is not indicated in the provided bundle, so active exploitation is not confirmed here.

Researcher notes

Evidence is mostly from CVE/VulDB records and a public proof-of-concept reference. The bundle does not provide vendor remediation details, exploitation telemetry, or a complete affected-version range beyond version 2.0.

Mitigation direction

  • Identify any Clinics Patient Management System 2.0 deployments.
  • Check SourceCodester or maintainer guidance for a fixed release or advisory.
  • Restrict access to authenticated users and trusted networks where possible.
  • Disable or tightly constrain profile image uploads until resolved.
  • Enforce server-side file type, extension, storage, and execution controls.

Validation and detection

  • Confirm whether the affected product and version are present.
  • Review profile image upload handling for server-executable file acceptance.
  • Check web directories for unexpected uploaded executable files.
  • Review access logs for suspicious profile update upload activity.
  • Verify upload directories cannot execute server-side scripts.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-434: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-2297 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L2.83.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.3Medium
CVSS 3.1 vector shape for CVE-2022-2297Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
SourceCodesterClinics Patient Management System2.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-434 · source CWE mapping

Unrestricted Upload of File with Dangerous Type

Unrestricted Upload of File with Dangerous Type represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.