Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

Gentoo Linux: High Severity GLSA 201001-03 PHP Vulnerabilities Causing RCE

gentoo
Calendar Grey January 5, 2010
Scroller Gentoo
Gentoo users must address critical vulnerabilities in PHP now. Upgrade to the latest PHP version, check configurations, and ensure external libraries are compatible
Multiple vulnerabilities were found in PHP, the worst of which leading to the remote execution of arbitrary code.

Summary

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below and the associated PHP release notes for details.

Resolution

All PHP users should upgrade to the latest version. As PHP is statically linked against a vulnerable version of the c-client library when the imap or kolab USE flag is enabled (GLSA 200911-03), usersshould upgrade net-libs/c-client beforehand: # emerge --sync # emerge --ask --oneshot --verbose ">=net-libs/c-client-2007e" # emerge --ask --oneshot --verbose ">=dev-lang/php-5.2.12"

References

[ 1 ] CVE-2008-5498 https://www.cve.org/CVERecord?id=CVE-2008-5498 [ 2 ] CVE-2008-5514 https://www.cve.org/CVERecord?id=CVE-2008-5514 [ 3 ] CVE-2008-5557 https://www.cve.org/CVERecord?id=CVE-2008-5557 [ 4 ] CVE-2008-5624 https://www.cve.org/CVERecord?id=CVE-2008-5624 [ 5 ] CVE-2008-5625 https://www.cve.org/CVERecord?id=CVE-2008-5625 [ 6 ] CVE-2008-5658 https://www.cve.org/CVERecord?id=CVE-2008-5658 [ 7 ] CVE-2008-5814 https://www.cve.org/CVERecord?id=CVE-2008-5814 [ 8 ] CVE-2008-5844 https://www.cve.org/CVERecord?id=CVE-2008-5844 [ 9 ] CVE-2008-7002 https://www.cve.org/CVERecord?id=CVE-2008-7002 [ 10 ] CVE-2009-0754 https://www.cve.org/CVERecord?id=CVE-2009-0754 [ 11 ] CVE-2009-1271 https://www.cve.org/CVERecord?id=CVE-2009-1271 [ 12 ] CVE-2009-1272 https://www.cve.org/CVERecord?id=CVE-2009-1272 [ 13 ] CVE-2009-2626 https://www.cve.org/CVERecord?id=CV...

Read the Full Advisory

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201001-03
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity: High
Title: PHP: Multiple vulnerabilities
Date: January 05, 2010
Bugs: #249875, #255121, #260576, #261192, #266125, #274670,
ID: 201001-03

Synopsis

Multiple vulnerabilities were found in PHP, the worst of which leading to the remote execution of arbitrary code.

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-lang/php < 5.2.12 >= 5.2.12

Impact

===== A context-dependent attacker could execute arbitrary code via a specially crafted string containing an HTML entity when the mbstring extension is enabled. Furthermore a remote attacker could execute arbitrary code via a specially crafted GD graphics file. A remote attacker could also cause a Denial of Service via a malformed string passed to the json_decode() function, via a specially crafted ZIP file passed to the php_zip_make_relative_path() function, via a malformed JPEG image passed to the exif_read_data() function, or via temporary file exhaustion. It is also possible for an attacker to spoof certificates, bypass various safe_mode and open_basedir restrictions when certain criteria are met, perform Cross-site scripting attacks, more easily perform SQL injection attacks, manipulate settings of other virtual hosts on the same server via a malicious .htaccess entry when running on Apache, disclose memory portions, and write arbitrary files via a specially crafted ZIP archive. Some vulnerabilities with unknown impact and attack vectors have been reported as well.

Workaround

There is no known workaround at this time.