CVE-2025-7601 in Online Library Management Systeminfo

Summary

by MITRE • 07/14/2025

A vulnerability has been found in PHPGurukul Online Library Management System 3.0 and classified as problematic. This vulnerability affects unknown code of the file /admin/student-history.php. The manipulation of the argument stdid leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 07/14/2025

The vulnerability identified as CVE-2025-7601 represents a critical cross site scripting flaw within the PHPGurukul Online Library Management System version 3.0. This security weakness specifically targets the administrative component of the system, namely the student-history.php file which serves as a interface for library administrators to access historical student records. The vulnerability arises from inadequate input validation and sanitization mechanisms that fail to properly process user-supplied data, creating an avenue for malicious actors to inject harmful scripts into the application's response. The affected parameter stdid, which likely represents a student identification number, becomes the entry point for attackers to execute malicious code within the context of other users' browsers. This particular vulnerability is classified under CWE-79 as a Cross-Site Scripting attack, which is one of the most prevalent and dangerous web application security flaws. The attack vector is remotely exploitable, meaning that an attacker can initiate the malicious payload without requiring physical access to the system or local network presence.

The operational impact of this vulnerability extends beyond simple data theft or defacement, as it can enable sophisticated attack chains that leverage the compromised user sessions. When an authenticated administrator or other user accesses the vulnerable page with maliciously crafted stdid parameters, the injected scripts execute in their browser context, potentially leading to session hijacking, credential theft, or redirection to malicious sites. The fact that this exploit has been publicly disclosed significantly increases the risk profile, as it removes the element of surprise that attackers typically rely upon for successful exploitation. The vulnerability can be particularly dangerous in library management environments where sensitive student data is stored, as successful exploitation could lead to unauthorized access to personal information, academic records, and other confidential data. This type of vulnerability directly violates the principle of least privilege and can undermine the integrity of the entire library management system.

Security practitioners should implement immediate mitigations to protect against this vulnerability, including input validation that strictly enforces student ID formats, output encoding of all user-supplied data before rendering in web pages, and the implementation of Content Security Policies to prevent script execution. The recommended approach aligns with ATT&CK technique T1566 which involves social engineering through malicious code injection, and the remediation efforts should follow the principle of defense in depth as outlined in NIST SP 800-53. Organizations should also consider implementing web application firewalls to detect and block malicious requests targeting this specific vulnerability. Regular security assessments and code reviews should be conducted to identify similar input validation weaknesses throughout the application codebase, as this vulnerability likely indicates broader security gaps in the system's data handling processes. The disclosure of the exploit further emphasizes the importance of timely patching and vulnerability management procedures to prevent exploitation of known weaknesses in production environments.

Responsible

VulDB

Disclosure

07/14/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00232

KEV

no

Activities

low

Sector

Education

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!