CVE-2025-6871 Details
Description
A vulnerability classified as critical has been found in SourceCodester Simple Company Website 1.0. This affects an unknown part of the file /classes/Login.php. The manipulation of the argument Username leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
A critical SQL injection vulnerability has been identified in SourceCodester Simple Company Website version 1.0. The issue resides in the Login.php file, specifically within the login functionality. The vulnerability allows remote attackers to inject malicious SQL queries through the 'username' parameter, exploiting inadequate input validation. This exploitation could lead to unauthorized database access, data manipulation, and exposure of sensitive information.
To address this vulnerability, it is recommended to implement prepared statements and parameter binding to separate SQL code from user input, ensuring proper input validation and filtering. Additionally, minimizing database user permissions and conducting regular security audits can help maintain overall system security.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ez-lbz/poc/issues/27 | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.314343 | [email protected] | Permissions Required |
| https://vuldb.com/?id.314343 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.603641 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| oretnom23 simple company website | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jul 1, 2025 | Initial Analysis | [email protected] |
| Jun 29, 2025 | New CVE Received | [email protected] |