Discussion Forum

Programming => Joomla Extensions => Topic started by: Franka on June 04, 2008, 10:09:40 AM



Title: URGENT - Phishing hacked into Bibtex
Post by: Franka on June 04, 2008, 10:09:40 AM
Some files have been added to the JOMBIB directory of my site after clean-up I am left with

BibTex.php
checkit.php
download.bib
errors.php
jombib.html.php
jombib.php
php.cgi.core

are these all supposed to be there, particularly that last one? which is 73Mb :-o


Title: Re: URGENT - Phishing attempt located in com_jombib
Post by: Franka on June 04, 2008, 03:55:13 PM
last file is known now.

BIBTEX has been hacked  >:(


Title: Re: URGENT - Phishing attempt located in com_jombib
Post by: Franka on June 04, 2008, 08:51:33 PM
Some 15,000 visitors hit the phishing page... with that many fools reacting to the spam  :o

There was also a virus package, no idea  if it was called by Bibtex as by the time I realised that the front end had been altered I had already disabled the files in the backend.

Identified, it was Trojan Horse PHP/BackDoor.C99shell in file bayo.php


Title: Re: URGENT - Phishing hacked into Bibtex
Post by: Mark Austin on June 04, 2008, 09:37:01 PM
OK, it looks like there is a security hole in the Joomla Bibtex component that some cheerful group are taking advantage of.  I would love to get this fixed, but I simply do not have the time at the moment and have little experience when it comes to security.  I assume it is an SQL injection problem, can anyone give me a hint as to how to close the hole?


Title: Re: URGENT - Phishing hacked into Bibtex
Post by: Franka on June 04, 2008, 10:20:37 PM
I sent you the files Mark.

There is one hack in them that you advised re paging issue, other than that they should be as supplied in 1.32b release.


Title: Re: URGENT - Phishing hacked into Bibtex
Post by: Franka on August 12, 2008, 06:01:40 PM
Everyone should update their Bibtex component files bibtex.php, jombib.html.php and jombib.php

so that the first lines read to remove a major vulnerability:

<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

remove later occurrence of
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); in one of the files.

With thanks to Hazzaa of joomlame.com


Title: Re: URGENT - Phishing hacked into Bibtex
Post by: Franka on September 27, 2008, 12:48:28 PM
I can confirm that the above change effectively fixed the SQL injection bug.

Mark - please create a updated release for this. Have you completed your thesis?