Exploit database

Vulnerability

CVE-2011-4828

Vulnerability details

Score
7.5
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:P/I:P/A:P

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/.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

2 sources
V-CMS PHP File Upload and Execute
MSF-linux--http--vcms_uploadMetasploitLinux,PHP / remote

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.

2011-11-27vcms_upload.rb