Bug 127642
| Summary: | CAN-2004-0594 PHP memory_limit issue | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Josh Bressers <bressers> | ||||||
| Component: | php | Assignee: | Joe Orton <jorton> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 3.0 | CC: | barryn, chrismcc, holger, mjc | ||||||
| Target Milestone: | --- | Keywords: | Security | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-07-19 15:23:04 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Josh Bressers
2004-07-12 01:56:44 UTC
This is going to be RHSA-2004:392 Issue description and mitigating factors:
A memory handling bug in versions of PHP 4 earlier than 4.3.8 has been
discovered by Stefan Esser. If a remote attacker can force the PHP
interpreter to allocate more memory than the "memory_limit" setting in
the PHP configuration before script execution begins, then the
attacker may be able to exploit the interpreter to execute arbitrary
code as the 'apache' user.
The remote attacker may be able to force a large memory allocation
necessary to exploit this issue if using a non-default PHP
configuration with the "register_defaults" setting changed to "On", or
if using a version of Apache httpd 2.0 which is vulnerable to CVE
CAN-2004-0493. In the default configuration, there are no known
methods for exploiting this bug.
These issues are public: CAN-2004-0595 http://security.e-matters.de/advisories/122004.html CAN-2004-0594 http://security.e-matters.de/advisories/122004.html since you are rebuilding, adding back the -devel package "would be cool". Even if it is not released to RHN, being able to 'rpm --rebuild' would work The devel package is produced by rebuilding the PHP source rpm even in the U2 package; the plan is to include it in RHN from U3 onwards. Second one is: http://security.e-matters.de/advisories/112004.html Per this URL: http://security.e-matters.de/advisories/112004.html ...the synopsis above in comment #6 isn't quite correct. It's "register_globals", not "register_defaults", if I'm reading it properly. An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2004-395.html |