PHPGurukul Pre-School Enrollment System Directory Traversal Vulnerability in manage-teachers.php

Vulnerability

A directory traversal vulnerability has been identified in PHPGurukul Pre-School Enrollment System version 1.0, specifically within the manage-teachers.php file. This vulnerability allows remote attackers to traverse directories and delete files on the server.

Impact

Exploitation of this vulnerability allows for unauthorized directory traversal, enabling attackers to access and delete files on the server.

Reproduction

To reproduce this vulnerability, log into the system's backend management. Navigate to the manage-teachers.php file and locate the 'manage-teachers-delete' function. Intercept the request and modify the 'profilepic' parameter to include a directory traversal payload, such as '../../../../../aaa.txt'. Send the request, and the payload will delete the specified file.

Remediation

Users are advised to update to a version that includes proper path validation and filtering to prevent directory traversal. Regular expressions can be employed to restrict path formats.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
1.0
exploitability
6.8
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.