Skip to main content

CVE-2025-9656: Cross Site Scripting in PHPGurukul Directory Management System

Medium
VulnerabilityCVE-2025-9656cvecve-2025-9656
Published: Fri Aug 29 2025 (08/29/2025, 15:32:07 UTC)
Source: CVE Database V5
Vendor/Project: PHPGurukul
Product: Directory Management System

Description

A security vulnerability has been detected in PHPGurukul Directory Management System 2.0. This vulnerability affects unknown code of the file /admin/add-directory.php. The manipulation of the argument fullname leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.

AI-Powered Analysis

AILast updated: 08/29/2025, 16:03:04 UTC

Technical Analysis

CVE-2025-9656 is a cross-site scripting (XSS) vulnerability identified in version 2.0 of the PHPGurukul Directory Management System. The vulnerability resides in the /admin/add-directory.php file, specifically in the handling of the 'fullname' parameter. An attacker can remotely manipulate this parameter to inject malicious scripts, which are then executed in the context of the victim's browser. This type of vulnerability allows attackers to perform actions such as session hijacking, defacement, or redirecting users to malicious sites. The vulnerability does not require authentication or privileges, and no user interaction is strictly necessary beyond visiting a crafted URL or submitting a malicious payload. The CVSS 4.0 base score is 5.3, indicating a medium severity level, with the vector showing network attack vector, low attack complexity, no privileges required, but user interaction is needed. The impact on confidentiality is none, integrity is low, and availability is none, meaning the primary risk is to the integrity of user sessions or data via script injection. Although no known exploits are currently in the wild, the public disclosure of the exploit code increases the risk of exploitation. No official patches or mitigation links are provided yet, so organizations must rely on other defensive measures until an update is available.

Potential Impact

For European organizations using PHPGurukul Directory Management System 2.0, this vulnerability poses a moderate risk primarily to administrative users who access the /admin/add-directory.php interface. Successful exploitation could lead to session hijacking or unauthorized actions performed under the context of an admin user, potentially compromising directory data integrity. This could disrupt internal directory management processes, leading to operational inefficiencies or data manipulation. While the vulnerability does not directly impact confidentiality or availability, the injected scripts could be used as a foothold for further attacks or social engineering campaigns. Given the administrative nature of the affected page, organizations with sensitive directory data or those relying heavily on this system for internal user or resource management are at higher risk. The medium severity suggests that while urgent, the threat is not critical, but should be addressed promptly to prevent exploitation, especially as the exploit code is publicly available.

Mitigation Recommendations

1. Immediate mitigation should include implementing strict input validation and output encoding on the 'fullname' parameter within /admin/add-directory.php to neutralize any injected scripts. 2. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser context. 3. Restrict access to the admin interface by IP whitelisting or VPN access to reduce exposure. 4. Monitor web server logs for suspicious requests targeting the vulnerable parameter. 5. Educate administrative users about the risks of clicking on untrusted links or submitting unverified inputs. 6. If possible, temporarily disable or restrict the add-directory functionality until a patch is released. 7. Regularly check for official patches or updates from PHPGurukul and apply them as soon as they become available. 8. Consider deploying Web Application Firewalls (WAF) with rules to detect and block common XSS payloads targeting this parameter.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-08-29T07:05:50.020Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68b1cba6ad5a09ad007921e5

Added to database: 8/29/2025, 3:47:50 PM

Last enriched: 8/29/2025, 4:03:04 PM

Last updated: 8/29/2025, 5:04:31 PM

Views: 4

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats