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: 8/7/2025, 3:42:23 AM
Views: 14
Related Threats
CVE-2025-55161: CWE-918: Server-Side Request Forgery (SSRF) in Stirling-Tools Stirling-PDF
HighCVE-2025-25235: CWE-918 Server-Side Request Forgery (SSRF) in Omnissa Secure Email Gateway
HighCVE-2025-55151: CWE-918: Server-Side Request Forgery (SSRF) in Stirling-Tools Stirling-PDF
HighCVE-2025-55150: CWE-918: Server-Side Request Forgery (SSRF) in Stirling-Tools Stirling-PDF
HighCVE-2025-54992: CWE-611: Improper Restriction of XML External Entity Reference in telstra open-kilda
MediumActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.