Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67635 - php-4.3.9/php-5.0.2: segmentation fault when parsing request parameters
Summary: php-4.3.9/php-5.0.2: segmentation fault when parsing request parameters
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: PHP Bugs
URL: http://bugs.php.net/bug.php?id=30442
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 03:42 UTC by Elan Ruusamäe
Modified: 2005-02-16 05:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2004-10-15 03:42:26 UTC
is gentoo affected?
i think yes, since i do not see any extra patches in ebuild.

Reproducible: Didn't try
Steps to Reproduce:
get mod_php/4.3.9
request http://yoursite/index.php?xx[][
Actual Results:  
apache child crashed with segmentation fault.
Comment 2 Thierry Carrez (RETIRED) gentoo-dev 2004-10-20 01:25:43 UTC
So basically this crashes the Apache child process that is serving your own request... Could this be exploited to starve ressources somehow and perform a denial of service attack on a web server ?

In all cases this must be fixed, but I want to be sure it can be exploited before reassigning it to security...
Comment 3 Andreas Kobara 2004-10-20 02:30:18 UTC
IMHO it's not exploitable, but should be fixed as it fills your error.log

[Wed Oct 20 11:24:12 2004] [notice] child pid 8444 exit signal Segmentation fault (11)
[Wed Oct 20 11:24:12 2004] [notice] child pid 8445 exit signal Segmentation fault (11)
[Wed Oct 20 11:24:12 2004] [notice] child pid 8446 exit signal Segmentation fault (11)

Respawning of apache childs works well, and resources/system-performance starving is minimal on this issue, as far as I could see.
I could not produce a denial of service, as other content is delivered,
without any slowdown. (Test made with 2000 requests on a P4/2GHz)

Regards,
Andy.
Comment 4 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-11-20 02:04:32 UTC
This does not seem to be a security issue. UnCC'ing security.
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-02-16 05:41:03 UTC
Fixed in PHP 4.3.10 and PHP 5.0.3.