9.1crit

CVE-2016-5114in critical feed

sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return v…

Published 10 y ago · modified 4 mo ago · JSON

CVSS
9.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.5%
percentile 92%
Public exploits
0
none known

Summary

sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging.

Exploit prediction (EPSS)

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

CVSS scores

Assigned byVersionScoreVector
NVD3.09.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD2.06.4AV:N/AC:L/Au:N/C:P/I:N/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-125 Out-of-bounds Read
Technology feeds
PHP (RSS, critical only)

References

  • bugs.php.net /bug.php?id=70755 · x_refsource_CONFIRM, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-2750.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • php.net /ChangeLog-5.php · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2016/05/29/1 · mailing-list, x_refsource_MLIST, x_transferred
  • php.net /ChangeLog-7.php · x_refsource_CONFIRM, x_transferred
  • h20566.www2.hpe.com /portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 · x_refsource_CONFIRM, x_transferred
  • github.com /php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1 · x_refsource_CONFIRM, x_transferred
  • search-lab.hu /about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine · x_refsource_MISC, 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.