

![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Sorry to hear that but you will not be the last since there is no urgency by the developers to solve this. Anyone using 0.9.9 should disable their sites immediately or risk the same thing. This is not a small risk, this is a critical risk to any site using this version. The exploit code works WAY too well. |
| |||
| http://www.pickknow.com/ - another pligg down |
| |||
| Ok. There is a temporary solution to avoid using that script. You need give the files admin_editor.php and settemplate.php chmod 000 or copy it to your hard disk and delete it from your hosting. The exploit use admin_editor.php to edit your template files, after chmodiing or deleting they can't edit it. They can get the name of admin (in standard) but the can't do nothing more. That's only temporary fix, when Pligg team release update you can put files to your web host. |
| |||
| Quote:
|
| |||
| Thanks catchpen. I look into that files and find simple solution. You need to open file vote.php, then find line: Code: if($_POST['id']){
Code: if(is_numeric($_POST['id'])){
Code: if(file_exists("./templates/".$_GET['template']."/link_summary.tpl")){
Code: if(file_exists("./templates/".$_GET['template']."/link_summary.tpl")) && strpos('.', $_GET['template']) === 0){
Code: $username = trim($_POST['username']); $password = trim($_POST['password']); Code: $username = sanitize(trim($_POST['username']), 3); $password = sanitize(trim($_POST['password']), 3); Code: $username = trim($_POST['username']); Code: $username = $db->escape(trim($_POST['username'])); find: Code: $username = trim($_GET['username']); Code: $username = sanitize(trim($_GET['username']), 3); Open cvote.php, then find: Code: $comment->id=$_POST['id']; after that paste: Code: if(!is_numeric($comment->id)){die();}
Open edit.php, then find: Code: $link->commentid=$_REQUEST['commentid']; Code: if(!is_numeric($link->commentid)){die();}
Last edited by ddluk; 07-31-2008 at 06:07 PM. Reason: bug |
| ||||
| Do we know if this exploit only applies to v9.9 or previous versions as well? |
| |||
| After that code changing exploit doesn't work |
| |||
| I made all of those changes and the exploit script still gets my shell access. |
| |||
| Ok I have updated my code. Posting, viewing, voting all seem to work |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where to download version 9.9.0? | unv1 | Questions and Comments | 6 | 05-03-2009 08:03 PM |
| Moving servers and version 9.8 -> 9.9.0 | johnsteel | Questions and Comments | 5 | 05-16-2008 04:21 PM |
| Does your Category load via version 9.9.0? | Loz07 | Questions and Comments | 1 | 05-04-2008 10:30 PM |
| [SOLVED]  character issue - 9.9.0 | animas | Questions and Comments | 2 | 01-30-2008 01:00 AM |
| [SOLVED] Version number doesn't update after upgrade | AshMCairo | Questions and Comments | 8 | 12-13-2007 12:02 PM |