{"id":"MSF-linux--http--vcms_upload","name":"V-CMS PHP File Upload and Execute","description":"This module exploits a vulnerability found on V-CMS's inline image upload feature. The problem is due to the inline_image_upload.php file not checking the file type before saving it on the web server. This allows any malicious user to upload a script (such as PHP) without authentication, and then execute it with a GET request. The issue is fixed in 1.1 by checking the extension name. By default, 1.1 only allows jpg, jpeg, png, gif, bmp, but it is still possible to upload a PHP file as one of those extension names, which may still be leveraged in an attack.","cves":["CVE-2011-4828"],"author":"AutoSec Tools, sinn3r","published":"2011-11-27","platform":"Linux,PHP","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/linux/http/vcms_upload.rb","path":"modules/exploits/linux/http/vcms_upload.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"vcms_upload.rb","vulnerabilities":[{"id":"CVE-2011-4828","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unrestricted file upload vulnerability in includes/inline_image_upload.php in AutoSec Tools V-CMS 1.0 allows remote attackers to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in temp/.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-4828","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-4828"},"updatedAt":"2024-09-17T02:47:38.916Z","retrievedAt":"2026-11-26T15:15:18.602Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-linux--http--vcms_upload.png?v=2","url":"https://exploitbin.com/exploits/MSF-linux--http--vcms_upload","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--vcms_upload/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--vcms_upload/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}