{"id":"MSF-windows--browser--java_ws_vmargs","name":"Sun Java Web Start Plugin Command Line Argument Injection","description":"This module exploits a flaw in the Web Start component of the Sun Java Runtime Environment. The arguments passed to Java Web Start are not properly validated, allowing injection of arbitrary arguments to the JVM. By utilizing the lesser known -J option, an attacker can take advantage of the -XXaltjvm option, as discussed previously by Ruben Santamarta. This method allows an attacker to execute arbitrary code in the context of an unsuspecting browser user. In order for this module to work, it must be run as root on a server that does not serve SMB. Additionally, the target host must have the WebClient service (WebDAV Mini-Redirector) enabled.","cves":["CVE-2012-0500"],"author":"jduck","published":"2012-02-14","platform":"Windows","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/windows/browser/java_ws_vmargs.rb","path":"modules/exploits/windows/browser/java_ws_vmargs.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"java_ws_vmargs.rb","vulnerabilities":[{"id":"CVE-2012-0500","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and JavaFX 2.0.2 and earlier allows remote untrusted Java Web Start applications and untrusted Java applets to affect confidentiality, integrity, and availability via unknown vectors related to Deployment.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-0500","cvss":{"version":"2.0","baseScore":10,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-0500"},"updatedAt":"2024-08-06T18:23:31.008Z","retrievedAt":"2026-11-26T13:47:17.495Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-windows--browser--java_ws_vmargs.png?v=2","url":"https://exploitbin.com/exploits/MSF-windows--browser--java_ws_vmargs","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-windows--browser--java_ws_vmargs/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-windows--browser--java_ws_vmargs/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}