SourceCodester Canteen Management System POST Request ajax_invoice.php query Search sql injection

A vulnerability was found in SourceCodester Canteen Management System (affected version unknown). It has been rated as critical. This issue affects the function query of the file ajax_invoice.php of the component POST Request Handler. The manipulation of the argument search with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability.

The weakness was presented 11/30/2022. It is possible to read the advisory at jianshu.com. The identification of this vulnerability is CVE-2022-4222. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1505 according to MITRE ATT&CK.

The exploit is available at jianshu.com. It is declared as proof-of-concept. By approaching the search of inurl:ajax_invoice.php it is possible to find vulnerable targets with Google Hacking.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

Productinfo

Vendor

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.6
VulDB Meta Temp Score: 6.5

VulDB Base Score: 5.0
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CNA Base Score: 5.0
CNA Vector (VulDB): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

11/30/2022 🔍
11/30/2022 +0 days 🔍
11/30/2022 +0 days 🔍
12/24/2022 +24 days 🔍

Sourcesinfo

Vendor: sourcecodester.com

Advisory: jianshu.com
Status: Not defined

CVE: CVE-2022-4222 (🔍)
GCVE (CVE): GCVE-0-2022-4222
GCVE (VulDB): GCVE-100-214523
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 11/30/2022 06:50
Updated: 12/24/2022 09:57
Changes: 11/30/2022 06:50 (42), 12/24/2022 09:52 (2), 12/24/2022 09:57 (21)
Complete: 🔍
Submitter: sanc
Cache ID: 152:AC2:65

Submitinfo

Accepted

  • Submit #53884: Canteen Management System ajax_invoice.php sql injection (by sanc)

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!