SourceCodester Simple E-Learning System classroom.php post_id sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.9 | $0-$5k | 0.05 |
A vulnerability classified as critical was found in SourceCodester Simple E-Learning System (Learning Management Software) (affected version unknown). Affected by this vulnerability is an unknown code of the file classroom.php. The manipulation of the argument post_id with an unknown input leads to a sql injection vulnerability. The CWE definition for the vulnerability is CWE-89. The software 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. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was published 08/05/2022. This vulnerability is known as CVE-2022-2665. Technical details and also a public exploit are known. The attack technique deployed by this issue is T1505 according to MITRE ATT&CK. Responsible for the vulnerability is the following code:
$post_id = $_GET['post_id']; $data_query = mysqli_query($con, "SELECT body FROM posts WHERE id='$post_id'"); $body = mysqli_fetch_array($data_query);
It is declared as proof-of-concept. By approaching the search of inurl:classroom.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
Type
Vendor
Name
License
- free
CPE 2.3
CPE 2.2
CVSSv3
VulDB Meta Base Score: 7.1VulDB Meta Temp Score: 6.9
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔒
CNA Base Score: 6.3
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
ATT&CK: T1505
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
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
08/05/2022 Advisory disclosed08/05/2022 CVE reserved
08/05/2022 VulDB entry created
08/30/2022 VulDB last update
Sources
Advisory: vuldb.comStatus: Not defined
CVE: CVE-2022-2665 (🔒)
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/05/2022 07:18Updated: 08/30/2022 12:59
Changes: 08/05/2022 07:18 (39), 08/05/2022 07:19 (1), 08/30/2022 12:51 (3), 08/30/2022 12:59 (21)
Complete: 🔍
Submitter: wuerror
No comments yet. Languages: en.
Please log in to comment.