SourceCodester Simple E-Learning System classroom.php post_id sql injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.7$0-$5k0.99

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. The impact remains unknown. An attacker might be able inject and/or alter existing SQL statements which would influence the database exchange.

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 pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 08/05/2022). 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.

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

Productinfo

Type

Vendor

Name

CPE 2.3info

CPE 2.2info

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
🔍🔍🔍🔍🔍🔍
🔍🔍🔍🔍🔍🔍
🔍🔍🔍🔍🔍🔍
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

Exploitinginfo

Class: Sql injection
CWE: CWE-89
ATT&CK: T1505

Local: No
Remote: Yes

Availability: 🔒
Access: Public
Status: Proof-of-Concept

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

08/05/2022 Advisory disclosed
08/05/2022 +0 days VulDB entry created
08/05/2022 +0 days VulDB last update

Sourcesinfo

Status: Not defined

CVE: CVE-2022-2665 (🔒)
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 08/05/2022 07:18 AM
Changes: (1) vulnerability_sourcecode
Complete: 🔍
Submitter: wuerror

Comments

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!