id: CVE-2021-22893 info: name: Pulse Connect Secure 9.0R3 - 9.1R11.3 - Authentication Bypass author: DhiyaneshDk severity: critical description: | Pulse Connect Secure 9.0R3/9.1R1 and higher, prior to 9.1R11.4, is vulnerable to an authentication bypass via a use-after-free vulnerability that allows a remote unauthenticated attacker to execute arbitrary code via unspecified vectors. This template identifies vulnerable builds from the unauthenticated nc_gina_ver.txt version file. impact: | Unauthenticated remote attackers can bypass authentication and execute arbitrary code on the Pulse Connect Secure gateway, leading to full compromise of the VPN appliance. remediation: | Upgrade Pulse Connect Secure to 9.1R11.4 (9.1.11.12319) or later. reference: - https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44784 - https://nvd.nist.gov/vuln/detail/CVE-2021-22893 - https://www.tenable.com/plugins/nessus/148847 - https://www.mandiant.com/resources/blog/suspected-apt-actors-leverage-bypass-techniques-pulse-secure-zero-day classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10.0 cve-id: CVE-2021-22893 epss-score: 0.88819 epss-percentile: 0.99777 cwe-id: CWE-287,CWE-416 metadata: verified: true max-request: 1 vendor: pulsesecure product: pulse_connect_secure shodan-query: title:"Pulse Connect Secure" fofa-query: title="Pulse Connect Secure" tags: cve,cve2021,pulsesecure,ivanti,vpn,auth-bypass,kev,vkev,vd,passive http: - method: GET path: - "{{BaseURL}}/dana-na/nc/nc_gina_ver.txt" host-redirects: true max-redirects: 2 matchers: - type: dsl dsl: - status_code == 200 - contains(tolower(body), 'name="productversion"') - compare_versions(version, ">= 9.0.3", "< 9.1.11.12319") condition: and extractors: - type: regex name: version part: body group: 1 regex: - '(?i)name="productversion"\s+value="([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)"' # digest: 4b0a00483046022100e7ac58b005d8d22d847b5bd0268d15f1af313f2e2c2c6a9d1648b9baa4a3b9b8022100d54ae4845d6d42fc2c326565f47869bb11734d711b78149d40f9e224747f128a:922c64590222798bb761d5b6d8e72950