Description
Vvveb CMS v1.0.8 contains a remote code execution vulnerability in its media management functionality where a missing return statement in the file rename handler allows authenticated attackers to rename files to blocked extensions .php or .htaccess. Attackers can exploit this logic flaw by first uploading a text file and renaming it to .htaccess to inject Apache directives that register PHP-executable MIME types, then uploading another file and renaming it to .php to execute arbitrary operating system commands as the www-data user.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
1.0.8 (semver)
Credits
Mohammed EL OUARDANI
References
github.com/...ommit/6fb8eaa998265e33e8802cbc220d8859dbc144f2 (Patch Commit)
www.vulncheck.com/...ote-code-execution-via-media-management