store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Wed May 22, 2013 1:49 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 29 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
Unread postPosted: Wed Dec 17, 2008 9:42 pm 
Offline
Forum User
Forum User

Joined: Fri Dec 12, 2008 2:59 pm
Posts: 14
Nothing worked...

Still have three that I need to pass.

TCP Port 8443 - OpenSSL which is older than 0.9.6m or 0.9.7d
TCP Port 8443 - The remote service accepts connections encrypted using SSL 2.0

TCP Port 80 - Apache Tomcat (prior to 3.3.1a) is prone to a directory listing


Port blocking / changing didn't work, 8443 still responds as a Plesk panel.

Any suggestions?


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Dec 18, 2008 9:57 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
You're assuming that those 3 vulnerabilities are actually true, which odds are high they arent if you're up to date with the latest packages from the vendor.


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Dec 19, 2008 12:29 am 
Offline
Forum User
Forum User

Joined: Fri Dec 12, 2008 2:59 pm
Posts: 14
I'm using the art channel. Stat's that everything is up-to-date.

I think I'm down to one issue now, the so called tomcat one that got added when I ran the yum update using the art channel.

We believe we figured out disabling plesk and keeping everything online that is needed during the scan. (Can no longer access the control panel via 8443 / 8800, load's as page cannot be found when I issue the "service psa stop" command!!!)


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Dec 29, 2008 9:46 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
So it looks like there is still an unresolved bug in PHP 5.2.8/5.2.9-dev that results in a very bad memory leak. The first one was in strtotime(), which I was able to fix, the other one is unknown at this time. I'm still digging through the php bug list and snapshots to sort it out.


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jan 04, 2009 10:45 pm 
Offline
Forum Regular
Forum Regular

Joined: Thu Oct 26, 2006 11:56 pm
Posts: 665
Scott,

Checkout fedora koji as Remi just built php-5.2.8 for F10 and F9.

I took the 10 srpm and rpmbuilt a f8 version and put it on.

The intermittent segfaults are now gone completely!

Also you can make a F10 php now.

Cheers,


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jan 04, 2009 11:38 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
Thats the one I used, and it had at least 2 separate memory leak issues. One was resolved in the -dev (pre-5.2.9) tree. The latter takes a few days to manifest on my systems here and is not related to the strtotime() leak.

The following is some test code to show the strtotime leak.

Code:
<?php

// Run with the PHP CLI on the Linux shell...
// WARNING: If this bug affects you as well, your machine
// might start swapping within just a few seconds!

while (true)
    strtotime('2008-12-16 19:48:27');

?>


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jan 11, 2009 4:02 pm 
Offline
Forum User
Forum User

Joined: Fri Dec 14, 2007 11:35 am
Posts: 40
Hello,

This memory leak is killing me, once a day! Server freezes and can be resolved only by a Reboot from the serial console.

Scot, what would be the best approach until it has been eradicated? Could I downgrade to 5.2.7? Are the packages still available somewhere in your repositories for CentOS 5.2?

Regards,
Adrian


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jan 11, 2009 8:15 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Oct 29, 2007 6:51 pm
Posts: 606
This was fixed in their 5.2.8-3 build I believe - at least the strtotime part.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 13, 2009 1:06 am 
Offline
Forum User
Forum User

Joined: Fri Dec 12, 2008 2:59 pm
Posts: 14
Quote:
I think I'm down to one issue now, the so called tomcat one that got added when I ran the yum update using the art channel.


I think I "might" have it figured out.

When I just ran the httpd -M command I noticed that it was running the module " proxy_ajp_module (shared)" so I went into the conf.d folder and found a module load file for it and commented out every line. Now when I run httpd -M it does not display this module.

I hope this is the issue, it's running a PCI compliance scan now.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 13, 2009 2:47 am 
Offline
Forum User
Forum User

Joined: Fri Dec 12, 2008 2:59 pm
Posts: 14
Nope, still says its using Tomcat...

SecurityMetrics support is useless, they wont even answer a general false positive request, let alone any question.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 13, 2009 9:35 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
Thanks for following up at least! I actually make more notes on the things that don't work for me when I'm debugging than the things that do. Have you looked for all the installed tomcat packages (rpm -qa) and tried removing them?

In regard to PCI compliance testers... if they're not doing local checks you're always going to have high rates of false positives like that. It has to do with the limited way they use their (otherwise fantastic) vulnerability scanners.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 13, 2009 12:50 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 10, 2006 12:55 pm
Posts: 656
So 5.2.8-3 is stable enough for production now?


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 13, 2009 12:50 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Oct 29, 2007 6:51 pm
Posts: 606
I'm using it in production, no major problems but I do see some segfaults every so often although not sure why exactly.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 13, 2009 5:36 pm 
Offline
Forum User
Forum User

Joined: Fri Dec 12, 2008 2:59 pm
Posts: 14
scott wrote:
Thanks for following up at least! I actually make more notes on the things that don't work for me when I'm debugging than the things that do. Have you looked for all the installed tomcat packages (rpm -qa) and tried removing them?

In regard to PCI compliance testers... if they're not doing local checks you're always going to have high rates of false positives like that. It has to do with the limited way they use their (otherwise fantastic) vulnerability scanners.


-bash-3.2# locate tomc
/usr/local/psa/admin/bin/tomcatmng
/usr/local/psa/admin/plib/tomcatmng.php
/usr/local/psa/admin/plib/api-cli/tomcat.php
/usr/local/psa/admin/sbin/tomcatmng
/usr/local/psa/bin/tomcat
/usr/local/psa/bin/tomcat.sh
/usr/local/psa/etc/logrotate.d/tomcat
/usr/local/psa/etc/service/tomcat.xml
/usr/local/psa/etc/service/stdmode/tomcat.xml
/usr/local/psa/etc/service/vzmode/tomcat.xml

-bash-3.2# rpm -qa | grep tomc
-bash-3.2#


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 29 posts ]  Go to page Previous  1, 2

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group