Executive Summary
| Summary | |
|---|---|
| Title | php security update |
| Informations | |||
|---|---|---|---|
| Name | RHSA-2005:564 | First vendor Publication | 2005-07-07 |
| Vendor | RedHat | Last vendor Modification | 2005-07-07 |
| Severity (Vendor) | Important | Revision | 01 |
Security-Database Scoring CVSS v2
| Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P) | |||
|---|---|---|---|
| Cvss Base Score | 7.5 | Attack Range | Network |
| Cvss Impact Score | 6.4 | Attack Complexity | Low |
| Cvss Expoit Score | 10 | Authentification | None Required |
| Calculate full CVSS 2.0 Vectors scores | |||
Detail
Problem Description: Updated PHP packages that fix two security issues are now available. This update has been rated as having important security impact by the Red Hat Security Response Team. 2. Relevant releases/architectures: Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64 Red Hat Desktop version 3 - i386, x86_64 Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64 Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64 Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64 Red Hat Enterprise Linux Desktop version 4 - i386, x86_64 Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64 Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64 3. Problem description: PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Web server. A bug was discovered in the PEAR XML-RPC Server package included in PHP. If a PHP script is used which implements an XML-RPC Server using the PEAR XML-RPC package, then it is possible for a remote attacker to construct an XML-RPC request which can cause PHP to execute arbitrary PHP commands as the 'apache' user. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-1921 to this issue. When using the default SELinux "targeted" policy on Red Hat Enterprise Linux 4, the impact of this issue is reduced since the scripts executed by PHP are constrained within the httpd_sys_script_t security context. A race condition in temporary file handling was discovered in the shtool script installed by PHP. If a third-party PHP module which uses shtool was compiled as root, a local user may be able to modify arbitrary files. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-1751 to this issue. Users of PHP should upgrade to these updated packages, which contain backported fixes for these issues. 4. Solution: Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via Red Hat Network. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. 5. Bug IDs fixed (http://bugzilla.redhat.com/): 158904 - Incorrect descriptions for php-ncurses and php-gd packages 159000 - CAN-2005-1751 shtool insecure temporary file creation 162044 - CAN-2005-1921 PHP PEAR XML_RPC arbitrary code execution |
Original Source
| Url : https://rhn.redhat.com/errata/RHSA-2005-564.html |
CAPEC : Common Attack Pattern Enumeration & Classification
| id | Name |
|---|---|
| CAPEC-35 | Leverage Executable Code in Nonexecutable Files |
CWE : Common Weakness Enumeration
| id | Name |
|---|---|
| CWE-95 | Improper Sanitization of Directives in Dynamically Evaluated Code ('Eval Injection') |
OVAL Definitions
| Definition Id: oval:org.mitre.oval:def:345 | |||
| Oval ID: | oval:org.mitre.oval:def:345 | ||
| Title: | shtool Race Condition | ||
| Description: | Race condition in shtool 2.0.1 and earlier allows local users to create or modify arbitrary files via a symlink attack on the .shtool.$$ temporary file, a different vulnerability than CVE-2005-1759. | ||
| Family: | unix | Class: | vulnerability |
| Reference(s): | CVE-2005-1751 |
Version: | 1 |
| Platform(s): | Red Hat Enterprise Linux 3 |
Product(s): | php |
| Definition Synopsis: | |||
|
|||
| Definition Id: oval:org.mitre.oval:def:350 | |||
| Oval ID: | oval:org.mitre.oval:def:350 | ||
| Title: | PEAR XML_RPC PHP Code Execution Vulnerability | ||
| Description: | Eval injection vulnerability in PEAR XML_RPC 1.3.0 and earlier (aka XML-RPC or xmlrpc) and PHPXMLRPC (aka XML-RPC For PHP or php-xmlrpc) 1.1 and earlier, as used in products such as (1) WordPress, (2) Serendipity, (3) Drupal, (4) egroupware, (5) MailWatch, (6) TikiWiki, (7) phpWebSite, (8) Ampache, and others, allows remote attackers to execute arbitrary PHP code via an XML file, which is not properly sanitized before being used in an eval statement. | ||
| Family: | unix | Class: | vulnerability |
| Reference(s): | CVE-2005-1921 |
Version: | 1 |
| Platform(s): | Red Hat Enterprise Linux 3 |
Product(s): | php |
| Definition Synopsis: | |||
|
|||
| Definition Id: oval:org.mitre.oval:def:11294 | |||
| Oval ID: | oval:org.mitre.oval:def:11294 | ||
| Title: | Eval injection vulnerability in PEAR XML_RPC 1.3.0 and earlier (aka XML-RPC or xmlrpc) and PHPXMLRPC (aka XML-RPC For PHP or php-xmlrpc) 1.1 and earlier, as used in products such as (1) WordPress, (2) Serendipity, (3) Drupal, (4) egroupware, (5) MailWatch, (6) TikiWiki, (7) phpWebSite, (8) Ampache, and others, allows remote attackers to execute arbitrary PHP code via an XML file, which is not properly sanitized before being used in an eval statement. | ||
| Description: | Eval injection vulnerability in PEAR XML_RPC 1.3.0 and earlier (aka XML-RPC or xmlrpc) and PHPXMLRPC (aka XML-RPC For PHP or php-xmlrpc) 1.1 and earlier, as used in products such as (1) WordPress, (2) Serendipity, (3) Drupal, (4) egroupware, (5) MailWatch, (6) TikiWiki, (7) phpWebSite, (8) Ampache, and others, allows remote attackers to execute arbitrary PHP code via an XML file, which is not properly sanitized before being used in an eval statement. | ||
| Family: | unix | Class: | vulnerability |
| Reference(s): | CVE-2005-1921 |
Version: | 5 |
| Platform(s): | Red Hat Enterprise Linux 3 CentOS Linux 3 Red Hat Enterprise Linux 4 CentOS Linux 4 Oracle Linux 4 |
Product(s): | |
| Definition Synopsis: | |||
|
|||
CPE : Common Platform Enumeration
Open Source Vulnerability Database (OSVDB)
| id | Description |
|---|---|
| 17793 | XML-RPC for PHP (PHPXMLRPC) parseRequest() Function Arbitrary PHP Code Execution |
| 16848 | shtool Symlink Arbitrary File Manipulation |
Metasploit Database
| id | Description |
|---|---|
| 2005-06-29 | PHP XML-RPC Arbitrary Code Execution |

RHSA-2005:564
(High)
(Low)









