Ameeba Exploit Tracker

Tracking CVEs, exploits, and zero-days for defensive cybersecurity research.

Ameeba Blog Search
TRENDING · 1 WEEK
Attack Vector
Vendor
Severity

CVE-2025-50349: Directory Traversal Vulnerability in PHPGurukul Pre-School Enrollment System Project V1.0

Ameeba Chat Store screens
Download Ameeba Chat

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

Ameeba Chat Icon Escape the Surveillance Era

Most apps won’t tell you the truth.
They’re part of the problem.

Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.

Ameeba Chat gives you a way out.

  • • No phone number
  • • No email
  • • No personal info
  • • Anonymous aliases
  • • End-to-end encrypted

Chat without a trace.

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.

Want to discuss this further? Join the Ameeba Cybersecurity Group Chat.

Disclaimer:

The information and code presented in this article are provided for educational and defensive cybersecurity purposes only. Any conceptual or pseudocode examples are simplified representations intended to raise awareness and promote secure development and system configuration practices.

Do not use this information to attempt unauthorized access or exploit vulnerabilities on systems that you do not own or have explicit permission to test.

Ameeba and its authors do not endorse or condone malicious behavior and are not responsible for misuse of the content. Always follow ethical hacking guidelines, responsible disclosure practices, and local laws.
Ameeba Chat