Authenticated file deletion via unfiltered teacherpic path
Published Jun 26, 2025 · Updated Jun 26, 2025
Path traversal in PHPGurukul Pre-School Enrollment System 1.0 allows remote authenticated users to delete server files via teacherpic. In manage-classes.php, the deletion path concatenates the unfiltered teacherpic parameter into tpicpath and passes the result to unlink(). Access to the back-end class-deletion function and a valid session are required, and files writable by the web process can be removed outside the intended image directory.
Summary
What happened
Path traversal in PHPGurukul Pre-School Enrollment System 1.0 allows remote authenticated users to delete server files via teacherpic. In manage-classes.php, the deletion path concatenates the unfiltered teacherpic parameter into tpicpath and passes the result to unlink(). Access to the back-end class-deletion function and a valid session are required, and files writable by the web process can be removed outside the intended image directory.
The record
- CVE
- CVE-2025-50350
- Published
- Jun 26, 2025
- Updated
- Jun 26, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-22, T1070.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 26, 2025CVE publishedPublication date reported by the CVE source.
- Jun 26, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- manage-classes.php teacherpic path-traversal proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo