LiveActive security incident?Get immediate response
CVE Record

CVE-2022-2298: SourceCodester Clinics Patient Management System Login Page index.php sql injection

A vulnerability has been found in SourceCodester Clinics Patient Management System 2.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /pms/index.php of the component Login Page. The manipulation of the argument user_name with the input admin' or '1'='1 leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

HighCVSS 7.3Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This vulnerability lets an unauthenticated remote attacker manipulate the login page database query in SourceCodester Clinics Patient Management System 2.0. Successful abuse could expose, alter, or disrupt limited application data. The sources report public exploit disclosure, but the bundle does not show CISA KEV listing or confirmed active exploitation.

Executive priority

Treat as high priority if this application is deployed, because the login page can be attacked remotely without credentials. Prioritize exposure reduction first, then confirm vendor or code-level remediation.

Technical view

CVE-2022-2298 is a CWE-89 SQL injection in /pms/index.php Login Page, triggered through the user_name argument in SourceCodester Clinics Patient Management System 2.0. CVSS 3.1 is 7.3, with network access, low complexity, no privileges, and no user interaction required. Public PoC material exists.

Likely exposure

Exposure is limited to organizations running SourceCodester Clinics Patient Management System 2.0, especially if /pms/index.php is reachable from the internet or untrusted networks.

Exploitation context

The exploit is publicly disclosed according to the CVE bundle and VulDB reference. KEV is false in the supplied data, so active exploitation should not be claimed from these sources alone.

Researcher notes

Evidence identifies the vulnerable component, parameter, version, CWE, CVSS vector, and public PoC reference. The provided sources do not identify an official patch, affected versions beyond 2.0, or confirmed exploitation in the wild.

Mitigation direction

  • Check SourceCodester or project guidance for a fixed release or official patch.
  • Remove public access to /pms/index.php until remediation is verified.
  • Place the application behind VPN, SSO, or strict IP allowlists where feasible.
  • If self-maintained, replace vulnerable login SQL with parameterized database queries.
  • Review database and application logs for suspicious login activity.

Validation and detection

  • Inventory systems for SourceCodester Clinics Patient Management System version 2.0.
  • Confirm whether /pms/index.php is reachable from internet or untrusted networks.
  • Review login handling for unsafe use of the user_name parameter in SQL.
  • Run only non-destructive validation in staging or with explicit authorization.
  • Check logs for SQL errors, anomalous logins, or unusual access to the login page.
Prepared
Confidence
high
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-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. 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
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-2298 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
High
CVSS
7.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/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
7.3CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L3.93.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.3High
CVSS 3.1 vector shape for CVE-2022-2298Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/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.