Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Nov 13, 2026

CVE-2025-4283 Scanner

CVE-2025-4283 Scanner - SQL Injection vulnerability in SourceCodester Stock Management System

Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
3
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
6.9
CVSSmedium
Exploitable remotely over the internet · no authentication required.
Description

A vulnerability was found in SourceCodester/oretnom23 Stock Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /classes/Login.php?f=login. The manipulation of the argument Username leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
Stock Management Systemby SourceCodester
1.0
Stock Management Systemby oretnom23
1.0
Updated Nov 13, 2026View on NVD →
Detail

SourceCodester Stock Management System is widely used by businesses to track inventory and manage stock levels effectively. Developed for efficient stock handling, it helps users maintain accurate records and automate stock management processes. The system is typically used by inventory managers, warehouse staff, and administrative personnel in small to medium-sized enterprises. Its interface provides tools for adding, editing, and deleting stock items, and generating inventory reports. With its widespread adoption in various industries, it is crucial to safeguard its integrity and security against malicious threats. As businesses rely heavily on these systems for daily operations, ensuring their security remains paramount.

The SQL Injection vulnerability discovered in SourceCodester Stock Management System allows attackers to manipulate the SQL query processing. This type of injection could potentially allow a remote attacker to execute arbitrary SQL code on the database. By exploiting this flaw, an attacker can access sensitive information and perform unauthorized operations on the database. The vulnerability occurs due to insufficient input validation on the username parameter in the login function. As a result, malicious users can alter SQL queries by injecting crafted payloads, bypassing authentication measures. Proper mitigations and patches are required to prevent such unauthorized access and potential data exfiltration.

The vulnerability specifically lies in the login function of the Stock Management System, located at `/sms/classes/Login.php`. The username parameter is vulnerable to SQL Injection due to unsanitized user input directly interpolated into SQL queries. Attackers can craft an OR-based payload that manipulates the SQL logic, allowing unauthorized access. During an attack, a payload such as `admin' OR '1'='1` could be injected to bypass authentication without needing valid credentials. Successful exploitation results in a bypass of authentication checks, granting attackers administrative control. Immediate remediation measures, such as using prepared statements, are necessary to mitigate this vulnerability.

Exploiting this vulnerability can lead to significant security compromises within the system. An attacker can achieve unauthorized administrative access, which might result in a full database compromise. Such unauthorized access allows attackers to manipulate records, potentially leading to data leaks or loss. Compromised databases may expose sensitive information such as customer details, stock levels, and transaction histories. The integrity and confidentiality of business operations are jeopardized, potentially leading to financial and reputational damage. Quick response and resolution are essential to safeguard against potential threats from exploiting this vulnerability.

REFERENCES

Solution Advice
  • Implement prepared statements with parameterized queries to prevent SQL Injection.
  • Validate and sanitize all user inputs to prevent potential SQL manipulations.
  • Limit database permissions to reduce exposure in the event of a compromise.
  • Regularly update and patch the software to incorporate security improvements.
  • Employ a web application firewall to detect and block malicious SQL payloads.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.