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.
Product
Vendor
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.6VulDB 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): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| unlock | unlock | unlock | unlock | unlock | unlock |
| unlock | unlock | unlock | unlock | unlock | unlock |
| unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Sql injectionCWE: 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-Day | unlock | unlock | unlock | unlock |
|---|---|---|---|---|
| Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
11/30/2022 🔍11/30/2022 🔍
11/30/2022 🔍
12/24/2022 🔍
Sources
Vendor: sourcecodester.comAdvisory: 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
Entry
Created: 11/30/2022 06:50Updated: 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
Submit
Accepted
- Submit #53884: Canteen Management System ajax_invoice.php sql injection (by sanc)
No comments yet. Languages: en.
Please log in to comment.