6.8med

CVE-2007-1884

Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow cont…

Published 19 y ago · modified 4 mo ago · JSON

CVSS
6.8
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.2%
percentile 88%
Public exploits
0
none known

Summary

Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the php_formatted_print function because of 64 to 32 bit truncation, and bypass a check for the maximum allowable value; and (2) a width and precision of -1, which make it possible for the php_sprintf_appendstring function to place an internal buffer at an arbitrary memory location.

Exploit prediction (EPSS)

3.18% probability of exploitation in the next 30 days, higher than 88% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Technology feeds
PHP (RSS, critical only)

References

  • exchange.xforce.ibmcloud.com /vulnerabilities/33755 · vdb-entry, x_refsource_XF, x_transferred
  • vupen.com /english/advisories/2007/1991 · vdb-entry, x_refsource_VUPEN, x_transferred
  • h20000.www2.hp.com /bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 · vendor-advisory, x_refsource_HP, x_transferred
  • h20000.www2.hp.com /bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 · vendor-advisory, x_refsource_HP, x_transferred
  • osvdb.org /33955 · vdb-entry, x_refsource_OSVDB, x_transferred
  • php.net /releases/5_2_1.php · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/23219 · vdb-entry, x_refsource_BID, x_transferred
  • osvdb.org /34767 · vdb-entry, x_refsource_OSVDB, x_transferred
  • vupen.com /english/advisories/2007/2374 · vdb-entry, x_refsource_VUPEN, x_transferred
  • secunia.com /advisories/25423 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • php-security.org /MOPB/MOPB-38-2007.html · x_refsource_MISC, x_transferred
  • secunia.com /advisories/25850 · third-party-advisory, x_refsource_SECUNIA, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.