LiveActive security incident?Get immediate response
CVE Record

CVE-2022-2492: SourceCodester Library Management System index.php sql injection

A vulnerability was found in SourceCodester Library Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /index.php. The manipulation of the argument RollNo with the input admin' AND (SELECT 2625 FROM (SELECT(SLEEP(5)))MdIL) AND 'KXmq'='KXmq&Password=1231312312 leads to sql injection. The attack may be initiated 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

SourceCodester Library Management System 1.0 has a SQL injection issue in its index page. An attacker with low privileges could manipulate a login-related field to affect the database. The public bundle says exploit details were disclosed, but it does not show confirmed active exploitation.

Executive priority

Treat this as a targeted remediation item for any known deployment. It is not KEV-listed, but public exploit disclosure and remote reachability make internet-facing instances unsuitable to leave unreviewed.

Technical view

CVE-2022-2492 is a CWE-89 SQL injection in /index.php handling of the RollNo argument. CVSS 3.1 is 6.3: network reachable, low complexity, low privileges, no user interaction, unchanged scope, and low confidentiality, integrity, and availability impact. Affected version is SourceCodester Library Management System 1.0.

Likely exposure

Exposure appears limited to deployments of SourceCodester Library Management System 1.0, especially reachable web login/index pages. The source bundle does not provide CPEs, deployment prevalence, affected forks, or confirmation that later versions are affected.

Exploitation context

The CVE description says the exploit has been publicly disclosed and may be used. CISA KEV status is false in the bundle, and no cited source here confirms active exploitation in the wild.

Researcher notes

Evidence is thin: the bundle identifies the affected product, version, endpoint, parameter, CWE, CVSS, and public disclosure, but not a vendor advisory, patch version, or broad exploitation data. Avoid assuming more products or versions are affected.

Mitigation direction

  • Check SourceCodester or project guidance for an updated release or code fix.
  • Restrict external access to the application until exposure is reviewed.
  • If maintaining the code, review database calls for parameterized query handling.
  • Add monitoring for unusual login and database error patterns.
  • Retire unsupported deployments if no maintained fix is available.

Validation and detection

  • Inventory systems for SourceCodester Library Management System version 1.0.
  • Confirm whether /index.php is reachable from untrusted networks.
  • Review /index.php RollNo handling for unsanitized database query construction.
  • Check logs for suspicious login attempts, SQL errors, or timing anomalies.
  • Verify compensating controls before considering the risk reduced.
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-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

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program 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-2492 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-2492Attack 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
SourceCodesterLibrary Management System1.0Listed
Weakness

CWE details

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

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.