Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | While the CVSS 3.1 score of 7.5 is elevated, this reflects genuine real-world risk given the attack vector (AV:N - network-accessible with no authentication), attack complexity (AC:L - straightforward exploitation), and high confidentiality impact (C:H). The vulnerability is not marked as a KEV (Known Exploited Vulnerability) in the provided intelligence, but the straightforward nature of directory traversal exploitation means public POC code likely exists or can be rapidly developed. EPSS probability data is not provided, but directory traversal in file upload handlers typically exhibits high exploitation probability in practice. The lack of privilege requirements (PR:N) and user interaction (UI:N) makes this highly automatable for mass scanning and exploitation. From an SSVC perspective: exploitation is likely possible (public POC probable), the attack is automatable (script-based), and technical impact is confidentiality disclosure. This is a genuine priority for systems running this software in production, particularly those exposing the application to untrusted networks. |
| Exploit ScenarioDerived | An attacker discovers a PHPGurukul Pre-School Enrollment System v1.0 instance running on school-system.example.com. Without authentication, the attacker crafts a request to the update-teacher-pic.php endpoint with a malicious filename parameter such as '../../../etc/passwd' or a URL-encoded variant. The vulnerable script fails to sanitize the path traversal sequence and processes the request, returning the contents of /etc/passwd or other sensitive files readable by the web server process (www-data, apache, etc.). The attacker gains access to system user information, database credentials from config files, or other sensitive data. Given the lack of authentication requirements and straightforward exploitation mechanics, this could be automated into a mass-scanning tool to identify and exploit unpatched instances. If proof-of-concept code exists in public repositories, exploitation likelihood increases significantly. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
PHPGurukul Pre-School Enrollment System v1.0 contains a directory traversal vulnerability in the update-teacher-pic.php endpoint that allows unauthenticated remote attackers to read arbitrary files from the server with high confidence. An attacker can exploit this network-accessible vulnerability without any privileges or user interaction to disclose sensitive files, potentially exposing database credentials, configuration files, or other system information. The high CVSS score of 7.5 reflects the ease of exploitation (network-accessible, low complexity, no authentication required) and significant confidentiality impact, though this vulnerability does not permit file modification or denial of service.
RemediationAI
Immediate remediation steps: (1) Implement strict input validation on the file parameter in update-teacher-pic.php by using basename() to extract only the filename component and rejecting any input containing '../', '..\', percent-encoded variants (%2e, %2f, %5c), or other path traversal sequences; (2) Enforce a whitelist of allowed file extensions and MIME types; (3) Store uploaded files outside the web root or in a dedicated uploads directory with restricted execution permissions; (4) Use a fixed, randomized filename pattern rather than user-supplied input; (5) Implement authentication and authorization checks to ensure only authorized users can access this endpoint; (6) Check PHPGurukul project repositories (GitHub, SourceForge) for patched versions beyond 1.0; (7) As a temporary workaround, implement Web Application Firewall (WAF) rules to block requests containing '../' sequences to update-teacher-pic.php; (8) Audit access logs for evidence of exploitation. Ideally, upgrade to a patched version if available or switch to actively maintained educational management systems.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in a PHP application's file upload/update functionality (update-teacher-pic.php) that fails to properly sanitize user-supplied input for directory traversal sequences such as '../' or URL-encoded variants like '%2e%2e%2f'. This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) vulnerability where path traversal filters are either absent or bypassable. PHPGurukul Pre-School Enrollment System is a PHP-based educational management system; the vulnerable endpoint likely processes teacher profile picture updates but does not validate that the resulting file path remains within the intended upload directory. An attacker can inject path traversal sequences into file parameters to access files outside the web root, including /etc/passwd, configuration files (config.php, database.yml), or other sensitive system files readable by the web server process.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
PHPGurukul Pre-School Enrollment System Project V1.0 is vulnerable to Directory Traversal in update-teacher-pic.php.
Executive ViewAI
PHPGurukul Pre-School Enrollment System contains a directory traversal vulnerability that allows attackers to access unauthorized files on affected systems. With a public exploit available and 0.8% exploitation probability, organizations running this software face immediate risk of data exfiltration affecting student records and sensitive institutional information.
Implement Web Application Firewall rules blocking directory traversal patterns (../, ..\ sequences) targeting update-teacher-pic.php; restrict HTTP access to the application via IP allowlisting or VPN requirement; disable the teacher picture update feature entirely until patch availability; enforce strict file upload validation and sandboxing; implement file integrity monitoring on sensitive directories; segment pre-school enrollment systems from other network resources; enable verbose logging and SIEM alerting for exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2025-18924
NVD
CVE.org
EPSS
GitHub
Exploit-DB