Skip to main content

PHP EUVDEUVD-2025-18923

| CVE-2025-50348 HIGH
Path Traversal (CWE-22)
2025-06-23 cve@mitre.org
7.5
CVSS 3.1 · NVD
View

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

NVD PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
PoC Detected
Jun 25, 2025 - 13:08 vuln.today
Public exploit code
CVE Published
Jun 23, 2025 - 19:15 nvd
HIGH 7.5

DescriptionCVE.org

PHPGurukul Pre-School Enrollment System Project V1.0 is vulnerable to Directory Traversal in update-class-pic.php.

Executive ViewAI

Why It Matters

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.

Recommended Action

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 27% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy