CVE-2025-4782: SQL Injection in SourceCodester Stock Management System
A vulnerability has been found in SourceCodester/oretnom23 Stock Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /sms/admin/?page=receiving/view_receiving&id=1. The manipulation of the argument ID leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
AI Analysis
Technical Summary
CVE-2025-4782 is a SQL Injection vulnerability identified in SourceCodester's Stock Management System version 1.0. The vulnerability exists in the web application component located at the endpoint /sms/admin/?page=receiving/view_receiving&id=1, where the 'id' parameter is improperly sanitized. This allows an attacker to inject malicious SQL code remotely without requiring authentication or user interaction. The injection flaw can be exploited to manipulate backend database queries, potentially enabling unauthorized data access, data modification, or disruption of database availability. Although the exact code segment is unspecified, the vulnerability is classified as medium severity with a CVSS 4.0 score of 5.3, reflecting a network attack vector with low privileges required and no user interaction needed. The vulnerability affects only version 1.0 of the product, and no official patches or fixes have been published yet. No known exploits are currently observed in the wild, but public disclosure of the exploit code increases the risk of exploitation attempts.
Potential Impact
For European organizations using SourceCodester Stock Management System 1.0, this vulnerability poses a significant risk to the confidentiality, integrity, and availability of inventory and stock management data. Exploitation could lead to unauthorized disclosure of sensitive business information, manipulation of stock records, or disruption of supply chain operations. This can result in financial losses, reputational damage, and operational downtime. Given the critical role stock management systems play in logistics and retail sectors, exploitation could cascade into broader business process failures. The medium severity rating indicates that while the vulnerability is exploitable remotely without authentication, the impact is somewhat limited by the low privileges required and the lack of complete system compromise. However, organizations with inadequate network segmentation or exposed administrative interfaces are at higher risk.
Mitigation Recommendations
Organizations should immediately audit their deployment of SourceCodester Stock Management System to identify if version 1.0 is in use. Since no official patch is available, temporary mitigations include restricting access to the affected administrative endpoint via network-level controls such as firewalls or VPNs, implementing web application firewalls (WAFs) with custom rules to detect and block SQL injection payloads targeting the 'id' parameter, and conducting thorough input validation and sanitization on all user-supplied parameters. Additionally, organizations should monitor logs for suspicious query patterns or unusual access to the /sms/admin/ page. Planning an upgrade to a patched or newer version once available is critical. Regular backups and incident response readiness should be ensured to mitigate potential data loss or compromise.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland
CVE-2025-4782: SQL Injection in SourceCodester Stock Management System
Description
A vulnerability has been found in SourceCodester/oretnom23 Stock Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /sms/admin/?page=receiving/view_receiving&id=1. The manipulation of the argument ID leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
AI-Powered Analysis
Technical Analysis
CVE-2025-4782 is a SQL Injection vulnerability identified in SourceCodester's Stock Management System version 1.0. The vulnerability exists in the web application component located at the endpoint /sms/admin/?page=receiving/view_receiving&id=1, where the 'id' parameter is improperly sanitized. This allows an attacker to inject malicious SQL code remotely without requiring authentication or user interaction. The injection flaw can be exploited to manipulate backend database queries, potentially enabling unauthorized data access, data modification, or disruption of database availability. Although the exact code segment is unspecified, the vulnerability is classified as medium severity with a CVSS 4.0 score of 5.3, reflecting a network attack vector with low privileges required and no user interaction needed. The vulnerability affects only version 1.0 of the product, and no official patches or fixes have been published yet. No known exploits are currently observed in the wild, but public disclosure of the exploit code increases the risk of exploitation attempts.
Potential Impact
For European organizations using SourceCodester Stock Management System 1.0, this vulnerability poses a significant risk to the confidentiality, integrity, and availability of inventory and stock management data. Exploitation could lead to unauthorized disclosure of sensitive business information, manipulation of stock records, or disruption of supply chain operations. This can result in financial losses, reputational damage, and operational downtime. Given the critical role stock management systems play in logistics and retail sectors, exploitation could cascade into broader business process failures. The medium severity rating indicates that while the vulnerability is exploitable remotely without authentication, the impact is somewhat limited by the low privileges required and the lack of complete system compromise. However, organizations with inadequate network segmentation or exposed administrative interfaces are at higher risk.
Mitigation Recommendations
Organizations should immediately audit their deployment of SourceCodester Stock Management System to identify if version 1.0 is in use. Since no official patch is available, temporary mitigations include restricting access to the affected administrative endpoint via network-level controls such as firewalls or VPNs, implementing web application firewalls (WAFs) with custom rules to detect and block SQL injection payloads targeting the 'id' parameter, and conducting thorough input validation and sanitization on all user-supplied parameters. Additionally, organizations should monitor logs for suspicious query patterns or unusual access to the /sms/admin/ page. Planning an upgrade to a patched or newer version once available is critical. Regular backups and incident response readiness should be ensured to mitigate potential data loss or compromise.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- VulDB
- Date Reserved
- 2025-05-15T14:11:31.717Z
- Cisa Enriched
- true
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 682cd0f91484d88663aebe47
Added to database: 5/20/2025, 6:59:05 PM
Last enriched: 7/11/2025, 11:48:59 PM
Last updated: 11/22/2025, 7:24:48 PM
Views: 28
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
China-Linked APT31 Launches Stealthy Cyberattacks on Russian IT Using Cloud Services
MediumCVE-2025-2655: SQL Injection in SourceCodester AC Repair and Services System
MediumCVE-2023-30806: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Sangfor Net-Gen Application Firewall
CriticalCVE-2024-0401: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in ASUS ExpertWiFi
HighCVE-2024-23690: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Netgear FVS336Gv3
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.