{"id":"CVE-2007-1286","published":"2007-03-06T20:00:00Z","modified":"2024-08-07T12:50:34Z","title":"Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a…","vendor":null,"product":null,"tier":"tail","description":{"text":"Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a long string to the unserialize function, which triggers the overflow in the ZVAL reference counter.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.40895,"percentile":0.98652,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.trustix.org/errata/2007/0009/","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://www.vupen.com/english/advisories/2007/1991","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.debian.org/security/2007/dsa-1283","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://secunia.com/advisories/24606","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2007-0154.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/archive/1/466166/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/24941","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://security.gentoo.org/glsa/glsa-200703-21.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/32796","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/25062","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/2374","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/25423","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.php-security.org/MOPB/MOPB-04-2007.html","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/24419","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:087","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/24945","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2007/dsa-1282","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://issues.rpath.com/browse/RPL-1268","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/24924","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2007-0155.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/24910","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25850","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25445","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2007-0163.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11575","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securityfocus.com/bid/22765","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/25025","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.osvdb.org/32771","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:088","tags":["vendor-advisory","x_refsource_MANDRIVA"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.73},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":3,"earliest":"2007-03-01"},"metasploit":[{"name":"PHP 4 unserialize() ZVAL Reference Counter Overflow (Cookie)","module":"exploit/multi/php/php_unserialize_zval_cookie","type":"exploit","disclosureDate":"2007-03-04","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/php/php_unserialize_zval_cookie.rb"}],"first":{"date":"2007-03-01","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/9939"},"provenance":"source"},"euvd":{"id":"EUVD-2007-1283","exploited":false,"provenance":"source"},"exploits":[{"id":3396,"url":"https://www.exploit-db.com/exploits/3396","title":"PHP 4.4.4 - 'Unserialize()' ZVAL Reference Counter Overflow (PoC)","date":"2007-03-02","verified":true,"provenance":"source"},{"id":9939,"url":"https://www.exploit-db.com/exploits/9939","title":"PHP < 4.5.0 - Unserialize Overflow (Metasploit)","date":"2007-03-01","verified":true,"provenance":"source"},{"id":16310,"url":"https://www.exploit-db.com/exploits/16310","title":"PHP 4 - Unserialize() ZVAL Reference Counter Overflow (Cookie) (Metasploit)","date":"2010-09-20","verified":true,"provenance":"source"}],"lineage":{"children":[{"from":"CVE-2007-1286","to":"CVE-2007-1383","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…r overflow in the 16 bit variable reference counter in PHP 4 allows context-dependent attackers to execute arbitrary code by overflowing this counter, which causes the same variable to be destroyed twice, a related issue to CVE-2007-1286.","from":"CVE.org","in":"CVE-2007-1383"}]}]}}