Lucene search

K
githubGitHub Advisory DatabaseGHSA-8X2V-PCG7-94F4
HistoryJun 07, 2024 - 9:49 p.m.

Zend-JSON vulnerable to XXE/XEE attacks

2024-06-0721:49:11
CWE-611
CWE-776
GitHub Advisory Database
github.com
2
zend-json
xxe
xee
php
domdocument
simplexml
xml_parse
xml external entity
xml entity expansion
denial of service

7.4 High

AI Score

Confidence

High

Numerous components utilizing PHP’s DOMDocument, SimpleXML, and xml_parse functionality are vulnerable to two types of attacks:

  • XML eXternal Entity (XXE) Injection attacks. The above mentioned extensions are insecure by default, allowing external entities to be specified by adding a specific DOCTYPE element to XML documents and strings. By exploiting this vulnerability an application may be coerced to open arbitrary files and/or TCP connections.
  • XML Entity Expansion (XEE) vectors, leading to Denial of Service vectors. XEE attacks occur when the XML DOCTYPE declaration includes XML entity definitions that contain either recursive or circular references; this leads to CPU and memory consumption, making Denial of Service exploits trivial to implement.

Affected configurations

Vulners
Node
zendframeworkzend-jsonRange<2.2.6
OR
zendframeworkzend-jsonRange<2.1.6

7.4 High

AI Score

Confidence

High