CVE-2025-5369 in PHP Display Username After Logininfo

Summary

by MITRE • 05/31/2025

A vulnerability classified as critical has been found in SourceCodester PHP Display Username After Login 1.0. Affected is an unknown function of the file /login.php. The manipulation of the argument Username leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 06/03/2025

This critical vulnerability exists in the SourceCodester PHP Display Username After Login version 1.0 application where an SQL injection flaw has been identified in the login.php file. The vulnerability specifically affects an unknown function within this file and occurs when the Username argument is manipulated, allowing attackers to execute malicious SQL commands. The flaw represents a significant security risk as it enables remote exploitation without requiring local system access, making it particularly dangerous for web applications that handle user authentication and data management. This type of vulnerability directly impacts the integrity and confidentiality of user data stored within the application's database system.

The technical exploitation of this SQL injection vulnerability follows standard attack patterns where malicious input is passed through the Username parameter to manipulate the underlying database queries. Attackers can leverage this flaw to extract sensitive information from the database, modify existing records, or even gain unauthorized administrative access to the system. The vulnerability's classification as critical indicates that it can be exploited without authentication and may allow for complete system compromise. This aligns with CWE-89 which categorizes SQL injection vulnerabilities as serious weaknesses in software applications that allow attackers to manipulate database queries through unvalidated input.

The operational impact of this vulnerability extends beyond simple data theft, as it can lead to full system compromise and unauthorized access to user accounts. Remote exploitation capabilities mean that attackers can target the application from anywhere on the internet without requiring physical access to the system. The disclosure of the exploit to the public significantly increases the risk level, as it provides attackers with ready-made tools and techniques to target vulnerable installations. Organizations using this specific version of the PHP Display Username After Login application face immediate security threats and potential data breaches.

Mitigation strategies should include immediate patching of the affected application to version 1.0 or later releases that address this SQL injection vulnerability. Input validation and parameterized queries should be implemented to prevent malicious SQL code from being executed. Network segmentation and firewall rules can help limit access to the vulnerable application until proper patches are applied. Security monitoring should be enhanced to detect potential exploitation attempts through unusual database query patterns. Organizations should also conduct comprehensive vulnerability assessments to identify other potentially affected systems and ensure proper input sanitization practices are implemented across all application components. This vulnerability demonstrates the importance of maintaining current software versions and implementing proper security controls to prevent exploitation of known vulnerabilities.

Responsible

VulDB

Disclosure

05/31/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00410

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!