CVE-2023-7331

MEDIUM5.1/ 10.0
Share:
Published: December 31, 2025 at 09:15 PM
Modified: January 2, 2026 at 04:45 PM
Source: cna@vuldb.com

Vulnerability Description

A vulnerability was detected in PKrystian Full-Stack-Bank up to bf73a0179e3ff07c0d7dc35297cea0be0e5b1317. This vulnerability affects unknown code of the component User Handler. Performing manipulation results in sql injection. It is possible to initiate the attack remotely. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The patch is named 25c9965a872c704f3a9475488dc5d3196902199a. It is suggested to install a patch to address this issue.

CVSS Metrics

Base Score
5.1
Severity
MEDIUM
Vector String
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weaknesses (CWE)

Source: cna@vuldb.com

AI Security Analysis

01 // Technical Summary

PKrystian Full-Stack-Bank is vulnerable to a critical SQL injection vulnerability in the User Handler component, allowing for remote exploitation. This flaw enables attackers to potentially compromise sensitive data and gain unauthorized access to the banking application. Immediate patching is crucial to mitigate the risk of data breaches and financial losses.

02 // Vulnerability Mechanism

Step 1: Input Injection: The attacker crafts a malicious payload containing SQL code designed to manipulate the database query. This payload is typically injected through a user input field, such as a username, password, or other form data handled by the User Handler component.

Step 2: Request Submission: The attacker submits the crafted payload to the vulnerable application, typically via an HTTP POST or GET request.

Step 3: Query Execution: The User Handler component receives the malicious input and incorporates it directly into a SQL query without proper sanitization or parameterization.

Step 4: Database Manipulation: The injected SQL code is executed by the database server, allowing the attacker to perform actions such as retrieving sensitive data (e.g., usernames, passwords, account balances), modifying data (e.g., transferring funds), or even gaining control of the database server itself.

Step 5: Data Exfiltration/Privilege Escalation: Depending on the injected SQL code, the attacker can exfiltrate sensitive data or escalate their privileges within the application and potentially the underlying infrastructure.

03 // Deep Technical Analysis

The vulnerability stems from insufficient input validation within the User Handler component. Specifically, user-supplied data is not properly sanitized before being used in SQL queries. This allows an attacker to inject malicious SQL code, altering the intended query logic. The root cause is a missing or inadequate implementation of parameterized queries or input sanitization functions, leading to the direct concatenation of user-controlled input into SQL statements. The rolling release model complicates version identification, making it difficult to pinpoint specific vulnerable versions, but the patch 25c9965a872c704f3a9475488dc5d3196902199a is the only known mitigation.

CVE-2023-7331 - MEDIUM Severity (5.1) | Free CVE Database | 4nuxd