Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Strange errors that just started.  (Read 3343 times)

0 Members and 1 Guest are viewing this topic.

VinNieDaMac

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Strange errors that just started.
« on: April 18, 2005, 07:05:25 pm »

Code: [Select]
Warning: ob_start() has been disabled for security reasons in /home/www/samurailegends/samurailegends.busybits.com/include/init.inc.php on line 33

Warning: ob_start() has been disabled for security reasons in /home/www/samurailegends/samurailegends.busybits.com/index.php on line 646

Warning: Cannot modify header information - headers already sent by (output started at /home/www/samurailegends/samurailegends.busybits.com/themes/hardwired/theme.php:1246) in /home/www/samurailegends/samurailegends.busybits.com/themes/hardwired/theme.php on line 893

Warning: Cannot modify header information - headers already sent by (output started at /home/www/samurailegends/samurailegends.busybits.com/themes/hardwired/theme.php:1246) in /home/www/samurailegends/samurailegends.busybits.com/include/functions.inc.php on line 51

Thats what it says at the top, this didn't happen until this morning and I didn't change anything.

http://samurailegends.busybits.com/
Logged

VinNieDaMac

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Strange errors that just started.
« Reply #1 on: April 18, 2005, 07:06:46 pm »

Also if it's because of the host, can anyone recommend another free PHP webhost that coppermine would work on.  Thanks in advance.
Logged

krkeegan

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 53
  • ahh the life...
    • Kevin's Photos
Re: Strange errors that just started.
« Reply #2 on: April 18, 2005, 08:14:57 pm »

Hmm, I have never heard of a security hole in the buffer before.

But yeah it looks like you may want to find another host.

Does this affect your site or are the warnings just poppin up? Maybe you could remove the offending line in php?

Kevin
Logged
There are no stupid questions, only stupid people. -Mr. Mackey, South Park

maxim2112

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Strange errors that just started.
« Reply #3 on: April 18, 2005, 08:43:03 pm »

Might be related to this vunerability which was sent out to bugtraq this morning:

Quote


+-----------------------------------------+
| RST/GHC >> Coppermine << ADVISORY       |
| Product: Coppermine Photo Gallery       |
| Version: 1.3.x                          |
| URL: http://coppermine.sourceforge.net/ |
+-----------------------------------------+

[Product Description]
"Coppermine Photo Gallery is a picture gallery script. Users can upload pictures
with a web browser (thumbnails are created on the fly), rate pictures, add
comments and send e-cards. The admins can manage the galleries and batch add
pictures that have been uploaded on the server by FTP. Support for multimedia
files has been added recently" (from official site description).

[Summary]
The lack of sanitizing of user defined variables may result in undesirable
consequences such as IP spoofing or XSS attack.

[Details]
Generally users of Coppermine Gallery can post comments. Remote address &
x-forwarded-for variables are logged for admin's eyes.
X-Forwarded-for variable does not pass throu any filtration before logging into
database. User can define/redefine this variable.

Vulnerable script:  include/init.inc.php


Code: [Select]
if (isset($HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR'])) {
         $hdr_ip = stripslashes($HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR']);
} else {         
         $hdr_ip = $raw_ip;
}


User with access to comments module can spoof x-forwarded-for variable and
realize XSS attack (as example to get admin's cookie).


Logged

krkeegan

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 53
  • ahh the life...
    • Kevin's Photos
Re: Strange errors that just started.
« Reply #4 on: April 18, 2005, 10:49:56 pm »

Hadn't seen that yet. I still don't see how this relates to the output buffer?

Kevin
Logged
There are no stupid questions, only stupid people. -Mr. Mackey, South Park

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Strange errors that just started.
« Reply #5 on: April 20, 2005, 07:14:11 am »

The error
Quote
Warning: ob_start() has been disabled for security reasons in /home/www/samurailegends/samurailegends.busybits.com/include/init.inc.php on line 33

Warning: ob_start() has been disabled for security reasons in /home/www/samurailegends/samurailegends.busybits.com/index.php on line 646

Warning: Cannot modify header information - headers already sent by (output started at /home/www/samurailegends/samurailegends.busybits.com/themes/hardwired/theme.php:1246) in /home/www/samurailegends/samurailegends.busybits.com/themes/hardwired/theme.php on line 893

Warning: Cannot modify header information - headers already sent by (output started at /home/www/samurailegends/samurailegends.busybits.com/themes/hardwired/theme.php:1246) in /home/www/samurailegends/samurailegends.busybits.com/include/functions.inc.php on line 51
is not related to the bugtraq advisory. We are aware of the advisory made on bugtrack and are working on a fix that will be published soon (as a maintenance release).

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.