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

CVE-2013-0422

9.8 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using the public getMBeanInstantiator method in the JmxMBeanServer class to obtain a reference to a private MBeanInstantiator object, then retrieving arbitrary Class references using the findClass method, and (2) using the Reflection API with recursion in a way that bypasses a security check by the java.lang.invoke.MethodHandles.Lookup.checkSecurityManager method due to the inability of the sun.reflect.Reflection.getCallerClass method to skip frames related to the new reflection API, as exploited in the wild in January 2013, as demonstrated by Blackhole and Nuclear Pack, and a different vulnerability than CVE-2012-4681 and CVE-2012-3174. NOTE: some parties have mapped the recursive Reflection API issue to CVE-2012-3174, but CVE-2012-3174 is for a different vulnerability whose details are not public as of 20130114. CVE-2013-0422 covers both the JMX/MBean and Reflection API issues. NOTE: it was originally reported that Java 6 was also vulnerable, but the reporter has retracted this claim, stating that Java 6 is not exploitable because the relevant code is called in a way that does not bypass security checks. NOTE: as of 20130114, a reliable third party has claimed that the findClass/MBeanInstantiator vector was not fixed in Oracle Java 7 Update 11. If there is still a vulnerable condition, then a separate CVE identifier might be created for the unfixed issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 12.10 –
opensuse opensuse 12.2 –
oracle jdk 1.7.0 –
oracle jdk 1.7.0 update1 –
oracle jdk 1.7.0 update10 –
oracle jdk 1.7.0 update2 –
oracle jdk 1.7.0 update3 –
oracle jdk 1.7.0 update4 –
oracle jdk 1.7.0 update5 –
oracle jdk 1.7.0 update6 –
oracle jdk 1.7.0 update7 –
oracle jdk 1.7.0 update9 –
oracle jre 1.7.0 –
oracle jre 1.7.0 update1 –
oracle jre 1.7.0 update10 –
oracle jre 1.7.0 update2 –
oracle jre 1.7.0 update3 –
oracle jre 1.7.0 update4 –
oracle jre 1.7.0 update5 –
oracle jre 1.7.0 update6 –
oracle jre 1.7.0 update7 –
oracle jre 1.7.0 update9 –
Tutte le 816 vulnerabilità di Oracle Jdk

Tipo di vulnerabilità

CWE-284 Controllo degli accessi improprio

Il prodotto non limita, o limita in modo errato, l’accesso a una risorsa da parte di soggetti non autorizzati.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto, Ottenere privilegi o assumere un’altra identità
Quando un meccanismo di protezione non viene applicato o non funziona, un attaccante può compromettere la sicurezza del prodotto: ottenere privilegi, leggere informazioni sensibili, eseguire comandi, eludere i controlli e così via.

Come si previene

Architettura e progettazione · Esercizio Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
Architettura e progettazione · Separazione dei privilegi Suddividi il sistema in compartimenti, con aree sicure i cui confini di fiducia siano tracciati senza ambiguità. Non lasciare uscire i dati sensibili da questi confini e presta sempre attenzione quando interagisci con un compartimento esterno all’area sicura. La suddivisione va prevista già in fase di progettazione e deve favorire la separazione dei privilegi; per decidere quando usare i privilegi e quando rinunciarvi, segui il principio del privilegio minimo.

Tutte le 7.854 CVE di tipo CWE-284, con andamento e prevenzione

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