Overview
The PHPGurukul Pre-School Enrollment System Project V1.0 is vulnerable to a directory traversal attack, as discovered in the update-teacher-pic.php file. This vulnerability allows potential unauthorized data access, system compromise, and data leakage, affecting businesses and individuals who use this system for their pre-school enrollment processes. It is a critical vulnerability that demands immediate attention due to its high severity score.
Vulnerability Summary
CVE ID: CVE-2025-50349
Severity: High (7.5 CVSS score)
Attack Vector: Network
Privileges Required: Low
User Interaction: None
Impact: System compromise and potential data leakage
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
PHPGurukul Pre-School Enrollment System Project | V1.0
How the Exploit Works
The exploit takes advantage of inadequate security measures in the handling of file paths in the update-teacher-pic.php file. An attacker can manipulate file paths to gain unauthorized access to directories and files outside of the intended directory, thereby gaining access to sensitive information or compromising the system.
Conceptual Example Code
Below is a conceptual example showing how an HTTP request might manipulate the file path to exploit this vulnerability:
POST /update-teacher-pic.php HTTP/1.1
Host: target.example.com
Content-Type: application/json
{
"pic_path": "../../../../etc/passwd"
}
In this example, the attacker tries to access the /etc/passwd file, which is a sensitive file outside the intended directory. This file contains user password information, which could potentially lead to a system compromise if accessed by an unauthorized user.
Mitigation Guidance
Users of the affected system are advised to apply the vendor patch immediately as a permanent solution. As a temporary mitigation, the use of a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can be employed to monitor and block suspicious activities.
