| Autor |
Nachricht |
stefan
Administrator


Anmeldungsdatum: 01.08.2002
Beiträge: 4735
Wohnort: Aachen
|
Verfasst am:
Do 27 März, 2008 12:10 |
  |
A Security Hole was found in the eXtreme Styles Mod which is also used in phpBB2 Plus 1.5x. You should apply this fix NOW:
Open file admin/admin_xs.php
FIND:
| Code: |
if(empty($setmodules))
{
return;
} |
REPLACE WITH:
| Code: |
if (!defined('IN_PHPBB'))
{
die('Hacking attempt');
}
if(empty($setmodules))
{
return;
} |
CyberAlien post:
http://www.phpbbstyles.com/viewtopic.php?p=92240#92240
Other files, potential vulnerability:
Open /includes/functions_kb.php file
FIND:
| Code: |
//
// get_quick_stats();
// gets number of articles
// |
BEFORE ADD:
| Code: |
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
} |
Open /includes/functions.php file
FIND:
| Code: |
| //-- mod : post icon ------------------------------------------------------------------------------- |
BEFORE ADD:
| Code: |
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
} |
Thanks to ThE KuKa for Notification ! |
_________________ Bye
Stefan
Styles Demo Forum :: Download Database :: phpBB2 Plus 1.5x Demo
phpBB2 Toplist :: International phpBB2 Support
Anwesend - Back in Business
Kein Support per PM - No Support via PM |
|
      |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
jonny-b
phpBB2.de User


Anmeldungsdatum: 19.05.2004
Beiträge: 2400
Wohnort: New York City
|
Verfasst am:
Do 27 März, 2008 15:28 |
  |
thanks for the update Kuka! Stefan, whats the good word? Any other updates planned for Plus?
Best,
jB |
_________________ I make themes for Plus 1.53a and phpBB2.
Check out mergenine for more info. |
|
     |
 |
ThE KuKa
phpBB2.de User


Anmeldungsdatum: 20.07.2003
Beiträge: 10
Wohnort: Spain
|
Verfasst am:
Do 27 März, 2008 18:36 |
  |
|
    |
 |
AlleyKat
phpBB2.de User


Anmeldungsdatum: 06.08.2003
Beiträge: 140
|
Verfasst am:
Fr 28 März, 2008 02:06 |
  |
Another one; in includes/kb_cat.php replace the 29. line
| Code: |
$category_id = $_GET['cat'];
|
with
| Code: |
| $category_id = ( isset( $HTTP_GET_VARS['cat'] ) ) ? intval ( $HTTP_GET_VARS['cat']) : intval ( $HTTP_POST_VARS['cat'] ); |
- an exploit is in the wild, so this fix should be applied immediately. |
_________________
 |
|
    |
 |
Latent
phpBB2.de User


Anmeldungsdatum: 01.11.2004
Beiträge: 137
|
Verfasst am:
Fr 28 März, 2008 02:42 |
  |
Thanx the Kuka, stefan and AlleyKat..
what about jonny's question stefan?  |
|
|
   |
 |
Latent
phpBB2.de User


Anmeldungsdatum: 01.11.2004
Beiträge: 137
|
Verfasst am:
Fr 28 März, 2008 03:16 |
  |
|
   |
 |
spott
phpBB2.de User

Anmeldungsdatum: 24.12.2006
Beiträge: 2
|
Verfasst am:
So 30 März, 2008 09:01 |
  |
Hi
I get also hacked. Here is how:
First - IP where I get hacked: 81.192.223.194 - so You can block this IP.
How:
I found from my log files this line:
| Code: |
/kb.php?mode=cat&cat=-99999/**/union/**/select/**/0,1,2,3,concat(user_i,char(58),username,char(58),user_password),5/**/from/**/phpbb_users/**/where/**/user_id=2/news_rss.php HTTP/1.1" 2001" 200 14024 |
What e-amil hacker uses: joshkof@gmail.com
What hacker has made in portal - lucky I think nothing. He get admin access and disables all other admins. Changes also portal e-mail address. I checked the apache logs and I don't find nothing suspected anymore in this IP activity. He look to the portal, changes admins and emails and thats all.
I removed kb.php file and added fixes from this thread.
But I have question about news_rss.php file. Is this also dangerous or not. Right now I removed this file also. |
|
|
   |
 |
Choas
phpBB2.de User

Anmeldungsdatum: 14.02.2007
Beiträge: 73
|
Verfasst am:
Mo 31 März, 2008 21:12 |
  |
Did you mean in includes/kb_cat.php we must replace :
| AlleyKat hat folgendes geschrieben: |
| Code: |
$category_id = $_GET['cat'];
|
|
To this code ?
| AlleyKat hat folgendes geschrieben: |
| Code: |
| $category_id = ( isset( $HTTP_GET_VARS['cat'] ) ) ? intval ( $HTTP_GET_VARS['cat']) : intval ( $HTTP_POST_VARS['cat'] ); |
- an exploit is in the wild, so this fix should be applied immediately. |
Am I right ? |
|
|
   |
 |
AlleyKat
phpBB2.de User


Anmeldungsdatum: 06.08.2003
Beiträge: 140
|
Verfasst am:
Do 03 Apr, 2008 04:13 |
  |
Choas > That is what I wrote, and that is what I meant, yes.
spott > That is what the fix is supposed to block. |
_________________
 |
|
    |
 |
Choas
phpBB2.de User

Anmeldungsdatum: 14.02.2007
Beiträge: 73
|
Verfasst am:
Do 03 Apr, 2008 09:05 |
  |
Thanks alot
I found in PaFiledb some hackers can upload some hack tools and even enject database.
Any Idia ? |
|
|
   |
 |
jonny-b
phpBB2.de User


Anmeldungsdatum: 19.05.2004
Beiträge: 2400
Wohnort: New York City
|
Verfasst am:
Do 03 Apr, 2008 14:51 |
  |
Change your file UPLOAD permission to ADMIN or MOD's only. |
_________________ I make themes for Plus 1.53a and phpBB2.
Check out mergenine for more info. |
|
     |
 |
Latent
phpBB2.de User


Anmeldungsdatum: 01.11.2004
Beiträge: 137
|
Verfasst am:
Sa 05 Apr, 2008 08:21 |
  |
How can we chanfe our file UPLOAD permissions, on ACP? |
|
|
   |
 |
jonny-b
phpBB2.de User


Anmeldungsdatum: 19.05.2004
Beiträge: 2400
Wohnort: New York City
|
Verfasst am:
Sa 05 Apr, 2008 21:01 |
  |
ACP --> Download, Permissions --> Change permissions as needed. |
_________________ I make themes for Plus 1.53a and phpBB2.
Check out mergenine for more info. |
|
     |
 |
jonny-b
phpBB2.de User


Anmeldungsdatum: 19.05.2004
Beiträge: 2400
Wohnort: New York City
|
Verfasst am:
Do 10 Apr, 2008 15:04 |
  |
just ad's |
_________________ I make themes for Plus 1.53a and phpBB2.
Check out mergenine for more info. |
|
     |
 |
ThE KuKa
phpBB2.de User


Anmeldungsdatum: 20.07.2003
Beiträge: 10
Wohnort: Spain
|
Verfasst am:
So 20 Apr, 2008 21:27 |
  |
|
    |
 |
|
|
|
|