Vulnerabilities · 2010 · Php
CVE-2010-2950
Php vulnerability
Format string vulnerability in stream.c in the phar extension in PHP 5.3.x through 5.3.3 allows context-dependent attackers to obtain sensitive information (memory contents) and possibly execute arbitrary code via a crafted phar:// URI that is not properly handled by the phar_stream_flush function, leading to errors in the php_stream_wrapper_log_error function. NOTE: this vulnerability exists because of an incomplete fix for CVE-2010-2094.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html · Exploit
- lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- marc.info/?l=bugtraq&m=130331363227777&w=2
- php-security.org/2010/05/14/mops-2010-024-php-phar_stream_flush-format-string-vulnerabilit
- security-tracker.debian.org/tracker/CVE-2010-2950
- support.apple.com/kb/HT4581
- svn.php.net/viewvc?view=revision&revision=302565
- www.mandriva.com/security/advisories?name=MDVSA-2010:254
- nvd.nist.gov/vuln/detail/CVE-2010-2950
- cve.org/CVERecord?id=CVE-2010-2950
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.