SQL Injection Vulnerability in SourceCodester Stock Management System 1.0
CVE-2025-4787

5.3MEDIUM

Key Information:

Vendor
CVE Published:
16 May 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-4787?

A SQL injection vulnerability has been identified in the SourceCodester Stock Management System version 1.0, specifically within the '/admin/?page=sales/view_sale' function. By manipulating the ID argument, an attacker could execute arbitrary SQL code, potentially compromising the integrity and confidentiality of the database. This flaw allows for remote exploitation and has been publicly disclosed, posing a significant security risk for users of the affected system.

Affected Version(s)

Stock Management System 1.0

Stock Management System 1.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Th3W0lf (VulDB User)
.