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 | The CVSS 3.1 vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) indicates a HIGH severity vulnerability with critical real-world risk characteristics: Network-accessible (AV:N), Low Attack Complexity (AC:L), No authentication required (PR:N), and No user interaction needed (UI:N). While the integrity and availability impacts are none, the high confidentiality impact (C:H) means attackers can access sensitive files such as database configuration files, source code, private keys, or user data. The unauthenticated, remotely exploitable nature with low complexity makes this vulnerability immediately actionable by threat actors. Without KEV or EPSS data provided, the real-world exploitation risk must be assessed as HIGH given the ease of exploitation, public availability of PHPGurukul source code for reverse engineering, and the likelihood that many instances remain unpatched in production education systems. This is a genuine priority vulnerability, not a high-CVSS-but-low-real-risk issue. |
| Exploit ScenarioDerived | An attacker discovers that a school is using PHPGurukul Pre-School Enrollment System v1.0 through public-facing web headers or default paths. The attacker identifies the vulnerable update-class-pic.php endpoint, likely at a URL like 'http://target.school.edu/admin/update-class-pic.php'. Without authentication, the attacker sends a crafted HTTP request with a directory traversal payload in a file path parameter, such as 'pic=../../../etc/passwd' or 'pic=../../../var/www/html/includes/database-config.php'. The application fails to sanitize this input and processes the traversal sequence, returning or processing the contents of /etc/passwd or the database configuration file containing SQL credentials. The attacker extracts database credentials, API keys, or other sensitive configuration data, leading to further compromise such as database access, account enumeration, or lateral movement. Because authentication is not required (PR:N) and the attack is trivial to execute (AC:L), this can be automated at scale across multiple PHPGurukul instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-50348 is a Directory Traversal vulnerability in PHPGurukul Pre-School Enrollment System Project version 1.0, specifically in the update-class-pic.php file. An unauthenticated remote attacker can exploit this vulnerability to read sensitive files from the server, achieving high confidentiality impact without requiring user interaction or special privileges. The vulnerability has a CVSS score of 7.5 (High) with a network-based attack vector and low attack complexity, indicating it is easily exploitable by remote actors; however, exploitation is limited to information disclosure without modification capabilities.
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 is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, 'Path Traversal'), a common input validation flaw in web applications. The vulnerable component update-class-pic.php likely processes file path parameters (such as image upload/update operations) without proper sanitization or validation. The application fails to implement adequate checks to prevent directory traversal sequences (e.g., '../../../etc/passwd') from being used in file path construction. This is typical in PHP web applications that handle file operations without using secure file handling functions or proper input normalization. The vulnerability affects the PHPGurukul project, which is a PHP-based educational enrollment management system commonly used in small institutions.
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-class-pic.php.
Executive ViewAI
A directory traversal vulnerability in the Pre-School Enrollment System allows attackers to access and modify unauthorized files on the server. With a public exploit available and 0.8% exploitation prevalence, this poses an immediate risk to student data, system integrity, and operational continuity for institutions using this software.
Within 24 hours: Disable or restrict access to the update-class-pic.php endpoint via firewall or WAF rules; audit logs for suspicious file access attempts. Within 7 days: Conduct a forensic review of uploaded files and system directories to detect unauthorized modifications; identify all systems running PHPGurukul v1.0 and isolate them if possible. Within 30 days: Migrate to an alternative enrollment system or await vendor patch; if no patch is released, implement strict input validation and path canonicalization controls on the affected endpoint.
Implement WAF rules to block requests containing path traversal patterns (../, ..\ , %2e%2e); restrict file upload directories with strict permissions; disable directory listing; apply network segmentation to limit access to update-class-pic.php; require strong authentication and logging for file upload operations; disable the feature entirely if not critical to operations.
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-18923
NVD
CVE.org
EPSS
GitHub
Exploit-DB