CVE-2026-0547
Unrestricted File Upload in PHPGurukul Student Registration Page
Publication date: 2026-01-02
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| phpgurukul | online_course_registration | to 3.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-434 | The product allows the upload or transfer of dangerous file types that are automatically processed within its environment. |
| CWE-284 | The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-0547 is a critical vulnerability in PHPGurukul Online Course Registration up to version 3.1, specifically in the student registration photo upload feature (/admin/edit-student-profile.php). The application does not properly validate or sanitize uploaded files, allowing attackers to upload malicious SVG or HTML files containing embedded JavaScript. When an administrator views or edits a student profile with such a malicious file, the embedded script executes in their browser, potentially leading to session cookie theft, unauthorized administrative actions, or redirection to phishing sites. [1, 3]
How can this vulnerability impact me? :
This vulnerability can impact you by allowing attackers to execute malicious scripts in the context of an administrator's browser. This can lead to theft of session cookies, unauthorized actions performed with administrative privileges, and redirection to phishing sites. It compromises the confidentiality, integrity, and availability of the system and can be exploited remotely with minimal authentication. [1, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking for the presence of the vulnerable endpoint /admin/edit-student-profile.php and monitoring for uploads of malicious files via the photo argument. Attackers may use Google dorking with the query inurl:admin/edit-student-profile.php to identify vulnerable targets. To detect exploitation attempts on your system, you can monitor web server logs for POST requests to /admin/edit-student-profile.php containing file uploads, especially SVG or HTML files. Example commands include using grep on access logs: grep '/admin/edit-student-profile.php' /var/log/apache2/access.log and inspecting uploaded file types in the application upload directory. Additionally, monitoring for unusual file types or scripts in the upload folder can help detect exploitation attempts. [3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting or disabling file uploads via the photo argument in /admin/edit-student-profile.php, implementing strict server-side validation to allow only safe image file types, and sanitizing uploaded files to prevent embedded scripts. Since no known countermeasures or mitigations have been reported, it is recommended to limit access to the vulnerable page to trusted administrators only, monitor for suspicious activity, and apply any available patches or updates from the vendor once released. Additionally, consider implementing web application firewall (WAF) rules to block malicious file uploads and cross-site scripting attempts. [3]