1. Archivio CVE
  2. 2013
  3. CVE-2013-0340

CVE-2013-0340

6.8 Gravità media CVSS v2.0 · fonte NVD AV:N/AC:M/Au:N/C:P/I:P/A:P 6.8 – Media

Descrizione

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apple ipados < 14.8 –
apple iphone os < 14.8 –
apple macos < 11.6 –
apple tvos < 15.0 –
apple watchos < 8.0 –
libexpat project libexpat < 2.4.0 –
python python >= 3.6.0 < 3.6.15 –
python python >= 3.7.0 < 3.7.12 –
python python >= 3.8.0 < 3.8.12 –
python python >= 3.9.0 < 3.9.7 –
Tutte le 143 vulnerabilità di Python

Tipo di vulnerabilità

CWE-611 XML External Entity (XXE): riferimenti a entità esterne non limitati

Il prodotto elabora documenti XML che possono contenere entità che puntano a risorse esterne, finendo per includere nel risultato file o contenuti che non dovrebbe raggiungere.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione, Leggere file o cartelle
Integrità Aggirare i meccanismi di protezione
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria

Come si previene

Sviluppo · Configurazione del sistema Many XML parsers and validators can be configured to disable external entity expansion.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.380 CVE di tipo CWE-611, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org