id: CVE-2021-27651 info: name: Pega Infinity - Authentication Bypass author: idealphase,daffainfo severity: critical description: Pega Infinity versions 8.2.1 through 8.5.2 contain an authentication bypass vulnerability because the password reset functionality for local accounts can be used to bypass local authentication checks. remediation: | Apply the necessary security patches or updates provided by Pega Infinity to mitigate the authentication bypass vulnerability (CVE-2021-27651). reference: - https://github.com/samwcyo/CVE-2021-27651-PoC/blob/main/RCE.md - https://nvd.nist.gov/vuln/detail/CVE-2021-27651 - https://collaborate.pega.com/discussion/pega-security-advisory-a21-hotfix-matrix classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2021-27651 cwe-id: CWE-287 epss-score: 0.03696 epss-percentile: 0.90691 cpe: cpe:2.3:a:pega:infinity:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: pega product: infinity tags: cve,cve2021,pega,auth-bypass http: - method: GET path: - "{{BaseURL}}/prweb/PRAuth/app/default/" cookie-reuse: true host-redirects: true max-redirects: 2 matchers-condition: and matchers: - type: dsl dsl: - compare_versions(version, '< 8.5.2', '>= 8.2.1') - type: word part: body words: - 'Pega Infinity' - type: status status: - 200 extractors: - type: regex name: version group: 1 regex: - '(?m)Pega ([0-9.]+)' internal: true - type: regex group: 1 regex: - '(?m)Pega ([0-9.]+)' # digest: 4a0a0047304502202bcbef1ef746db5535c67c6cc2f8445958d37c774958ca9b987022bceee8b3cb0221008090f831e878591452b2059ec0cf5943514366311ecc4cbb22494987c3ce4c4e:922c64590222798bb761d5b6d8e72950