Link Farm Evolution 1.8.7 Cross Site Scripting

2013.07.02
Credit: Rafay Baloch
Risk: Low
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-79

============================================================ Link Farm Evolution 1.8.7 Cross Site Scripting Vulnerability ============================================================ Description: Link Farm evolution is a wordpress premium plugin used to build backlinks. Version : 1.0 Severity : Low to Moderate Authors : Prakhar Prasad http://www.prakharprasad.com Rafay Baloch http://www.rafayhackingarticles.net Vendor : LinkFarmEvolution - http://linkfarmevolution.com/ Details: The vulnerability exists inside the zeroclipboard.swf. Multiplle calls are made to Externalinterface.call, The id parameter is an input parameter which is passed to the Externalinterface.call function wtihout being properly sanitised, hence allowing us to execute javascript. Vulnerable Code: button.addEventListener(MouseEvent.MOUSE_OVER, function(event:Event) { ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'mouseOver', null ); } ); button.addEventListener(MouseEvent.MOUSE_OUT, function(event:Event) { ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'mouseOut', null ); } ); button.addEventListener(MouseEvent.MOUSE_DOWN, function(event:Event) { ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'mouseDown', null ); } ); button.addEventListener(MouseEvent.MOUSE_UP, function(event:Event) { ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'mouseUp', null ); } ); Proof-of-Concept: Multiplle calls are made to Externalinterface.call, The id parameter is an input parameter which is passed to the Externalinterface.call function wtihout being properly sanitised, hence allowing us to execute javascript. POC: localhost/Link Farm Evolution 1.85/js/ZeroClipboard.swf#id= Solution: Any input passed through externalinterface.call function should be escaped/sanitised.

References:

http://www.prakharprasad.com


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top