Exploit database

Vulnerability

CVE-2012-10042

Sflog! CMS 1.0 Arbitrary File Upload RCE

Vulnerability details

Score
8.7
Severity
high

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

Sflog! CMS 1.0 contains an authenticated arbitrary file upload vulnerability in the blog management interface. The application ships with default credentials (admin:secret) and allows authenticated users to upload files via manage.php. The upload mechanism fails to validate file types, enabling attackers to upload a PHP backdoor into a web-accessible directory (blogs/download/uploads/). Once uploaded, the file can be executed remotely, resulting in full remote code execution.

CVE Program

Exploit source choices

2 sources
Sflog! CMS 1.0 Arbitrary File Upload Vulnerability
MSF-multi--http--sflog_upload_execMetasploitLinux,PHP / remote

This module exploits multiple design flaws in Sflog 1.0. By default, the CMS has a default admin credential of "admin:secret", which can be abused to access administrative features such as blogs management. Through the management interface, we can upload a backdoor that's accessible by any remote user, and then gain arbitrary code execution.

2012-07-06sflog_upload_exec.rb