Vulnerabilities · 2010 · Php
CVE-2010-2094
Php vulnerability
Multiple format string vulnerabilities in the phar extension in PHP 5.3 before 5.3.2 allow 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 (1) phar_stream_flush, (2) phar_wrapper_unlink, (3) phar_parse_url, or (4) phar_wrapper_open_url functions in ext/phar/stream.c; and the (5) phar_wrapper_open_dir function in ext/phar/dirstream.c, which triggers errors in the php_stream_wrapper_log_error function.
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
- php-security.org/2010/05/14/mops-2010-024-php-phar_stream_flush-format-string-vulnerabilit · Exploit
- php-security.org/2010/05/14/mops-2010-025-php-phar_wrapper_open_dir-format-string-vulnerab · Exploit
- php-security.org/2010/05/14/mops-2010-026-php-phar_wrapper_unlink-format-string-vulnerabil · Exploit
- php-security.org/2010/05/14/mops-2010-027-php-phar_parse_url-format-string-vulnerabilities · Exploit
- php-security.org/2010/05/14/mops-2010-028-php-phar_wrapper_open_url-format-string-vulnerab · Exploit
- lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
- lists.opensuse.org/opensuse-security-announce/2010-10/msg00000.html
- www.mandriva.com/security/advisories?name=MDVSA-2011:004
- nvd.nist.gov/vuln/detail/CVE-2010-2094
- cve.org/CVERecord?id=CVE-2010-2094
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.