How I Found My First RCE — CVE-2026–37748
The Visitor Management System v1.0 allows an authenticated admin to upload a PHP file without any validation, which is then stored in a web-accessible directory and can be executed. An attacker with admin access could upload a webshell and run arbitrary commands on the server, achieving full remote code execution.
medium.com
Published on medium.com
My name is Varad AP Mene, an independent security researcher and bug hunter from India. Over the past few years I have been actively hunting vulnerabilities across the web and have successfully secured 100+ organizations including tech giants like NVIDIA, NASA, and many more through responsible disclosure.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The application saves uploaded files using their original name and extension into a web-accessible directory without any validation of file type, extension, or content.
Impact
An authenticated admin could execute arbitrary commands on the server, leading to full server compromise, including reading, modifying, or deleting files and accessing sensitive data.
What the attacker needed
Admin authentication; default admin credentials (admin/admin)
The fix
The application should validate uploaded files by checking MIME type and extension, rename files, and store them outside the webroot or block PHP execution in the upload directory.
How it was found
- Create a PHP webshell file.
- Log in to the admin panel using default credentials.
- Navigate to the admin user creation page and upload the webshell as the profile image.
- Visit the uploaded file's URL with a command parameter to execute commands.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A file upload feature that does not check what kind of file is being uploaded is dangerous. Here, the application saved any file, including a PHP script, into a folder that the web server can run. An attacker who can log in as an admin could upload a small program that lets them run commands on the server, taking control of it.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.