CVE-2026-10877

SourceCodester Ship Ferry Ticket Reservation System Admin Login login.php sql injection

Published Jun 4, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in SourceCodester Ship Ferry Ticket Reservation System up to 1.0. This impacts an unknown function of the file /admin/login.php of the component Admin Login. Such manipulation of the argument Username leads to sql injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.

Analysis

AI-generated

Technical impact

The vulnerability is a SQL injection in the username field of the /admin/login.php script of SourceCodester’s Ship Ferry Ticket Reservation System. By injecting crafted SQL, an unauthenticated attacker can bypass authentication and gain administrative access. The flaw is linked to CWE-74 (URL Encoding Manipulation) and CWE-89 (SQL Injection). This results in unauthorized system control, enabling potential data theft, modification or deletion.

Affected Systems

The flaw exists in SourceCodester Ship Ferry Ticket Reservation System version 1.0 and earlier. The affected component is the Admin Login module located at /admin/login.php. All deployments of the vulnerable version by SourceCodester are susceptible.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate risk. EPSS is not available, but the publicly disclosed exploit demonstrates feasibility. Because the vulnerability is remote and triggered by a simple form submission, an attacker with internet access can exploit it without prior credentials. The vulnerability is not listed in CISA’s KEV catalog, yet the ease of exploitation and potential impact warrant prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the system to a patched version that fixes the SQL injection in admin/login.php.
  • If a patch is not available, rewrite the login functionality to use prepared statements and validate the username input to prevent SQL injection.
  • Limit access to the admin login endpoint to trusted networks or enforce IP whitelisting.

Generated by OpenCVE AI on June 5, 2026 at 03:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A security vulnerability has been detected in SourceCodester Ship Ferry Ticket Reservation System up to 1.0. This impacts an unknown function of the file /admin/login.php of the component Admin Login. Such manipulation of the argument Username leads to sql injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.
Title SourceCodester Ship Ferry Ticket Reservation System Admin Login login.php sql injection
First Time appeared Sourcecodester
Sourcecodester ship Ferry Ticket Reservation System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:ship_ferry_ticket_reservation_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester ship Ferry Ticket Reservation System
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 8, 2026, 6:31 PM
Reserved
Jun 4, 2026, 3:37 PM
Status
Deferred
Published
Jun 5, 2026, 12:16 AM
Modified
Jul 23, 2026, 7:10 AM