LiveActive security incident?Get immediate response
CVE Record

CVE-2022-2491: SourceCodester Library Management System lab.php sql injection

A vulnerability has been found in SourceCodester Library Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file lab.php. The manipulation of the argument Section with the input 1' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,CONCAT(0x71716b7171,0x546e4444736b7743575a666d4873746a6450616261527a67627944426946507245664143694c6a4c,0x7162706b71),NULL,NULL,NULL,NULL# leads to sql injection. The attack can 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

CVE-2022-2491 is a SQL injection in SourceCodester Library Management System 1.0. A logged-in attacker can manipulate the Section parameter in lab.php to make the database process unintended queries. Business urgency is moderate: public exploit details exist, but the CVSS score is 6.3 and sources do not show confirmed active exploitation.

Executive priority

Treat this as a focused remediation item for any exposed Library Management System 1.0 instance. It is not KEV-supported emergency work, but public exploit disclosure raises urgency for inventory, access reduction, and code or vendor remediation.

Technical view

The CVE describes CWE-89 SQL injection in lab.php, triggered through the Section argument in SourceCodester Library Management System 1.0. The vector is network-accessible, low complexity, requires low privileges, and needs no user interaction. Expected impact is low confidentiality, integrity, and availability compromise under CVSS 3.1.

Likely exposure

Exposure is likely limited to organizations running SourceCodester Library Management System 1.0, especially where lab.php is reachable by authenticated users over a network. No CPEs or broader affected version ranges are provided in the source bundle.

Exploitation context

The vulnerability has public exploit disclosure according to the CVE description and references. It is not listed as KEV in the supplied bundle, and no cited source confirms active exploitation in the wild.

Researcher notes

Evidence identifies the affected product, version, file, parameter, CWE, and CVSS vector. The source bundle does not name a fixed version, official patch, vendor advisory, or confirmed exploitation. Avoid assuming impact beyond authenticated SQL injection against SourceCodester Library Management System 1.0.

Mitigation direction

  • Identify any SourceCodester Library Management System 1.0 deployments.
  • Check vendor or project guidance for an official fix or replacement.
  • Restrict access to the application and lab.php where business permits.
  • Review server-side handling of Section for parameterized database queries.
  • Consider disabling the affected feature until code is remediated.

Validation and detection

  • Confirm whether the deployed application is SourceCodester Library Management System 1.0.
  • Verify whether lab.php is present and reachable by authenticated users.
  • Review code paths using the Section parameter for unsafe SQL construction.
  • Check application logs for unusual Section parameter activity.
  • Confirm no untrusted input reaches SQL without parameter binding.
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

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-2491 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-2491Attack 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.